[wp-trac] [WordPress Trac] #12563: New action on body open

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 10 23:48:13 UTC 2011

#12563: New action on body open
 Reporter:  joostdevalk                  |       Owner:  joostdevalk
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Future Release
Component:  Themes                       |     Version:  3.1
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch 2nd-opinion close  |

Comment (by jonnybojangles):

 I have the same need to hook into the opening of the HTML/Theme’s body
 tag.  I also agree that this is out of the control of WordPress Core.

 Is it possible to lead by example and have the action or a template tag
 added to WordPress’ default theme?  Is there an issue with making use of
 do actions over template tags from within a theme?   Perhaps this is the
 wrong forum for this discussion?

 Regardless, I have added do_action( 'body_open' ); to my custom themes and

Ticket URL: <http://core.trac.wordpress.org/ticket/12563#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list