這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Inserter

描述

Inserter allows you to create custom templates from your dashboard and insert the in your pages, replacing a CSS selector of your choosing.

You can use the WordPress Templates Interpolation for underscore.js and include JS-based logic in your templates.

You can expose data using the REST API, using the global $post object, or provide your own JSON-formatted data.
To see the available data, you can add this line in your template and then check the console when your site loads:
<# console.log( data ); #>

You can read more about how to use the plugin on https://aristath.github.io/wordpress/introducing-wordpress-inserter-plugin.

安裝

Simply install as a normal WordPress plugin and activate.

常見問題

Installation Instructions

Simply install as a normal WordPress plugin and activate.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Inserter” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Inserter 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1

February 17, 2018

  • Add append and prepend modes in addition to replace.
  • Require “element” field to be defined when adding/editing template

1.0

February 12, 2018

  • Initial version