Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] Extend wp_page_menu() in WordPress 2.8.x

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25796
    deryck
    Member

    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.

#62454
deryck
Member

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)