[wp-hackers] no 'before' or 'after' parameters for wp_list_pages()?

Ghodmode ghodmode at ghodmode.com
Mon Nov 30 05:57:54 UTC 2009


On Sun, 2009-11-29 at 21:50 -0800, Pete Mall wrote:
> wp_list_pages() accepts the following two arguments:
>  *link_before*  (*string*) Sets the text or html that proceeds the link text
> inside <a> tag. (This parameter was added with Version 2.7 </Version_2.7>)
> *link_after*  (*string*) Sets the text or html that follows the link text
> inside <a> tag. (This parameter was added with Version 2.7 </Version_2.7>)
> On Sun, Nov 29, 2009 at 9:42 PM, Ghodmode <ghodmode at ghodmode.com> wrote:

Those don't serve the same purpose because they only control text or
html that is _inside_ the anchor tag.

I want to get rid of the <li> tags outside of the anchor tag.



More information about the wp-hackers mailing list