[wp-hackers] Patching wp_link_pages()
Shane Froebel
shane at bugssite.org
Thu Jan 14 21:14:58 UTC 2010
Ill check it out. Remember that you can use a walker as well
------Original Message------
From: Ian Stewart
Sender: wp-hackers-bounces at lists.automattic.com
To: wp-hackers at lists.automattic.com
ReplyTo: wp-hackers at lists.automattic.com
Subject: [wp-hackers] Patching wp_link_pages()
Sent: Jan 14, 2010 9:51 AM
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/
_______________________________________________
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