• Resolved Aurore

    (@aurore888)


    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

Viewing 1 replies (of 1 total)
  • timrv

    (@timrv)

    Hello,

    Sorry for the very late response. As of now, Custom Coding is outside our support scope, Thus We could only help in a very limited way here.

    If you’re using the code and it’s showing a BLANK or it just prints the placeholder word. The issue is probably:

    1. If it’s blank, Check error logs from your Server
    2. If it only prints the word only, This means that the template you’re using is not accepting the placeholders. Usually placeholders works only when they are inside an Events Manager Loop.

Viewing 1 replies (of 1 total)
  • The topic ‘How to use placeholders in events-list.php please ?’ is closed to new replies.