[wp-hackers] Request for additional $before and $after parameters to wp_list_cats()

Vladimir Dzhuvinov vd at valan.net
Fri Nov 17 21:45:45 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Recently I migrated from Blogger to Wordpress 2.0.5. During
customisation of my templates I noticed that the wp_list_cats() function
doesn't support $before and $after parameters as other listing template
functions do - e.g. get_archives() or get_links().

I need a $before parameter because certain browsers still have poor
support for the CSS :before directive.

I implemented a tiny hack in template-functions-category.php which
solved my problem (thank God Worpress is open source :) Still, I find
the addition of $before and $after parameters a useful and consistent
feature and would like to suggest it for future inclusion in the
official code.

Wish you a nice weekend,

Vladimir
- --
Vladimir Dzhuvinov * www.valan.net * vd at valan.net * PGP key ID AC9A5C6C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFXi2ITVrVaayaXGwRAsHHAJ9oU5m5gZ9QgNvIgfPHk/CAlvMVxwCgiopU
XhDnsaMYw95GTgplAdcr6D8=
=HOhF
-----END PGP SIGNATURE-----



More information about the wp-hackers mailing list