Support » Themes and Templates » Disable Sidebar in child categories
7 years, 10 months ago
Ive recently managed to disable my sidebar on my parent category page “Portfolio”
only once in portfolio and I click on a child category of that ie “logo 1” on that page my sidebar now re appears?
heres my php
<?php if (is_page('work')) : ?>
<?php else : ?>
<?php get_sidebar(); ?>
<?php endif; ?>
(is_page('work, logo1')) and (is_page('work/'))
to no avail, Id greatly appreciate any help, thanks!