sidebar depending on custom template
-
I’m trying to display two different sidebars depending on whether the default template or a custom template is used by changing sidebar.php in my Woocommerce Storefront child theme. I successfully created my custom template and sidebar, but is_page_template(‘mytemplate.php’) is not working in my conditional in sidebar.php to decide which page should get which sidebar.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘sidebar depending on custom template’ is closed to new replies.