Support » Plugin: Events Manager » Calling the_content() from single-event.php with custom placeholders

  • Resolved jbx


    I have my own single-event.php in my template which shows the event details using the placeholders (following some advice here). However I have now noticed that since I am not actually calling the_content(), some other plugins which hook onto this are not working properly.

    If on the other hand I call the_content() the event details are displayed twice on the same page, once in my style and once in the style that comes by default. Is there any way I can call the_content() and have my style in the output?

Viewing 1 replies (of 1 total)
  • Fixed by just putting the_content() in single-event.php and moving all the Event template placeholders to event-single.php under /plugins/event-manager/templates

    So do not follow the advice in the URL I mentioned above when customising your Events Manager Single Events template or you risk running into the problems above.

Viewing 1 replies (of 1 total)
  • The topic ‘Calling the_content() from single-event.php with custom placeholders’ is closed to new replies.