[wp-hackers] Proposed: the_category() - improved separator flexibilty

BoBB rjorgy at gmail.com
Tue Oct 12 06:39:32 UTC 2004


Wow awesome! Thanks man :) I should really learn to write plugins for wordpress.


On Tue, 12 Oct 2004 01:06:15 -0400, Mark Jaquith
<mark.wordpress at txfx.net> wrote:
> BoBB wrote:
> 
> >Would it be possible to make it so th_category() accepted a second
> >argument like before_last and if there is more than one category it
> >would display that before the last one instead, i.e.
> >
> ><?php the_category(', ', ' and '); ?>
> >
> >would display
> >
> >Category 1, Category 2, Category 3 and Category 4
> >
> Poof, your wish is granted!  I wrote a plugin in July that does EXACTLY
> that:
> 
> http://txfx.net/2004/07/22/wordpress-conversational-categories/
> 
> 
> 
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
> 


-- 
/* BoBB
 * AIM: Jodokast49 ICQ: 151495596
 * Jabber: BoBB at jabber.com
 * http://myeurotrip.org
 */



More information about the hackers mailing list