Sidebar for events list and single event not controlable

Home Forums Calendar Products Events Calendar PRO Sidebar for events list and single event not controlable

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #194622
    digitaliway
    Participant

    I would like to turnoff the right sidebar for the event list page and the single event page but I cannot find where to do this. what is the process for doing this?

    #198578
    Brook
    Participant

    Howdy digitaliway,

    While I can not see your site, I believe that sidebar is actually added by your theme, not our plugin. If your theme has a Template with the sidebar removed, you might be able to turn this off easily. If not, you will have to modify your theme.

    The easy way: Going into WP Admin > Events > Settings > Display, and changing “Events template” to one of your other theme’s templates. Test each and see if one of them looks right.

    If that did not work, the hard way: Modify your theme. Usually this is best done by creating a WP Child Theme. Find the where the sidebar is being added in the code, and then wrap it in a PHP conditional like: if(!tribe_is_event()){..}

    A full list of tribe_is_ functions can be obtained from our documentation: http://docs.tri.be/

    Does that make sense? Will that work for you? Please let me know. Cheers!

    – Brook

    #200909
    digitaliway
    Participant

    thank you Brook, I was able to remove the sidebar using a function/filter. I found the template option in the settings and I will also be experimenting with that as well.

    #211386
    Brook
    Participant

    You are welcome Digital Way! Please open a new topic if you need anything else. Cheers! – Brook

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Sidebar for events list and single event not controlable’ is closed to new replies.