[wp-trac] [WordPress Trac] #10432: Dynamic classes for current blog post item, current term item

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 17 14:35:33 UTC 2009


#10432: Dynamic classes for current blog post item, current term item
-------------------------+--------------------------------------------------
 Reporter:  dnusim       |       Owner:            
     Type:  enhancement  |      Status:  new       
 Priority:  normal       |   Milestone:  Unassigned
Component:  General      |     Version:  2.8.1     
 Severity:  normal       |    Keywords:            
-------------------------+--------------------------------------------------
 wp_list_pages() produces a class .current_page_item for the page you are
 currently viewing. This makes it possible to style the current page item
 different from the other page items in the list.

 But there are several other places the same functionality would come in
 handy: There should be equivalent ways to style the current blog post item
 in the Recent Posts widget, the current category in wp_list_categories(),
 and the current tag in wp_tag_cloud('format=list').

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10432>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list