Results 1 to 9 of 9

Thread: Can I edit the WP "page" widget?

  1. #1

    Default Can I edit the WP "page" widget?

    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.
    Last edited by lindastacy; November 15th, 2009 at 12:48 PM. Reason: clarification

  2. #2
    Join Date
    Jul 2009
    Location
    Florida
    Posts
    356

    Default

    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

  3. #3
    Join Date
    Jul 2009
    Location
    Florida
    Posts
    356

  4. #4

    Default

    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?
    Last edited by lindastacy; November 13th, 2009 at 07:13 PM.

  5. #5
    Join Date
    Jul 2009
    Location
    Missouri, USA
    Posts
    950

    Default

    Change the code in the sidebar.php and add this to create a dropdown manually:

    <?php wp_dropdown_pages( ); ?>

  6. #6

    Default

    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
    Last edited by lindastacy; November 15th, 2009 at 12:48 PM. Reason: clarification

  7. #7
    Rick Olsen Guest

    Default

    Linda - The flexi pages widget might be what you're looking for. Get it here:

    http://srinig.com/wordpress/plugins/flexi-pages/

  8. #8

    Default

    Thanks Rick. I have the FlexiPages widget (and like it), but I don't believe it has a dropdown menu option.

  9. #9

    Default

    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 )

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •