=== A Tiny Post Content Template Interpreter ===
Contributors: Magenta Cuda
Donate link:
Tags: template, interpreter, shortcode
Requires at least: 3.6
Tested up to: 4.2
Stable tag: 1.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
A tiny template language for WordPress post content using only WordPress shortcodes.

== 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](http://tpcti.wordpress.com/) 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.**

== 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/](http://tpcti.wordpress.com/).

== Frequently Asked Questions ==
   
== Screenshots ==
1. The Shortcode Tester
2. The Template Selector

== 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@&lt;-1&gt; 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.
  
== Upgrade Notice ==

= 1.0 =
* Initial release.

= 1.0.1 =
* Fixes for WordPress 4.3 beta *

= 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@&lt;-1&gt; references the last value of the multi-valued custom field alpha
* Support !=,<,<=,>=,> as conditional operators

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

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

