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

Settings API

描述

This plugin is for developers, not general users.

This is mainly a PHP class that you can use to build your themes and plugins option panel. It’s a wrapper class that uses
Settings API under the hood. All you need is to just pass the sections and fields
you need as an PHP array. And your options panel will be build automatically on the fly with a tiny PHP class.

This is mainly a demo plugin that uses the Settings API PHP class.

Visit the Github for the latest development snapshot.

Usage Example

A nice tutorial is presented can be found here about how to use this PHP class

螢幕截圖

  • The options panel build on the fly using the PHP Class

安裝

  1. Upload and install the plugin
  2. You’ll have a new options page under the ‘Settings’ area

常見問題

What this plugin for?

It’s mainly a plugin that demonstrates the Settings API PHP class

Whats the facility?

A plugin or theme developer can build their options panel with Settings API easily

What is Settings API ?

Settings API is a functionality from WordPress that helps developers to save their options data very easily and securely.
More about Settings API.

評價

閱讀全部4個評價

貢獻者及開發者

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

貢獻者

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

對開發相關資訊感興趣?

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

修改日誌

v1.3 (27 September, 2016)

  • [new] Placeholder support for text and textarea input
  • [new] min, max and step support for number field
  • [fix] Empty multicheck saving warning
  • [improved] Don’t show the navigation if only one section exists

v1.1 (23 April, 2015)

  • [new] Folder structure updated
  • [new] composer support added
  • [new] Number field added
  • [new] URL field added
  • [improved] wysiwyg field responsive support. Allow to pass options to wp_editor
  • [new] WP Media uploader added

v1.0 (16 July, 2014)

  • [new] color, password and wysiwyg example added on plugin settings
  • [new] Color Picker added
  • [improved] Allow to set description for section
  • Some other old fixes 😉

0.1

  • Initial release