Support » Plugin: Event Organiser » Sidebar Template Bug

  • Resolved Azhure


    This plugin did everything I wanted it to do, except for one thing: it wouldn’t properly load the sidebar template. No matter what we did, or what fixes we tried, it didn’t fix loading the sidebar template properly. None of the solutions or suggestions I found while Googling or searching the support forums actually worked. Copying the templates to the theme’s directory didn’t work. Copying the raw code for the index template into the single-events.php didn’t work.

    Running the TwentyEleven theme on my site, with the sidebar, where we have put all of our widgets extra information. We always run the sidebar template for all of our pages. <– this is the events page, with the sidebar called in PHP above the footer line in the single-events.php file. It does not play nice no matter where I put it because it would appear that the template doesn’t have a spot for it in its table. The check box for enabling templates is checked.

    Not sure how to fix this, I’d appreciate some comments. I don’t have an extensive knowledge of CSS or PHP, and was looking for a plugin to manage this. This plugin would be amazing, if I could just get it to display the sidebar properly in pages it generated.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, sorry you’re having trouble with this.

    Just to clarify a few things. Moving the templates to the theme folder only ensures that changes are not lost when updating EO, so that alone won’t solve the issue. index.php is the wrong template to try and replace the single-event.php. The closest template to single-event.php is single.php.

    Taking a quick glance at the CSS between this page, and this event you can see that the elements: #prmiary and #content are styled different only ‘singular’ pages:

    .singular #primary {
    margin: 0;


    .singular #content, .left-sidebar.singular #content {
    margin: 0 7.6%;
    position: relative;
    width: auto;

    Removing that seems to work – but might break something else. You can also add further CSS to over-ride the above on event pages if there necessary


    .singular.single-event #content{

    Hope that helps!



    Removing both of those code snippets from the CSS worked fine. It fixed the whole matter, and now the singular event is loading the sidebar.

    Thank you for your prompt reply! (And for dealing with my noobishness. I’m not a coder, obviously.)

    I’m going to <3 using your plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar Template Bug’ is closed to new replies.