[Plugin: Events Manager] Recurring events url
-
I’m using the events_list shortcode to create a category page for events. It looks like this:
[events_list category="435" limit="10" pagination="1" recurring="1" format="<div class='mosaic-block bar'><a href='#_EVENTURL' class='mosaic-overlay'><div class='details'><h3>#_NAME</h3><div class='programa-date'>#M #j @ #g:#i #A</div><p class='detailed'>#_EXCERPT</p></div></a><div class='mosaic-backdrop'><a href='#_EVENTURL'>#_EVENTIMAGE{286,286}</a></div></div>"]
When there are recurring events I only want one of each recurring event to show up. That is why I am using the recurring=”1″ parameter. It seems to work almost fine except that the #_EVENT_URL placeholder seems to change its function when using the recurring parameter.
When I don’t use the recurring parameter, all the events show and each link goes to it respective page. When I do use the recurring parameter, only one of each recurring event shows, but the link becomes broken.
Without the recurring parameter the links look like this:
https://www.mywebsite.com/events/test-recur-2012-02-02/With the recurring parameter the links look like this:
https://www.mywebsite.com/events-recurring/test-recur/When events-recurring is in the url, the link breaks. It would be better if the links looked like this:
https://www.mywebsite.com/events/test-recur/Because, then it just takes you to the earliest event. The url changes to:
https://www.mywebsite.com/events/test-recur-2012-02-02/How do I fix it?
- The topic ‘[Plugin: Events Manager] Recurring events url’ is closed to new replies.