[wp-trac] [WordPress Trac] #21506: Standard Theme Hooks

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 8 20:53:50 UTC 2012


#21506: Standard Theme Hooks
---------------------------+------------------------------
 Reporter:  mfields        |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------------------

Comment (by iandstewart):

 I'll preemptively argue against before_header. :) Almost anything I can
 think of adding to this hook (menus, ads, search forms, etc.) can be
 positioned visually above the header with CSS while hooking into an
 after_header hook. Additionally, this is likely to encourage a semantic
 outline for our WordPress generated web pages and is likely friendlier to
 screen readers.

 My feeling is that this will also be true for most before_ hooks.

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


More information about the wp-trac mailing list