[wp-trac] Re: [WordPress Trac] #3253: Give parnent of current page/category a CSS class

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 17 16:34:35 GMT 2006


#3253: Give parnent of current page/category a CSS class
----------------------+-----------------------------------------------------
 Reporter:  mdawaffe  |        Owner:  anonymous
     Type:  defect    |       Status:  new      
 Priority:  normal    |    Milestone:  2.1      
Component:  Template  |      Version:  2.1      
 Severity:  normal    |   Resolution:           
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by mdawaffe):

 I agree, but we're already using current_page; I went for
 current_page_parent for the sake of parallelism.  It'd be very confusing
 to people if one were one way and the other were the other.

 How about we give the current page both current_page and current-page and
 give the parent just current-page-parent?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3253#comment:2>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list