[wp-hackers] Limit the_category output to X categories

David Morris dvmorris at gmail.com
Tue Oct 26 17:06:28 UTC 2010


Nevermind, I think I figured it out. I just hooked the_category filter and
did my own custom loop. It would be nice if those category output functions
took a limit parameter, though.

Dave

On Tue, Oct 26, 2010 at 10:52 AM, David Morris <dvmorris at gmail.com> wrote:

> Is there a way to limit the number of categories output by the_category()
> to the first X categories?
>
> Thanks,
> Dave
>



-- 
Dave Morris
http://dave.showviz.net/
http://3dcamphouston.com/


More information about the wp-hackers mailing list