[wordpress插件] AngularJS for WordPressWordPress的AngularJS

wordpress 插件 文章 2020-02-18 11:40 482 0 全屏看文

AI助手支持GPT4.0

评分
60
描述

AngularJS for WordPress was created to help anyone leverage the power of AngularJS and easily add it into their own theme.

用于WordPress的AngularJS的创建是为了帮助任何人利用AngularJS的功能并将其轻松添加到自己的主题中。

AngularJS is a client-side template framework that lets you extend HTML vocabulary for your applications.

AngularJS是一个客户端模板框架,可让您扩展应用程序的HTML词汇。

It has a markup more similar to what HTML used to be.

它的标记与HTML过去的标记更相似。

HTML its not a dynamic language by itself, with AngularJS it is.

HTML本身不是动态语言,而AngularJS本身就是动态语言。

AngularJS for WordPress includes several directives (html elements) that will help you easily add in a block for a single post/page or a list.

用于WordPress的AngularJS包含多个指令(html元素),可帮助您轻松地为单个帖子/页面或列表添加一个块。

More directives will be added in.

将添加更多指令。

WordPress shortcodes for directives are also included to avoid any confusion with code

还包括用于指令的WordPress短代码,以避免与代码混淆

For even easier use for specific pages a new post meta box has been added.

为了更轻松地用于特定页面,添加了新的帖子元框。

If selected the AngularJS directive will take over loading the content of the page client-side.

如果选择,AngularJS指令将接管客户端页面内容的加载。

This feature uses the post-content.html template.

此功能使用post-content.html模板。

View documentation for how to utilize the directives and shortcodes

查看文档以了解如何使用指令和简码

安装步骤

    1. Download zipped archive of plugin
    2. 下载插件的压缩存档

    3. Log into your WordPress dashboard and add the new plugin via upload
    4. 登录WordPress仪表板并通过上传添加新插件

    5. Activate the plugin
    6. 激活插件

    7. Make sure you have the JSON REST API v2 plugin also activated
    8. 确保您还激活了JSON REST API v2插件

    9. View documentation for how to utilize the directives
    10. 查看文档以了解如何使用指令

下载地址
https://downloads.wordpress.org/plugin/angularjs-for-wp.zip
-EOF-

AI助手支持GPT4.0