Home › Forums › Calendar Products › Events Calendar PRO › Display Theme Sidebar on Events Pages
- This topic has 5 replies, 2 voices, and was last updated 8 years, 10 months ago by
Jennifer.
-
AuthorPosts
-
June 6, 2017 at 1:19 pm #1294005
Remy
ParticipantI 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.
June 6, 2017 at 9:44 pm #1294216Jennifer
KeymasterHi 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
June 7, 2017 at 5:32 am #1294334Remy
ParticipantThis reply is private.
June 8, 2017 at 1:14 am #1295066Jennifer
KeymasterHi 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
June 8, 2017 at 6:58 am #1295160Remy
ParticipantThis reply is private.
June 8, 2017 at 11:43 pm #1295633Jennifer
KeymasterHi 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
-
AuthorPosts
- The topic ‘Display Theme Sidebar on Events Pages’ is closed to new replies.
