[wordpress插件] Content Template Engine内容模板引擎

wordpress 插件 文章 2020-04-01 10:20 505 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin enables Twig template engine in the WordPress contents.

此插件可在WordPress内容中启用 Twig模板引擎

You can write Twig template in your posts/pages.

您可以在帖子/页面中编写Twig模板。

{% if post.my_custom_field %}    

  {%,如果为post.my_custom_field%}    

Hello {{ post.my_custom_field }}!

您好{{post.my_custom_field}}!

{% endif %}

{% 万一 %}

See more information:

查看更多信息:

    Features

    功能

      • It enables Twig template engine in your WordPress contents.
      • 它在WordPress内容中启用了 Twig 模板引擎。

      • You can use post meta data in your template.
      • 您可以在模板中使用发布元数据。

      • Advanced custom fields and 高级自定义字段

        onsepeater-field/" rel="nofollow">Repeater Field ready.

      • ons / repeater-field /“ rel =” nofollow“>转发器字段已准备就绪。

      • Secure!

      • 安全!

          • You can restrict users to write template.
          • 您可以限制用户编写模板。

          • Automatic escaping is enabled.
          • 启用了自动转义。

        • There are custom filters for WordPress.

        • 有适用于WordPress的自定义过滤器。

          See also.

        • 另请参见

        • There are custom functions for WordPress.

        • 有WordPress的自定义功能。

          See also.

        • 另请参见

        Reuqires

        Reuqires

          • PHP 5.3 or later
          • PHP 5.3或更高版本

          • WordPress 4.3 or later
          • WordPress 4.3或更高版本

安装步骤

    1. Upload to the /wp-content/plugins/ directory
    2. 上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

下载地址
https://downloads.wordpress.org/plugin/content-template-engine.0.9.4.zip
-EOF-

AI助手支持GPT4.0