Site's default sidebar doesn't appear on /event/ or /events/ pages

Home Forums Calendar Products Events Calendar PRO Site's default sidebar doesn't appear on /event/ or /events/ pages

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1112698
    Eric
    Participant

    ​Hi there –

    My site’s default sidebar doesn’t appear on my event pages (neither on single event pages nor on pages with all events).

    See http://terrascope.mit.edu/event/radio-broadcast-new-mexican-agriculture/​ compared to
    http://terrascope.mit.edu/category/students/​ and http://terrascope.mit.edu/news/new-terrascope-blog-starts-with-students-in-the-spotlight/

    I suspect that my theme (Bridge by Qode) doesn’t recognize the Event custom post type as a post. So, I wonder if there’s a way to change the settings in Event Calendar so that my default post sidebar will appear – perhaps by changing the URL slug, or by selecting to “Include events in main blog loop”. What do you think?

    Thanks,
    emily

    #1112738
    Geoff
    Member

    Hey Emily,

    I know exactly what you mean! This comes up every so often — it’s so hard to integrate with all the various themes out there. 🙂

    One thing that often works is to head to Events > Settings > Display and change the calendar template to use one of your theme templates instead of the default event template (screenshot). This will at least put your theme’s template to use and, if you have a sidebar area registered to that template, then it will render on the page.

    Does this make sense and will it work for you? Please let me know.

    Cheers!
    Geoff

    #1113402
    Eric
    Participant

    Hi Geoff – thanks so much for the tip! I’ve played with the default event template options quite a bit, and I still can’t seem to make sidebars appear.

    Would you happen to have other ideas? I realize I might need to address an issue with my theme, but I’d like to try fixing it on the Events Calendar side if possible.

    Thanks so much,
    emily

    #1113412
    Geoff
    Member

    Absolutely!

    Another idea is to override the default-template.php file in your theme and add the sidebar manually.

    We have a Themer’s Guide that covers template overrides in much more detail, but it basically boils down to this:

    • Make a copy of the default-template.php file. It is located in /wp-content/plugins/the-events-calendar/src/views/default-template.
    • Make a new folder in your theme (or child theme) called tribe-events
    • Drop the copied default-template.php file in that folder

    Now that the template is in your theme folder, you can modify it to suit your needs. In this case, add in the code for your side where you would like it to appear in the template. You may need to tweak some things around with the CSS to get it looking just right, but this will at least get the sidebar in the template.

    Will that work for you? Please let me know. 🙂

    Cheers!
    Geoff

    #1113994
    Eric
    Participant

    I did manage to make it work – thank you for such helpful guidance!

    Best,
    emily

    #1113999
    Geoff
    Member

    My pleasure! So glad that did the trick — thanks so much for following up.

    Cheers and thanks for using Events Calendar PRO. 🙂

    Geoff

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Site's default sidebar doesn't appear on /event/ or /events/ pages’ is closed to new replies.