custom taxonomy template sidebar not showing
-
I saw this in your forum prior, but i can’t get this to work. The “archive” section of the plugin seems to work fine and I can add my archives, but nothing is showing.
I’m using Roots/Sage theme and have created a new template called “taxonomy-my_tax.php. I’m guessing this is the issue?I even tried tapping into the sidebar.php file with this logic:
<?php if(is_page_template(‘taxonomy-lesson_categories.php’) && is_active_sidebar( ‘lessons-categories-archive’ ) ): ?>
<?php dynamic_sidebar( ‘lessons-categories-archive’ ); ?>
<?php endif; ?>
<?php dynamic_sidebar(‘sidebar-primary’); ?>Is there something special we need to do to get the sidebar to show on a custom taxonomy template page?
Also… when doing this sort of logic, what is the “slug” of the sidebar we’ve created. We’re using spaces in most of them, but if the sidebar is called “SideBar 2”, is the slug automatically reverted to “sidebar-2”??
The page I need help with: [log in to see the link]
- The topic ‘custom taxonomy template sidebar not showing’ is closed to new replies.