Pulling Event Date
-
Hello,
I’m using wp bakery to create a grid with events. In this case i’ve created a shortcode which should be pulling the event date, not the publication date.
function eventdates(){ echo get_post_meta( get_the_ID(), ‘mec_start_date’, true ); } add_shortcode('eventingdate', 'eventdates');
I’ve create everything so far, but nothing seems to work.
Only get_the_date() functions works and it shows the publication date.
- The topic ‘Pulling Event Date’ is closed to new replies.