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.

HTML Templates

Description

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

Installation

. Download the package
. Extract it to the “plugins” folder of your wordpress
. In the Admin Panes go to “Plugins” and activate it

Contributors & Developers

“HTML Templates” is open source software. The following people have contributed to this plugin.

Contributors