Description
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
Screenshots
Installation
- Upload to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Reviews
Contributors & Developers
“Content Template Engine” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Content Template Engine” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
https://github.com/miya0001/content-template-engine/releases