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

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 9 17:13:29 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 wycks):

 Replying to [comment:15 kovshenin]:[[BR]]

 Replying to [comment:16 iandstewart]:


 I actually though it would be more semantic , it's a little confusing to
 use a hook that says "after_header" for something before the header.

 It might also be a matter of simplicity if added to the core as a hook,
 for example if you need to place an advert above the header you can just
 hook into it without having to go in and adjust the html/css markup.

 I am referring more to it's usage as a core hook then in a twenty(x)
 theme, though I agree that it's probably not worth the overhead, just a
 thought.

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


More information about the wp-trac mailing list