Greetings,
I’m having an issue with a secondary navigation that doesn’t appear on certain page views of a calendar plugin that I’m using called The Events Calendar Pro. It doesn’t appear on pages other than those I have in the sub menu (Main page & Events Calendar page). I’ve discovered that this is not an issue with the Events Calendar plugin, or the theme I'm using. I’ve posted on each of their forums and support sections. It’s actually an issue with a feature that I’m using to display submenu items as a secondary navigation. I found the code for this plugin here:
http://christianvarga.com/how-to-get-submenu-items-from-a-wordpress-menu-based-on-parent-or-sibling/
It allows you to display a secondary navigation based on the menu you create in the ‘Appearance > Menus’ section of the WP backend. However, because I have not added every event view to the Events section of my menu the secondary nav bar doesn’t show up on the other view or on individual event pages. Adding all the event views and event pages would be tedious and would look really cluttered.
So now here is my question: How can I have the secondary menu that appears on the main Events page appear on all pages that are created by The Events Calendar plugin? Is there someway to hard code something into the .php file of the calendar plugin so that my nav always displays? Or some conditional statement I can code into my header.php file to make sure that my nav appears on Event pages even if they are not included in the submenu structure?
Here are some links to view:
http://casbaa.thinkcreativeinc.com/wordpress/events/ (does appear)
http://casbaa.thinkcreativeinc.com/wordpress/events/list/ (doesn’t appear)
Thanks,
J