Hello, I have the same question here, but instead the post publication date I would like to show the events manager dates.
(#_EVENTDATES)
https://ww.wp.xz.cn/plugins/events-manager/
That should be great!
Sorry for my poor english
Thanks!
OK… I did it!
in the file wp-content/plugins/advanced-post-slider/advanced-post-slider.php
near line 1141 find this
<?php the_title();?>
Below this I added:
<?php
global $post;
$EM_Event = em_get_event($post->ID, ‘post_id’);
echo $EM_Event->output(‘#_EVENTDATES’);
?>
And now I’m showing the Events Dates in the slider, this works with Events Manager Plugin.
http://ww.wp.xz.cn/plugins/events-manager/
Regards
Update: added back return and color
`<?php
global $post;
$EM_Event = em_get_event($post->ID, ‘post_id’);
echo “<div style=’color:#000 !important’>”;
echo “<p>”.$EM_Event->output(‘#_EVENTDATES’).”</p>”;
echo “</div>”;
?>