Display Theme Sidebar on Events Pages

Home Forums Calendar Products Events Calendar PRO Display Theme Sidebar on Events Pages

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1294005
    Remy
    Participant

    I am using Enfold theme and it has a default right sidebar for all pages and posts. I would like for the sidebar to appear on all events/venues/views etc.

    I have read in the forum that under Events > Settings > Display tab there is supposed to be an option to change the template from default to other options. No such option appears on this page.

    #1294216
    Jennifer
    Keymaster

    Hi Remy,

    Thanks for reaching out!

    With the setting you are talking about, you can choose to use your theme’s default page template instead of our default events template, which should give you your sidebar (see this screenshot for a look at where this is located).

    Another option would be to add the sidebar to the event templates directly by 1) following the instructions in our themer’s guide to copy the templates into your child theme for editing and 2) add


    get_sidebar();

    where you would like the sidebar to display.

    I would only recommend using this second method if you are not satisfied with the way the event pages look using the theme’s default page template. While it would give you more control over how the sidebar looks on those pages, it will be a bit more work to go in and add it to each of the event views. You will likely need to add some CSS as well to get the sidebar to display the way you’d like on the page. Again, using the default page template setting is the easiest way, but I wanted to mention this so that you would have another option!

    I hope that helps! Please let me know if you have any more questions.

    Thanks,

    Jennifer

    #1294334
    Remy
    Participant

    This reply is private.

    #1295066
    Jennifer
    Keymaster

    Hi Remy,

    Thanks for sharing that screenshot! I was surprised that those options were missing, but I did some digging and I believe I found the issue.

    It seems that the Enfold theme actually removes these options to integrate the plugin better with their theme. I found a thread on their site that has some code you can add to get these options back. If you only want to get this particular set of settings back, I believe the remove_action that you want from that code block is this one:


    remove_action('tribe_display_settings_tab_fields', 'avia_events_display_tab', 10);

    You can leave out the others if you would like to keep those hidden. I also want to note that it looks like the theme is removing our events template as well. If you decide to modify our templates to add the sidebar in that way (or for any other customization), you may need to also include this remove_action:


    remove_action('tribe_events_template', 'avia_events_tempalte_paths', 10, 2);

    Please let me know if that works for you!

    Thanks,

    Jennifer

    #1295160
    Remy
    Participant

    This reply is private.

    #1295633
    Jennifer
    Keymaster

    Hi Remy,

    Glad to hear you got this figured out! Since this thread has been marked “resolved”, I’ll go ahead and close it out, but feel free to open a new one if you need any further assistance!

    Thanks,

    Jennifer

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Display Theme Sidebar on Events Pages’ is closed to new replies.