Sidebar not showing on my events page

WordPress Event Management, Calendars & Registration Forums General Question Sidebar not showing on my events page

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 5 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32983

    Hello.

    I can’t get the sidebar to show on my events page.

    In the arhive-event.php page I can see it being called <?php get_sidebar(); ?> but nothing appears on my site: https://honeststrategy.com/agenda/

    How can I make it appear?

    Héctor de Prada Gonzalez
    #33246

    Hi Héctor,

    Have you double checked that the template in question is actually being used? If so, I can’t see any reason why the sidebar wouldn’t be loaded, but the behaviour is largely theme dependent. Just to confirm – you’re referring to the ‘all events’ page?

    (The template in question should be archive-event.php not arhive-event.php – but I’m fairly sure that was just a typo in your original post, and not a typo in the filename).

    Stephen Harris
    #33315

    Hello Stephen.

    Yes, it was a typo. The template being used is the one from the plugin since I haven’t created any other template in my theme folder. And I have the Enable theme compatibility mode (default) option checked on the plugin configuration.

    Should I change that?

    Thanks

    Héctor de Prada Gonzalez
    #33421

    Ah, so if theme compatibilty is enabled then archive-event.php is not used, instead the plugin uses the page.php template and injects the events into the content.

    My recommendation would be to copy the templates into your theme and then edit according to your theme. You could disable theme-compatibility, but that would just revert to using the plug-in’s templates, which might not work with your theme (without you making changes to them).

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.