Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Content Template Engine

Descripción

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

Capturas

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

Instalación

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

Reseñas

3 de septiembre de 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.
Leer la 1 reseña

Colaboradores y desarrolladores

«Content Template Engine» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Content Template Engine» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

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