Thank you Menaka,
I was able to get the layout to work, but the sidebar widgets do not show up on category pages.
For instance:
https://beta.jcyte.com/news-blog/
The code I’m using…
I am not sure how to adjust the values for content etc.
add_filter('tc_global_layout', 'my_custom_layout' );
function my_custom_layout( $layout ) {
$my_layout_for_categories = array(
'r' => array ( 'content' => 'span9' , 'sidebar' => 'span3' ),
'l' => array ( 'content' => 'span9' , 'sidebar' => 'span3' ),
'b' => array ( 'content' => 'span9' , 'sidebar' => 'span3' ),
'f' => array ( 'content' => 'span9' , 'sidebar' => 'span3' ),
);
if ( is_category() ) {
$my_layout = $my_layout_for_categories;
}
//sets new values for content and sidebar (checks if there are new values to set first)
foreach ($layout as $key => $value) {
$layout[$key]['content'] = isset( $my_layout[$key]['content']) ? $my_layout[$key]['content'] : $layout[$key]['content'];
$layout[$key]['sidebar'] = isset( $my_layout[$key]['sidebar']) ? $my_layout[$key]['sidebar'] : $layout[$key]['sidebar'];
}
return $layout;
}