[wp-trac] [WordPress Trac] #23592: Twenty Thirteen: Hide author from post details when single user site

WordPress Trac noreply at wordpress.org
Sat Feb 23 00:34:03 UTC 2013


#23592: Twenty Thirteen: Hide author from post details when single user site
---------------------------+------------------------------
 Reporter:  Viper007Bond   |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------------------

Comment (by Viper007Bond):

 Replying to [comment:1 nacin]:
 > This has been done via CSS for the last few default themes.

 For anyone else that's wondering: they hook into `body_class` and add a
 CSS class to the body when it's single author and then some CSS hides the
 post author bit.

 I think I prefer this solution too as it makes it easier to change this
 functionality in a child theme as it's just CSS.

 I'll re-patch.

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


More information about the wp-trac mailing list