Forums

Hooking wp_list_pages() (3 posts)

  1. Juanlu001
    Member
    Posted 1 year ago #

    Hello everyone again. I don't know If this is the correct board to tis question; if not, I hope a kind moderator will move it. I've never written a plugin but I want to make a filter for the wp_list_pages() function to apply some changes to the result, but I don't know if it's possible and which arguments shall I use. Could you tell me how should the code begin?

    Thank you very much!

  2. MichaelH
    moderator
    Posted 1 year ago #

    Not a real filter expert, but how about looking at how another plugin handles that:
    http://wordpress.org/extend/plugins/list-pages-plus/

  3. sebyrar
    Member
    Posted 6 months ago #

    Hi, I just tried this list-pages-plus but even if I check "No parent Links" option nothing change... :(
    I'm looking for filter now !
    How can I remove a hyperlink from wp_list_pages, but only from the first
    ul in the heirachy ?
    thx for all who will consider my question !

Topic Closed

This topic has been closed to new replies.

About this Topic