[wp-trac] [WordPress Trac] #21506: Standard Theme Hooks
WordPress Trac
noreply at wordpress.org
Fri Feb 22 18:29:24 UTC 2013
#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 zamoose):
@greenshady's approach would also neatly sidestep the necessity of themes
declaring `add_theme_support` (e.g.
https://github.com/zamoose/themehookalliance/blob/master/tha-theme-
hooks.php).
I like the idea of reusing core template hooks for this effort. There are
probably a few that would get dropped on the floor, but we could clean
that up later.
One thing to think about would be the `before`/`top` and `bottom`/`after`
utility and if/how to handle those distinctions. (In short: `before` comes
before the opening semantic tag for a section, while `top` comes just
''after'' that opening tag, etc.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21506#comment:66>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list