Even this question is off-topic, you can use WordPress dedicated functions to retrieve all event custom fields and display them in your template or use it in your script.
You can have a look to WP_Query to retrieve events post-type and get_post_meta() for any custom field. Of course you can also use dedicated function create by the plugin, but it’s off-topic.
$args = array('post_type'=>'event', 'post_status'=>'publish', 'posts_per_page'=>-1);
$event_query = new WP_Query($args);
if ( $the_query->have_posts() ) {
echo '<ul>';
while ( $the_query->have_posts() ) {
$the_query->the_post();
echo get_post_meta($post->ID, 'event_start_date', true);
echo get_post_meta($post->ID, 'event_end_date', true);
echo '<li>' . get_the_title() . '</li>';
}
echo '</ul>';
/* Restore original Post Data */
wp_reset_postdata();
} else {
// no posts found
}
Hope it helps!
Related Posts:
- Best collection of code for your 'functions.php' file [closed]
- Tips for using WordPress as a CMS? [closed]
- Updates for a private plugin?
- Unable to check if plugin is active
- How to upload image with simple form?
- Making plugin unique to not conflict with plugins with the same name
- How to store ACF custom fields data in a custom table
- How to get posts by content?
- Too many variations in WooCommerce
- Trying to disable plugins doens’t work
- WordPress plugin DB upgrade
- How is the ” wp_get_update_data ” function used?
- woocommerce hook publish product
- Plugins won’t update when WordPress says they’re updated
- WordPress multiple widget in single plugin
- Layout shop page: resize images and columns
- Invalid shipping method, WooCommerce [closed]
- How to integrate plugin in WordPress theme
- WordPress with Git deployment issues
- Creating Tables on Network Activation
- CMB2 installation – cannot get it to work
- Show history of post revisions on front end
- How to pull code snippet from functionality plugin?
- Plugin shortcodes not working in custom theme
- Best approach to fetch data from wp options to js file or php file
- Do widget options need to be escaped widget()?
- Is there any W3C compatible Share & Follow plugin?
- What plugin should I use for booking events and receiving payments? [closed]
- Creating an online questionnaire form – by Importing the questions from a spreadsheet?
- Plug-in Conflict: Art Direction and Super Cache
- WordPress Shortcode to get URL Parameters $_GET[‘name’] redirects for no reason at all
- The Events Calendar and Easy Digital Downloads adding customer notes to Attendee export
- Modifying a .js Function for Print [QZ Tray, WooCommerce POS]
- How does task scheduler plugin implements cron that is not dependent on page load request? [closed]
- Enabling WP_USE_EXT_MYSQL to support old plugin
- Can I load the textdomain before a plugin is activated?
- How can I position ShareThis buttons manually when using the plug-in? [closed]
- Does WP delete deprecated plugin/theme files on plugin/theme upgrade?
- How can I remove the WordPress-Version (?ver=5.x) from my plugin
- How to check if a taxonomy not exists in a plugin
- Settings API saved values not getting shown in the dropdownbox
- wordpress add_action() issue in ajax call
- Turning on output buffering in a wordpress plugin
- Is there a plugin for uploading files such as PDF files?
- Register google jquery gets overwritten by plugin
- How to handle forms from sidebar widgets – Processing $_POST variables using get_field_name()
- Location dependent rendering of locations? [closed]
- get_comments_number() giving wrong results! What are alternatives?
- $pages = get_pages(‘child_of=’.$post->ID); Why arguments are concatenated?
- Set up functions to be overridden without using function_exists() by short-circuiting them?
- Unable to give correct path in wordpress
- Disable variations on woo commerce if out of stock
- Add wordpress user database on android app
- Grab ID from post from plugin and use it to create an object
- Enqueue script: link not working in page source
- How to add img into a plugin?
- Help with a function in a widget
- Is wp_deregister_script the best way to deal with unneeded plugins in a page?
- PHP mobile redirect Endless loop
- Error: Can´t access facebook comment plugin admin page
- Is there a way to keep youtube videos from displaying on home page, and display only on single posts?
- Cache plugin for medium traffic news blog
- Deregistering and registering javascript breaks plugin
- how to convert XML from URL to HTML
- i want to rewrite my custom plugin url
- [Plugin: WordPress.com Stats] Javascript not being added to footer
- Strange Cached File in Super Cache
- Wp-minify doesn’t seem to minify my JS code
- eaccelerator PHP error
- How to hide plugin submenu title in drop down in admin panel in wordpress?
- Best approach to make all tags searchable by the wordpress search function
- Fail on admin_enqueue_scripts when I try it to upload a CSS file to my WordPress Plugin
- Post source link plugin – small modification
- Can we hide a certain user in WP?
- Configure upload folder on WoComerce
- Hooking into the HTML header container
- Problem Advanced Custom Fields PRO
- Block plugin update possibilities (but not by hiding notifications)
- Execute function activate/deactivate plugin in specific pages
- Why can I not deregister my style and script on custom post type?
- Using multi-dimensional array with filter
- PHP header() not available to use in my plugin
- WordPress doesn’t save a post revision when changing CMB2 custom fields
- database – multiple wordpress installations using same database – can they share plugin settings?
- Displaying friend’s posts only
- Display dashboard other than admin user
- Creating themes using the one Plugin (Toolkit)
- WordPress Categories from Plugin
- How change menu for each user in plugin?
- Check if user is in a group of another site within multisite network [closed]
- Synch Custom Post Types (and Custom Fields, Cats, etc.) Between WordPress Sites
- Facebook meta tags not working properly on WordPress Site
- is there a plugin that allow editing pages from within pages without entering admin panel?
- Site is setup statically – how to make it content managable?
- Modifying lightbox plugin to allow for quoting, Does this exist? [closed]
- How to escape html code?
- Multiple Post Thumbnails Not Returning URL for Background Image
- Shortcode to do math with url variables
- Is there any WordPress Plugin that provides video editing from front end side? [closed]
- Disappearing plugins