[wp-trac] Re: [WordPress Trac] #5031: Tag Cloud styles are hardcoded

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 21 17:23:27 GMT 2007


#5031: Tag Cloud styles are hardcoded
--------------------------+-------------------------------------------------
 Reporter:  technosailor  |        Owner:  anonymous
     Type:  defect        |       Status:  new      
 Priority:  normal        |    Milestone:  2.4      
Component:  General       |      Version:  2.3      
 Severity:  normal        |   Resolution:           
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by Otto42):

  * keywords:  => has-patch

Comment:

 My thought is that it's being overthought here. The tag_cloud should have
 a clean ability, where it does nothing more than output relative CSS
 classes. Like tagcloud1, tagcloud2, tagcloud37, whatever. Then the theme
 can define whatever styles they want for each bit in their own CSS file.

 Here, I'll attach a patch to explain. It allows you to eschew the use of
 inline styles in favor of classes instead.

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


More information about the wp-trac mailing list