[wp-hackers] Patching wp_link_pages()
Ian Stewart
ian at themeshaper.com
Thu Jan 14 14:51:49 UTC 2010
I ran into a problem styling page links with
wp_link_pages()<http://codex.wordpress.org/Template_Tags/wp_link_pages>and
I thought it could use some extra extra arguments for adding text or
HTML fore and aft of the current page number. I've started hacking at
post-template.php in preparation for creating a patch (my first!). Anyone
care to take a look at it before I embarrass myself on trac?
The code, as-is, is here: http://pastebin.com/m45aa28f6 Line 34 is where I'm
getting crazy with the cheeze whiz.
--
Ian Stewart
http://ThemeShaper.com/
http://twitter.com/iandstewart/
http://ianstewart.stumbleupon.com/
More information about the wp-hackers
mailing list