HTML Templates

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
- Go to Manage > HTML Templates
- Enter the name of your template
- Enter the dynamic fields you want you template to have. (eg name,link)
- 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.
- Save it.
- Create or edit a page or post using the rich text editor
- Click the new button that appeared on your editor “T” (Templates)
- Select the template you want to use
- Fill in the values for the dynamic fields
- 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
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
- Give a name to your project
- Download the Installer Package
- Install & activate the plugin locally
- Install the suggested dependencies
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.



