[wp-trac] [WordPress Trac] #18554: Twenty Eleven body classes for singular does not check condition is_front_page()

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 29 17:47:46 UTC 2011


#18554: Twenty Eleven body classes for singular does not  check condition
is_front_page()
----------------------------+----------------------
 Reporter:  Gabriel Reguly  |       Owner:
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Themes          |     Version:  3.2.1
 Severity:  normal          |  Resolution:  wontfix
 Keywords:  close           |
----------------------------+----------------------

Comment (by tomauger):

 @andrewryno I'm having trouble understanding the logic behind linking the
 'singular' designation with the sidebar. It's perfectly reasonable to have
 a sidebar on a singular page.

 And yet the default Twenty Eleven theme's css, the presence of the
 .singular class overrides the default #content's size and alignment.
 Setting the page to the page-sidebar.php template strangely removes the
 ".singular" class, replacing it with the various page-template classes
 instead. This has to be an oversight, though possibly not exactly the
 issue that Gabriel originally addressed.

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


More information about the wp-trac mailing list