I'm currently studying for webdeveloper and I had to make a website using wordpress.
I created a thematic child theme, with a lot of helpfull tips from this forum but now I still have a problem that even my teachter couldn't solve.
I created a blogsite which has a 2 column-layout and I installed Jigoshop which I wanted to have a 3-column-layout. This,almost, works for the shop-page only using this function:
// filter thematic_create_stylesheet to implement your own stylesheets
function my_stylesheet($content) {
// We test if we're on shoppage
if (is_shop())
{
// yes, we are .. now let's load the 3c-fixed layout
$content = "\t";
$content .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"";
$content .= get_bloginfo('stylesheet_directory') . "/shop-style.css";
$content .= "\" />";
$content .= "\n\n";
} else {
// we are not .. let's load the 2c-r-fixed layout
$content = "\t";
$content .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"";
$content .= get_bloginfo('stylesheet_directory') . "/style.css";
$content .= "\" />";
$content .= "\n\n";
}
// $content will be handed back to thematic_create_stylesheet
return $content;
}
// connect the filter to thematic_create_stylesheet
add_filter ('thematic_create_stylesheet', 'my_stylesheet');
// Connect the filter to thematic_sidebar()
add_filter('thematic_sidebar', 'remove_sidebar');
I say almost because I have a 3-columlayout but lost my sidebars.
Jigoshop also creates other page so i tried this:
if (is_page(array('shop', 'my-account', 'cart'))but then nothing works.
Can someone help me to create a 3-column-layout, with sidebars, on all the jigoshop page?