[wp-hackers] Span to wp_list_pages

Charles E. Frees-Melvin charles at cefm.ca
Sun Nov 2 04:26:37 GMT 2008


wp_list_pages and wp_list_bookmarks in 2.7 have 2 new parameters  
link_before and link_after. these allow you to add text or html inside  
the <a> tags around the text. This hack is the exact reason I pushed  
for ticket #5652

On 2-Nov-08, at 1:23 AM, Idled Soul wrote:

> Just when I was going to send to the list to figure out How-To add  
> "span" tags within/around the wp_list_pages function, I find this  
> hack here...
>
> http://wphacks.com/sliding-doors-wordpress-navigation-css-technique/
>
> I guess Google, IS really your friend... :D Unless of course someone  
> else has something different, maybe, eh? :D :P
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list