该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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