Skip to:

Opened 14 years ago

Closed 13 years ago

Last modified 12 years ago

#716 closed enhancement (fixed)

add actions before/after template load

Reported by: _ck_ Owned by:
Milestone: 1.0 Priority: normal
Severity: normal Version:
Component: Back-end Keywords:


It would be really nice to have actions (pre/post) possible for each template load (before/after the include). This would allow plugin authors to insert content before or after each page as desired without end-users having to hack the templates.

For example there is no method to inject additional fields into the edit-form and post-form templates (without using javascript manipulations since the form has been closed).

Change History (7)

#2 @mdawaffe
14 years ago

  • Milestone set to 0.8.4 & WP-Taxonomy

#3 @sambauers
13 years ago

This could allow plugin devs to make a lot of mess in themes.

I'm not sure it's a good idea. I'd rather address the problems that we can identify as fixable, and add filters for them. I'm tempted to "wontfix" this ticket, and open new cases of filter/action requirements on a needs basis.

#4 @sambauers
13 years ago

  • Milestone changed from 0.9 to 1.0-beta & XML-RPC

Moving to 1.0-beta to allow for further discussion. This won't make it into 0.9

#5 @mdawaffe
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [1646]) template loader actions. Fixes #716, #423

#6 @(none)
12 years ago

  • Milestone 1.0-beta deleted

Milestone 1.0-beta deleted

#7 @sambauers
12 years ago

  • Milestone set to 1.0
Note: See TracTickets for help on using tickets.