Grow your CSS skills. Land your dream job.

[Solved] Extend wp_page_menu() in WordPress 2.8.x

  • # August 18, 2009 at 8:42 am

    Hi

    This is my first post in the forum and this time is for asking about a doubt I have and I need to get solved quickly for a project in wich a working. I know that the functions wp_page_list() and wp_page_menu() works with some arguments and deliver some clases for every

    Code:
  • Our Business

element in the pages list like page_item page-item-1.

I need the function generates a class who tells me in the code the page has childrens because I need a different format for this kind of pages and I don´t have anything to see the difference. ¿What can I do?

This is what i have:

And this is what i need (changes in CAPS)

I hope somebody can help me. I´m not attached only to these two functions. If anyone knows a plugin or something extra is useful for me too then please give me a reply. I´ll apreciate that. Thanks you very much for all the help anybody can give me.

Cheers.

# August 20, 2009 at 9:31 am

I found a solution and is here:

http://wordpress.org/extend/plugins/page-lists-plus/

A plugin named Page Lists Plus wich give a bunch o extras to the output of wp_page_list() including an unique class or id for any element in the menu.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".