Hi Tom,
Thank you for the immediate response.
I found the following code in the article and subsequely pasted it on my child theme’s functions.php. Unfortunately.sidebar still appears on the category pages.
Am I doing it right?
I am not able to send you a link to verify this,as my site is under development on Local host.
Thanks & Regards
Binu
==================————————————————-
add_filter( ‘generate_sidebar_layout’,’generate_custom_category_sidebar_layout’ );
function generate_custom_category_sidebar_layout( $layout )
{
// If we are on a category, set the sidebar
if ( is_category() )
return ‘no-sidebar’;
// Or else, set the regular layout
return $layout;
}
———————————————————–=======