Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Shortcode in repeater

$
0
0

Replies: 0

I’m running into an issue using ALM repeater template with Events Manager plugin.
I’m using the following code in the repeater to output the event date
<?php echo do_shortcode('[event]#_{l, F jS} | #_12HSTARTTIME[/event]');?>

Problem I’m having is that if I output 3 events at a time, all 3 have the date of the first event. When I hit load more, the next 3 events have the start date of the first event in that group. If I change to 1 event at a time and hit load more it loads the correct date every time so it seems like its not resetting that post data in the loops.

Ideas?


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>