How to use placeholders in events-list.php please ?
-
Hello,
I would like to customize the events list that’s why I have created a file events-list.php in my child template (wp-content/themes/extra-child/plugins/events-manager/templates/events-list.php).
The problem is that I don’t know how to display the placeholders. I use this code but nothing shows up :
<?php echo $EM_Event->output('#_EVENTNAME');?>
It works well in wp-content/themes/extra-child/single-event.php so I tried to create an archive-event.php page but it does not work too. No idea why but the file does not override event-single.php.
I tried this 8 years old code found on Git but it does not work too, I get a blank page. : https://github.com/occupynet/groups.occupy.net/blob/master/wp-content/themes/wp-foundation/plugins/events-manager/templates/event-single.php
Please can someone explain me how to use these placeholders because they obviously do not work as explained in the doc or show me an example of code that works in events-list.php ?
Thank you very much.
Kind regards
- The topic ‘How to use placeholders in events-list.php please ?’ is closed to new replies.