WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Templatedia

Create and manage dynamic templates for use in posts and pages.

Plugin API

I'm a plugin developer. How can I have my plugin parse the inside of Templatedia templates for replacing my plugin's placeholder text?

Simple. Just as you've added a filter to the_content, add the same function as a filter for templatedia_pre_template. The completed template will be parsed by your function right before it's inserted into the post/page's content.

What other things can I modify via filters?

This plugin has some very useful filters. Here are the two important ones:

  • templatedia_templates - modify the templates array to add new template(s). Note that the stub name needs to be lowercase. See the Templatedia Chess plugin for an example.

  • templatedia_variables - add to the list of variables that can be used in posts and templates. Do a global $post; if you need to. See templatedia-mediawiki-variables.php for an example.

There are also various other filters available for use, but which are highly technical in manner. You probably won't need to use them, but you can find out about them by reading the plugin's source.

Requires: 2.0 or higher
Last Updated: 2007-10-8
Downloads: 5,851

Ratings

4 stars
4.6 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1