ThemeShaper Forums » Thematic


sidebars disappear in jigoshop

(3 posts)
  • Started 11 years ago by EllenLeempoels
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. EllenLeempoels

    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?

    Posted 11 years ago #
  2. Jump across to the home of Thematic's new Forum and check out this post which mentions the changes with Thematic and thematic_create_stylesheet.

    Posted 11 years ago #
  3. yeah.. please start bringing support requests to the new forum.

    i also wrote a post some issues people might face with the new changes

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.