Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

Content Template Engine

Descrizione

This plugin enables Twig template engine in the WordPress contents.

You can write Twig template in your posts/pages.

{% if post.my_custom_field %}
    Hello {{ post.my_custom_field }}!
{% endif %}

See more information:

Features

  • It enables Twig template engine in your WordPress contents.
  • You can use post meta data in your template.
  • Advanced custom fields and Repeater Field ready.
  • Secure!
    • You can restrict users to write template.
    • Automatic escaping is enabled.
  • There are custom filters for WordPress. See also.
  • There are custom functions for WordPress. See also.

Reuqires

  • PHP 5.3 or later
  • WordPress 4.3 or later

Screenshot

  • Settings meta box in edit posts screen.
  • Edit posts screen.
  • The Content.

Installazione

  1. Upload to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Recensioni

3 Settembre 2016
This is what Wordpress needs in core as CMS. WP Toolset or Pods Framework includes similar function but sometimes too heavy for simple purpose.
Leggi la recensione di 1

Contributi e sviluppo

“Content Template Engine” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Changelog (registro delle modifiche)

https://github.com/miya0001/content-template-engine/releases