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!
Not a real filter expert, but how about looking at how another plugin handles that:
http://wordpress.org/extend/plugins/list-pages-plus/
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 !