Hi Team
Please advice me how to use different sidebar in wordpress for home page and subpages ..
For example :
Home >> sidebar Type 1
Contact page >> No side bar
Product page >> sidebar Type 2
Thank you
| SitePoint Sponsor |
Hi Team
Please advice me how to use different sidebar in wordpress for home page and subpages ..
For example :
Home >> sidebar Type 1
Contact page >> No side bar
Product page >> sidebar Type 2
Thank you

Hi shamrogan,
Welcome to the forums!
In WordPress you can pass a parameter to get_sidebar(), to include a sidebar other than your regular one.
For example, <?php get_sidebar('left'); ?> would include the file 'sidebar-left.php' from your current theme directory.
Maybe this will help, too: http://hibbard.eu/how-to-pass-parame...ess-templates/
How well do you know your JavaScript from your jQuery?
Check out SitePoint's latest JavaScript challenge
My blog

There's also this free plugin which can help you if you aren't comfortable changing code.
Ok Thank you sir .
there is also this from WooThemes, it's also 'no coding required' and works independantly from the WooTheme framework, so you can use it in your themes:
http://www.woothemes.com/woosidebars/
Bookmarks