Menu and sidebar missing on category pages

Home Forums Calendar Products Events Calendar PRO Menu and sidebar missing on category pages

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20696
    leviticus
    Participant

    I’m having an odd issue after the most recent upgrade to Events Calendar Pro and WordPress 3.4. On my main calendar and category pages my menus and sidebars that are querying regular posts are missing. The titles are also missing in the category views that don’t have upcoming events:
    http://74.54.77.210/~nwmn/?tribe_events_cat=travel (has upcoming events)
    http://74.54.77.210/~nwmn/?tribe_events_cat=synod-assembly-event (no upcoming events)
    http://74.54.77.210/~nwmn/?post_type=tribe_events&eventDisplay=month

    The menus and sidebars display properly on single event posts:
    http://74.54.77.210/~nwmn/?tribe_events=scandinavian-church-services-at-stave-church

    So I’m guessing there is a conflict in my code somewhere?

    Another unrelated issue: My calendar keeps defaulting to list view even after I have it set to grid/calendar view in the preferences. Thoughts?

    #20745
    Jonah
    Participant

    Hi Genesis,

    Depending on what you are using for the Events Template in Settings > The Events Calendar > Template, you’re going to need to adjust some thing in that template. If using the “Default Events Template” the plugin will use /wp-content/plugins/the-events-calendar/views/ecp-page-template.php for the Events List, Calendar and Category pages and /wp-content/plugins/the-events-calendar/views/ecp-single-template.php for single events. To edit either of those files, make copies and place in an ‘events’ folder in your theme. If using anything else besides the “Default Events Template”, you’re going to want to edit one of your theme page templates.

    What’ll you’ll need to do for the sidebars is use this conditional code (https://gist.github.com/2415009) to set what sidebars are being used in your event related pages. Same for the page titles.

    On the defaulting to list issue, try setting your permalinks to Postname.

    I hope that helps! Let me know if you have any other questions or need more help with this.

    Cheers,
    – Jonah

    #20801
    leviticus
    Participant

    I am using the Default Page Template and that was showing my menus before the update. Even if I switch the template to the Default Events Template, my menus don’t show up on the main calendar page or the category pages. I even tried deleting the customizations I did to the /events/ files on my theme, but that didn’t solve it either.

    With my current conditionals, it seems the proper header/footer/sidebar files are being called (ie:you can see the “News” banner on the pages), but some of the content in them is missing (ie: the article queries and dynamic menu calls). The exception to this is on the main calendar page the footer is missing entirely.

    I can send you my template files if that will help me explain the trouble. I’m at a bit of a loss.

    #20802
    Jonah
    Participant

    Hi Genesis,

    No guarantees I can completely help you with this but if you send me some template files I’ll see what I can do. Please email to pro [at] tri [dot] be and reference this thread.

    Thanks,
    Jonah

    #20859
    leviticus
    Participant

    Thanks, I just sent the files.

    #20965
    Jonah
    Participant

    Hi Genesis,

    Unfortunately this is a bit too complex of an issue for us to be able to troubleshoot or help with. I took a look at the theme but there’s so much going on it’s hard to say what the problem could be without spending a lot of time turning things on and off. One thing, have you tried setting your permalinks to Postname in Settings > Permalinks? Other than that there is probably something in your theme that is throwing things off. My suggestion would be to start stripping things out of the theme until you can get the menus or sidebars back on event related pages.

    Good luck!

    – Jonah

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Menu and sidebar missing on category pages’ is closed to new replies.