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:
- Passing a parameter to filter and action functions
- Do deactivated plugins slow down a WordPress site?
- Update plugin from personal API
- Enabling free shipping on Woo Commerce by specific items [closed]
- Symlinked plugin directory doesn’t appear in Admin
- How to install plugins in individual sites on a wordpress network?
- Get Latest Plugin Version from WP API
- WordPress apply_filters() Arguments Missing
- How to hide /wp-content/uploads/ from URL?
- Add image to post from external URL
- How do I change the description of the same image which is to be found in multiple instances?
- WordPress plugin search does not work and updates are not shown, VPS install
- How to get all attachment image from post ?? WordPress
- Gutenberg: Difference between “import” and “const” for dependencies
- How to avoid redefining requirejs in plugin when another plugin also uses requirejs
- plugin_action_links_{$plugin_file} hook not in the main plugin file
- Review plugin with rating of post [closed]
- Should I host support forum on wordpress.org or my own website?
- Displaying Gravity Form data on WordPress page [closed]
- Displaying a Welcome Message to a Woocommerce User
- How use %like% in sql statement wordpress
- Can I use a form in a dashboard widget?
- Is it possible to insert images directly from the server?
- “Members only” section of a WordPress site – self signup and no backend access
- Plugin and theme script load order
- Read text defined under __()
- Plugin Customization Lost During Plugin Upgates
- Plugin activation hook in an abstract class
- How to import featured image using WP Rest API from another WP installation
- Shortcode button dosent work for all posts. Work for first post only
- How to make wp_enqueue_style and wp_enqueue_script work only on custom post type
- Single central login for front end users from any site
- Plugin stable tag on wordpress.org not updating
- Plugin Handle URL With Custom Theme
- how to disable blockrenderAppender inside all Innerblocks?
- Can I use custom CSS and js plugin to put JavaScript in to validate my forms
- auto populate list of questions if user select a category xyz
- Change commission_status paid when withdraw_status vendor is completed
- WordPress Plugin [closed]
- Grab WordPress Salt Data From URL
- Unable to get WP_DEBUG, WP_DEBUG_DISPLAY, WP_DEBUG_LOG to work
- Cannot update user display_name field
- Getting a “Warning: call_user_func_array()” error whenever I install/update a plugin
- Integrating jQuery Datatables with Editor into wordpress admin
- Preventing My Plugin From Being Used For Free
- Remove_action from plugin with a Class
- Shortcode not getting replaced
- How do I override plugin templates and stylesheets?
- WordPress plugin to auto execute php script on a specific time?
- WordPress Related Plugin – only show when related content
- How to import WordPress site to new WordPress site?
- Why does this code snippet create a critical error on my site? [closed]
- How to manipulate the content within wp_head
- Admin page button create new
- Restore with Duplicator, URL is concatenated twice
- Installing plug ins on a wordpress hosted site
- How do I link an image in my plugin so it displays on WordPress?
- Using conditional staements to load plugins
- Cannot access empty property error in Advanced Access Manager
- How to get the get the select values created by ACF plugin in wordpress
- Calendar for irregular recurring events [closed]
- Using plugin_dir_path() with WordPress on MAMP
- Looking for a photo gallery plugin [closed]
- Get Page URI for QR Code PHP [closed]
- How do I allow users to supply a photo/image to be used instead of the grey/white silhouette?
- How to prepare (compress/zip) a plugin to enable updating instead of adding new instance?
- WordPress website will not show menu on a Mobile Device
- WC Fix Attributes – ‘Add New’ Not Searchable/Delayed
- WordPress Standard Fix Errors
- How to dynamically add template in Innerblock?
- any word search WordPress
- Include my files in a plugin? [duplicate]
- Some Widgets in the Right Side Bar and the whole Footer section is not working in a WordPress Site
- Swap picture in slider plugin
- how can I edit the HTML of yith ajax product filter
- Contact Form 7 – Make a selection unavailable after a number of bookings
- Slider with two images at a time
- WP-CLI plugin delete command fails silently
- Frontend is empty wordpress
- Help with customising love it plugin (use within foreach)
- Best approach to serve static content within a regular page
- Javascript in plugin not working
- Theme editor removes backslashes
- Images not showing on homepage after migration [duplicate]
- Widget Script Loads at Bottom of Page
- import a latest vimeo user video into a page
- Create user assessment and use results in sql query
- Plugin Hook: Get posts
- auto create blog posts depending on list
- making a glossary with wordpress
- Add jQuery in dashboard when is already added in main plugin page
- WordPress multisite haml templates
- Developing a Site Like AllTop.COM – RSS Reading Problem
- Display Custom Post Type and Custom Taxonomy Data on Front End Using Only a Plugin
- redirect to custom php template in wordpress plugin directory
- Why plugin’s icon for the menu not found?
- prevent contact form 7 from submission on certain condition
- How can I send api calls from my plugin?
- Automatically install bundled plugins during theme activation?
- Webpack configuration for multiblock plugins behaves unexpectedly