Event Sidebar Glitch Below Event

Home Forums Calendar Products Events Calendar PRO Event Sidebar Glitch Below Event

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17864
    maggew.com
    Participant

    Please visit http://paintatreasure.net/events. It appears as if the “default” WP sidebar is being loaded below each event? May you please help me patch this up. I triple-checked widgets too. There is no sidebar with search, pages, archive, categories. The default 2010 / 2011 themes have been removed.

    I’ve been digging around with FireBug and noticed a role=”complementary” sidebar – huh?

    Thanks for your attention.

    #17869
    maggew.com
    Participant

    *bump

    #17874
    Jonah
    Participant

    Hi there, depending on what theme you are using there are a few options for doing this. Ultimately you’ll need to either conditionally remove the sidebar in your theme code in which you’ll need to dig into PHP/HTML a bit.

    On the PHP/HTML side you’ll want to figure out what you are using for the Events Template which is set in Settings > The Events Calendar > Template. If you are using the Default Events Template you’ll want to modify /wp-content/plugins/the-events-calendar/views/ecp-page-template.php – make a copy and place in an ‘events’ folder in your theme. Then, you can either remove the sidebar function call altogether in that file or conditionally remove it depending on what events page you are on. Here is some conditional code to help you with that:

    if( tribe_is_event() && !tribe_is_day() && !is_single() ) { //Events List Page

    } elseif( tribe_is_event() && is_single() ) { //Single Events Page

    } elseif( tribe_is_day() ) { //Single Event Day Page

    } elseif( tribe_is_venue() ) { //Single Venue Page

    }

    You can just make the sidebar function call in whatever condition where you want a sidebar to display.

    You may need to get a developer to help you with this though… I hope that helps.

    #17943
    maggew.com
    Participant

    Switching template from “Event Template” to “Page Template” appears to have been a swift fix. “Template Tab” was the key to our victory.

    Thanks for the advice plus wisdom.

    #17949
    Jonah
    Participant

    Glad that worked, let us know if you need anything else with this!

    #976506
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Event Sidebar Glitch Below Event’ is closed to new replies.