Events Manager
[resolved] Calling the_content() from single-event.php with custom placeholders (2 posts)

  1. jbx
    Posted 3 years ago #

    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?


  2. jbx
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic