[Resolved] Call current Location/event ID in shortcode.
Hi, I want to call all the next events for my locations by editing my actual page template file.
Unfortunately I have already edited the #LOCATIONALLEVENTS placeholders to show thumbnails instead of a simple list. Because that placeholder is used to show an image and I also want a worded list version. I tried to use the short-code ‘Events_list’ and place it in my php page.
My issue is that it Calls ALL events, and since i am putting it on a Locations page template I cannot set the location Id (one of your search Attributes) within the short-code because it will always change depending on the location being viewed.
Hereswat I tried..
[events_list limit=”10″ location=”id”]
I assumed that the above short-code would work but it didn’t :(.
I have looked through the documentation but the examples do not help me to understand clearly.
- The topic ‘[Resolved] Call current Location/event ID in shortcode.’ is closed to new replies.