Ez a bővítmény nem lett tesztelve a WordPress legutóbbi 3 fő kiadásával. Lehetséges, hogy már nincs karbantartva, frissítve és a használata gondot jelenthet a frissebb WordPress verziókkal.

HTML Templates

Leírás

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

Telepítés

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

Közreműködők és fejlesztők

“HTML Templates” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:

Közreműködők

“HTML Templates” fordítása a saját nyelvünkre.

Érdekeltek vagyunk a fejlesztésben?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.