HTML Templates

Allows you to create small HTML templates to use inside your posts or pages. The templates can contain dynamic fields, wich you set the value when wri

Author:LeoGermani (profile at wordpress.org)
WordPress version required:2.5
WordPress version tested:2.5
Plugin version:0.6
Added to WordPress repository:18-04-2008
Last updated:29-04-2008
Warning! This plugin has not 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.
Rating, %:0
Rated by:0
Plugin URI:http://www.pirex.com.br/wordpress-plugins/
Total downloads:7 214
Active installs:10+
plugin download
Click to start download

Allows you to create small HTML templates to use inside your posts on pages. The templates can contain dynamic fields, wich you set the value when writing a post or page. The plugin adds a button to you TinyMCE Editor for you to choose the template you want to add.

Its perfect if you have a post or page layout you, or yours site user, post frequently. You can, for instance, create a template for all download links in your site and, when you press the button to add this template to your post, the plugin asks you whats the name and link of the file. Its very useful for creating tables as well.

Usage

  1. Go to Manage > HTML Templates
  2. Enter the name of your template
  3. Enter the dynamic fields you want you template to have. (eg name,link)
  4. Enter the HTML code for your template, with the dynamic fields between “#”. For instance:
    ex1: #name#
    ex2: #title#<BR><img src=”#image#”>

You can also use some template tags in your template:

post-id#, #post-title# and #post-permalink# are accepted.

  1. Save it.
  2. Create or edit a page or post using the rich text editor
  3. Click the new button that appeared on your editor “T” (Templates)
  4. Select the template you want to use
  5. Fill in the values for the dynamic fields
  6. Click on Send to Editor

TO DO

. Allow users to Edit a template after it was created
. javascript validation on the editor
. Improve the appearence of the plugin