[wp-trac] Re: [WordPress Trac] #7678: Front Page with 2 galleries doesn't respect settings for each

WordPress Trac wp-trac at lists.automattic.com
Mon May 4 23:10:20 GMT 2009


#7678: Front Page with 2 galleries doesn't respect settings for each
------------------------------------+---------------------------------------
 Reporter:  MtDewVirus              |        Type:  defect (bug)
   Status:  new                     |    Priority:  normal      
Milestone:  2.8                     |   Component:  Gallery     
  Version:  2.7                     |    Severity:  normal      
 Keywords:  has-patch dev-feedback  |  
------------------------------------+---------------------------------------

Comment(by jamescollins):

 Replying to [comment:10 DD32]:
 > Theres no real reason why we cant insert both classes into the HTML, But
 style based off the static version.. :)
 >
 > Some dev feedback on commit or punt would be good.

 I've created {{{7678_combined.diff}}}. It creates a unique gallery-x class
 (by using a static variable) which is used for styling the gallery, as
 well as the galleryid-y class which contains the post id of the gallery.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/7678#comment:14>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list