[wp-trac] [WordPress Trac] #21506: Standard Theme Hooks
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 20 08:53:10 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 DrewAPicture):
I agree with @greenshady that symmetry in creating standard hooks
`*_before` in addition to `*_after` is important to promote a widely
adopted standard.
One solution specifically for the `header_before` / `_after` discussion
might be to instead go with `nav_before` / `_after`.
I can demonstrate very few valid uses for `header_before` but several for
`nav_before` such as logo/subscription/search-related bits (not to mention
ads) and other historically header-related things. `nav_after` would
generally serve the same purpose as `header_after`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21506#comment:26>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list