Question

I have a blog with wp-ecommerce, now what i would like to do is use a seperate sidebar to the shop pages but WP-Ecommerce seems to pull your template sidebar and can't find how to specify the sidebar to use.

I have created a new sidebar in my functions.php just don't know where to call it...

Any help much appreciated

Thanks Joe

Was it helpful?

Solution

As you have created a separate sidebar, now you must be seeing that in your admin panel.

So just add the widgets you want to appear in the sidebar.

Next go to your sidebar.php page, there you cana put a condition i.e. for the products page

If your products page is a separate template then use the name of the file i.e.

if ( is_page_template('product.php') ) {
    register_sidebr('name of the sidebar');
} else {
    register_sidebr('name of the sidebar');
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top