![]() | | ||||||||
| | #1 |
| Active Warrior Join Date: Apr 2009
Posts: 58
Thanks: 2
Thanked 2 Times in 2 Posts
|
Hello, Is there an easy way to have for every page an individual content in the sidebar? maybe a plugin that can handle this? |
| | |
| | #2 |
| Best Web Designers War Room Member Join Date: May 2009 Location: BestWebDesigners.org
Posts: 472
Thanks: 57
Thanked 27 Times in 23 Posts
|
You will have to code the sidebar of the wordpress template. It will be like. if (page is home){ echo "something";........... Something like that. I read a blog posts like this few days ago but dont really remember. Thanks and Regards |
| | |
| | |
| | #3 |
| Kezz Bracey War Room Member Join Date: Dec 2008 Location: Australia
Posts: 1,291
Blog Entries: 5 Thanks: 323
Thanked 599 Times in 291 Posts
|
Yeah it will require you to dip into the code a little bit as far as I know. But there are a couple of different ways you can do it. Is it literally different 'pages' that you want different sidebars to show up for? As in, you create a new 'page' that shows up on your menu, and then you want a different sidebar for each. Or, is it different categories of posts etc that you want different sidebars? I can run you through some different techniques for each. Different methods will be more efficient depending on exactly what your after. |
| | |
| | #4 |
| HyperActive Warrior War Room Member Join Date: Mar 2009
Posts: 106
Thanks: 10
Thanked 6 Times in 5 Posts
|
If you know HTML and PHP coding very well then it won't be to big of a problem. You have to include php include files that have your specific sidebars already created. |
|
Internet Marketing Company Looking For Designing Partner for JV - View our Thread | |
| | |
| | #5 |
| Active Warrior War Room Member Join Date: May 2009
Posts: 73
Thanks: 1
Thanked 4 Times in 4 Posts
|
With the sidebar it's not so easy... Wordpress gives you two possibilities to divide pages: - Type of page - for example - static page (page.php), post (single.php) category (category.php) etc. - Page templates (only for pages or posts). You can have different sidebars for both of the kinds but you cannot have a different sidebar for every post for example. For more information look in the Wordpress Codex. |
| EXPRESSO - THE ULTIMATE WORDPRESS THEME FRAMEWORK 71 templates, Color changer, Background constructor, dynamic gradients & so much more! Use WSO promocode warriorforum to get 15% off any purchase! | |
| | |
![]() |
|
| Tags |
| easy, individual, page, sidebar, wordpress |
| Thread Tools | |
| |
![]() |