[wordpress插件] AP Twig BridgeAP嫩枝桥

wordpress 插件 文章 2020-02-19 14:10 454 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

AP Twig Bridge is a bridge between WordPress and Twig.

AP Twig Bridge是WordPress和Twig之间的桥梁。

WordPress is a great system mainly because of its simplicity,

WordPress是一个很棒的系统,主要是因为它的简单性,

but it is a headache to create templates for it.

但是为它创建模板很头疼。

PHP-mess is not good for creating templates, that’s why

PHP-mess不利于创建模板,这就是为什么

there are different template engines.

有不同的模板引擎。

Twig is a new powerful template engine developed by Fabien Potencier.

Twig是由 Fabien Potencier 开发的新型强大模板引擎。

It has very clear and simple syntax, inspired by Django and Jinja.

它受Django和Jinja的启发,语法非常简洁明了。

So, if you ever thought of using some templating engine in WordPress, try this plugin.

因此,如果您曾经考虑过在WordPress中使用一些模板引擎,请尝试使用此插件。

For now this plugin has a limited support for WordPress API, but I’m going to develop it further.

目前,该插件对WordPress API的支持有限,但我将对其进行进一步开发。

Your Feedback Matters

您的反馈事项

Bugs to report?

要举报的错误?

Feature requests?

功能要求?

Criticism?

批评?

New ideas?

新的想法?

We want to hear from

我们想听听

you!

您!

Do not hesitate.

不要犹豫。

Get in touch with us and share your views.

与我们联系并分享您的看法。

安装步骤

    1. Get an archive with the most recent version of AP Twig Bridge.
    2. 获取有关AP Twig Bridge的最新版本的档案。

    3. Uncompress the ap-twigbridge directory from the archive to your wp-content/plugins directory.
    4. 将存档中的 ap-twigbridge 目录解压缩到您的 wp-content / plugins 目录。

    5. Activate the plugin in the administration panel.
    6. 在管理面板中激活插件。

    7. Copy twigbridge from wp-content/plugins/ap-twigbridge/themes to wp-content/themes
    8. twigbridge wp-content / plugins / ap-twigbridge / themes 复制到 wp-content / themes

    9. Activate AP Twig Bridge theme in the administration panel.
    10. 在管理面板中激活AP Twig Bridge主题。

下载地址
https://downloads.wordpress.org/plugin/ap-twig-bridge.1.0.zip
-EOF-

AI助手支持GPT4.0