Hello,
I was just wondering how I could make Sage displal a custom sidebar template for each post type that there is on my site.
Normally, in ‘vanilla’ Wordpress, I could use a conditional like so:
<?php if(is_blog()) get_sidebar('custom'); else get_sidebar();?>
In Sage, however, the displaying of the sidebar is controlled by ConditionalTagCheck
class.
How should I go about displaying differnt sidebars per post type?
Would the solution be to filter the Sage wrapper as per ‘Filtering the Wrapper’ ?