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.

A Tiny Post Content Template Interpreter

Description

“A Tiny Post Content Template Interpreter” instantiates templates written in a language that only uses WordPress shortcodes and is embedded directly in the post content. The templates consists of HTML, WordPress shortcodes, template variables, template variable assignment statements, template if else constructs and template iterator constructs. Template instantiation is done by simple variable interpolation. Please visit the documentation for a quick introduction. Also, included is a “Shortcode Tester” which displays in a popup window the HTML generated by WordPress from shortcodes. This plugin requires at least PHP 5.4.

Screenshots

  • The Shortcode Tester
  • The Template Selector

Installation

  1. Download the plugin from the WordPress repository.
  2. Open the ‘Plugins’ menu item and activate the plugin.
  3. Open the ‘Settings->A Tiny Post Content Template Interpreter’ menu item and configure the plugin.
  4. Read the tutorial at http://tpcti.wordpress.com/.

Contributors & Developers

“A Tiny Post Content Template Interpreter” is open source software. The following people have contributed to this plugin.

Changelog

1.2

  • the right hand side of an assignment statement can be an expression with arithmetic and concatenation operators and parenthesis

1.1.1

  • if condition now supports a boolean combination of comparison expressions, e.g. #if( $#alpha#=”1″ && $#beta#!=”2″ || $#gamma#>=”3″ || $#delta# )#

1.1

  • Support optional arguments for filter functions, e.g. alpha@sprintf(‘The value is: %s’,$) where $ specifies the position of value to be filtered
  • Support negative indexes e.g. alpha@<-1> references the last value of the multi-valued custom field alpha
  • Support !=,<,<=,>=,> as conditional operators

1.0.1

  • Fixes for WordPress 4.3 beta.

1.0

  • Initial release.