View Full Version : Can I edit the WP "page" widget?
lindastacy
November 13th, 2009, 06:31 PM
Edited to clarify - It seems that what I really want is more often referred to as an "accordion" menu (not a dropdown menu).
I want to edit the standard WordPress "page" widget to have sub-pages be a drop down menu from the parent page in a sidebar. But I can't even find the widget code in the WP files (and they aren't in my theme files either). Using v2.8... whatever the current version is.
Any ideas on how to do this?
Thanks in advance.
NicoleDean
November 13th, 2009, 06:38 PM
Hey Linda,
We just did this, but with categories. The standard one that comes with WordPress isn't the only option. If you search for a different one, you'll find one that offers what you need. Start at the WordPress.org site as you'll find ones that have been rated by users there.
Hope it helps!
N
NicoleDean
November 13th, 2009, 06:38 PM
http://codex.wordpress.org/WordPress_Widgets - found it. :)
lindastacy
November 13th, 2009, 06:53 PM
Thanks, but I'm getting nowhere on that page. Only one I found is from someone whose download page reads, "this is my first... there maybe beginner mistakes...." Doesn't exude confidence. LOL
strike this line ---->If I could find where the pages widget is coded it would be easy enough to do this myself...
Edited to add... maybe it's not so easy to do it myself. Decided to try using a php code widget to just make the menu myself, but haven't yet figured out how to list sub-pages as a drop down for the parent page.
Still looking.....
Any other ideas please?
TraciKnoppe
November 13th, 2009, 07:45 PM
Change the code in the sidebar.php and add this to create a dropdown manually:
<?php wp_dropdown_pages( ); ?>
lindastacy
November 14th, 2009, 01:40 AM
Edited to clarify again - It seems that what I really want is more often referred to as an "accordion" menu (not a dropdown menu).
Thanks Tracy, but that makes the whole menu a dropdown. I want to list all the parent pages and have the sub-pages be a drop down.
For example, in the following, Benches, Clocks, and Coasters would be a drop down under Designs
* Home
* About
* Our Designs
o Benches
o Clocks
o Coasters
* Contact Us
Rick Olsen
November 14th, 2009, 01:58 PM
Linda - The flexi pages widget might be what you're looking for. Get it here:
http://srinig.com/wordpress/plugins/flexi-pages/
lindastacy
November 14th, 2009, 06:27 PM
Thanks Rick. I have the FlexiPages widget (and like it), but I don't believe it has a dropdown menu option.
lindastacy
November 19th, 2009, 09:49 AM
I found a plugin to do exactly what I want! Hooray!
Collapsing Pages:
http://wordpress.org/extend/plugins/collapsing-pages/
(Once I started searching for the right terms it was much easier to find some options :rolleyes:)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.