Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

[SOLVED] Customized Sidebars for Different Pages


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Mar 30, 2011, 03:48 PM
Hannah91
 
2 posts · Mar 2011
I tried searching through for this but I don't see it anywhere. If anyone has asked the same question, I would appreciate being linked!

What I basically want to do is create a few of the same sidebar (particularly the left sidebar), but with different content, that I can display on different pages. I know I can already do two different versions (using the inner left and the left), but is there any way I could get five? Then I could select which pages each side bar shows up on.

I would have like Left Sidebar 1, Left Sidebar 2, 3, 4,5... and then pick which pages each one shows up on.

The only thing I found was to edit the functions.php code. Should I go ahead and just do that or are there any other options?

Thank you!
  #2  
Old Mar 30, 2011, 03:52 PM
juggledad's Avatar
juggledad
 
22,097 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
go look at the plugin 'widget logic'
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Mar 31, 2011, 01:41 PM
Hannah91
 
2 posts · Mar 2011
I really like this solution, thank you so much!

For anyone who is curious, you can add separate content onto whatever sidebar you want Widget Logic allows you to choose exactly what content applies to what page on the sidebar you applied it to using Conditional Tags (http://codex.wordpress.org/Conditional_Tags).

For example, let's say I have three pages: Hello, Goodbye, and Welcome. If I want a separate link bar for each of these pages on the left sidebar, I simply insert three different widgets into the left sidebar and then under the widget filter you simple put in the condition (is_page('Hello'), is_page('Goodbye'), is_page('Welcome')).

:D No extra sidebars needed.

Bookmarks

Tags
customize sidebar, different sidebar, sidebar

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot remove sidebars from pages duevelocita Sidebars & Widgets 10 Jan 28, 2011 06:32 AM
How to configure different sidebars to pages Stingraynut Sidebars & Widgets 3 Jul 14, 2010 05:43 PM
[SOLVED] Different sidebars for different pages simonelli Sidebars & Widgets 4 Jun 14, 2010 07:59 AM
Customized Atahualpa 404 Pages Jurgen Estanislao Forum How-To 2 May 28, 2010 01:02 AM
different sidebars on different pages scacinto Sidebars & Widgets 8 Aug 7, 2009 06:57 AM


All times are GMT -6. The time now is 03:00 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.