Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

Content Template Engine


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:


  • 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.


  • PHP 5.3 or later
  • WordPress 4.3 or later

Lluniau Sgrin

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


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


Medi 3, 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.
Read all 1 review

Contributors & Developers

“Content Template Engine” is open source software. The following people have contributed to this plugin.


Cofnod Newid