[wp-hackers] Improved template-functions-category.php

Mike Little journalized at gmail.com
Sun Sep 12 21:54:25 UTC 2004


On Sun, 12 Sep 2004 22:45:00 +0100, Allan Mertner <amwp at mertner.com> wrote:
> Hi Mike,
> 
> > How about adding the class to the anchor (link) tag which will save an
> > extra span/div.
> 
> That could be done; I decided against it because I wanted just the
> category title to be clickable.  If the date is part of the link, people
> might expect something other than just all posts in the category to
> appear if they click on it.
> 

Sorry, I wasn't clear there. I meant that the class should go on the
<a href> not the  <li> which would fit in with your desire to style
the category name separately from the count and date.

> 
> Would it be worth my time to make a few changes and resubmit the
> suggested patch?
> 

Yes I should think so.


Mike
-- 
Mike Little
http://zed1.com/journalized/



More information about the hackers mailing list