• 0
Sign in to follow this  
Followers 0

Page-Specific Sidebars / Widgets

Question

Posted · Report post

I've done some searching to see if a solution to this has already been found, but I'm not coming up with much. I apologize if something similar has been resolved already. Also, this could be something I'm simply over-thinking, and there could be an easier way to go about it than I have in mind. Any and all suggestions are welcome! :) So here's the situation we're running into. We have a client who is wanting to essentially eliminate drop downs from their main menu, but they still want "main" pages there, and then when the viewer clicks on the page, the sub menu for that main page would be in that page's sidebar. So, for instance, let's say it's a page called "About Us", with 3 "sub" pages (Staff, Board, Contact). What I'm thinking I would need to do is the following (and this may not even be possible, I don't know): - Create a new page template within the PL framework, to be able to drag and drop sections into (so, just like the Feature Page, Carousel Page, Box Page, etc.), and call it "About Us Page" - Create a new "section" within the PL framework, and call it "About Us Sidebar", so I could drag it over to the "About Us" page template content area (or, drag each page-specific sidebar section over to the "SB1" template area, and hide them all by default, then check the "Show About Us Sidebar" in the PL Meta Settings for that page?) The question is then, when that section is created, would I still need to register the sidebar within the functions.php file, to get it to appear as a widget area? - Create a custom menu called "About Us Submenu", and then drag a Custom Menu widget over to the About Us Sidebar widget area. - Repeat the process for each main page. Again, there may be a much simpler way to go about this, or this might not even be possible to do. I feel like it probably is, since you can do just about anything with this framework (which is why it's about the only method of designing WP sites that I use anymore!). If the above process would in fact be the way to go, is there any PL-specific documentation for registering new page templates, sections, sidebars, etc.? I do apologize??¦ I know this is a lot of requested information. I've just gotten to the point that I realize I'm not really getting anywhere searching on my own. The support staff and community has been so great here, that it's obviously the next logical place to turn. Thanks again in advance for all the help. It's greatly appreciated by PL users!

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Have you looked in to using Widget Logic? http://wordpress.org/extend/plugins/widget-logic/

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hmm... I hadn't looked into that. I've seen it mentioned elsewhere a few times. I'll definitely try that out. If that works, it would certainly fall under the "much simpler way to go about it" umbrella mentioned above. :) Thanks again! (*Edit: Yep, that seems like it's going to work just great for this situation. Thanks so much!)

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Use Wordpress' Links Categories (Dashboard > Links > Links Categories to create a category for each main section in the primary menu. About would be both a menu item AND a link category. Inside the About link category, you add links to the various pages or posts inside the category. Using Widget Logic, you simply apply the link category under the About page and on its child pages. Repeat for each different menu subject and their child pages, so that only related child pages appear. Time consuming, but do-able.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0