
內容簡介
AngularJS for WordPress 是為了協助任何人利用 AngularJS 的能力,並輕鬆將其添加到自己的佈景主題中而創建的。
AngularJS 是一個客戶端模板框架,讓您擴展應用程序的 HTML 詞彙。它的標記與 HTML 以前的版本相似。 HTML 本身並不是一種動態語言,但在使用 AngularJS 後,它就可以成為動態語言。
AngularJS for WordPress 包括多個指令(HTML 元素),可幫助您輕鬆添加一個單獨的文章/頁面或列表。新的指令將不斷添加進來。
還包括 WordPress 短代碼指令,以避免任何代碼混淆。
為了更方便地使用特定頁面,添加了一個新的文章元框。如果選擇,AngularJS 指令將接管客戶端加載頁面的內容。此功能使用 post-content.html 模板。
查看文檔以了解如何使用指令和短代碼。
外掛標籤
開發者團隊
原文外掛簡介
AngularJS for WordPress was created to help anyone leverage the power of AngularJS and easily add it into their own theme.
AngularJS is a client-side template framework that lets you extend HTML vocabulary for your applications. It has a markup more similar to what HTML used to be. HTML its not a dynamic language by itself, with AngularJS it is.
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. More directives will be added in.
WordPress shortcodes for directives are also included to avoid any confusion with code
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. This feature uses the post-content.html template.
View documentation for how to utilize the directives and shortcodes
