Admin Options Pages

描述

Admin Options Pages is a beautifully designed WordPress plugin, which makes it incredibly easy to create options menus, pages and fields.

If you’re a seasoned developer or just a beginner, Admin Options Pages tries to make it easy for everybody.

In a nutshell, you can make your own settings pages and add options fields to it and that without writing one single line of code.

Use the get_option() function (link) to do with your option value (Field name) what you want.

Field Types

  • Text
  • Textarea
  • Wysiwyg Editor
  • Number
  • Checkbox
  • Radio
  • Select
  • Image
  • Color Picker

Documentation

Visit docs.adminoptionspages.com for the documentation.

Bug reports or tips and ideas

Bug reports for AOP are welcomed in our issues repository on Github.
Tips and ideas are also welcome.

安装

  1. Upload folder admin-options-pages to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Start creating your own options pages.

常见问题

Is there any documentation?

Sure. docs.adminoptionspages.com.

How can I use/see an option value on my website?

Al the magic happens with the default WordPress function get_option().

For example, if you have a text field with the name ‘my_text_field’ as Field name, you can use get_option(‘my_text_field’) this way.

<?php echo get_option('my_text_field'); ?>

Or with a default value.

<?php echo get_option('my_text_field', 'my default text'); ?>

Does this plugin make my website slower?

No, not at all.
And besides that, this plugin does nothing on the frontend of your website.

评价

2023 年 1 月 23 日
I inherited a Wordpress website that had many option-able items hard codded. I used this plugin to create new options so as to not have to change the hard code each time I need to make an update. Works great and allows me to organize related options by tabs.
2021 年 11 月 8 日
Great idea and wonderful implementation!
2021 年 3 月 26 日
Great job ! Most of the plugin I have used to create option pages haven’t been updated since a lot of time… It was great to find this tool, which works well with WP 5.7. Adding option page (s), optionally with tabs, has never been easier and the plugin is very well finished and sufficient for most needs. The option to create multiple option pages and define the position of each one in the Wordpress menu is very useful. If you need to add some simple options for a theme that is not based on a full framework that include the ability to create option pages (ie. Metabox.io) : try this one ! Big big thanks to the dev !
阅读所有9条评价

贡献者及开发者

“Admin Options Pages” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Admin Options Pages」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Admin Options Pages”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.9.7

Release Date – 5 July 2021

Bugfixes:

  • The Menu page title does now support non-ASCII characters. See issue on Github.

0.9.5

Release Date – 5 May 2021

Bugfixes:

  • 0 (zero) is saved correctly now (Number field).

0.9.4

Release Date – 13 April 2021

Enhancement/bugfix:

  • The wpautop() function is added to the wysiwyg editor.

0.9.3

Release Date – 11 March 2021

Enhancements:

  • The wysiwyg editor is added.
  • Now PHP 8 ready.
  • Small styling tweaks.

Bugfixes:

  • Options fields modal is fixed for Safari.

0.9.2

Release Date – 10 September 2020

Bugfixes:

  • Error ‘Undefined index: DOCUMENT_URI’ is fixed.

0.9.1

Release Date – 10 August 2020

Admin Options Pages 0.9.1 has one big update. You can give editors now access to options pages.

Enhancements:

  • Adds the ability to choose between Administrator or Editor access for each individual page.
  • Dashicons are updated. See (New dashicons in WordPress 5.5).
  • PHP sessions are not in use anymore.

0.9.0

Release Date – 5 June 2020

Admin Options Pages 0.9.0 is a massive release. The plugin pages are completely redesigned and are more in line with Gutenberg.

Enhancements:

0.7.0

Release Date – 7 November 2019

Enhancements:

  • Adds a new “edit page” button on each option page at the right top corner. You can disable this function on the new settings page.
  • Adds a “visit page” button on the edit page for quick entering the options pages.
  • Adds an “autoload” toggle for each option.
  • Textarea’s accepting now more HTML tags when sanitizing. (a, abbr, b, br, em, s, strike, strong, pre)
  • Adds some small design changes.

Bugfixes:

  • Fixes the error in options.php when in dev mode.
  • Fixes a bug when toggle the menutype.

0.0.8

Release Date: 28 March 2019

Bugfixes:

  • Fixes the autoload case sensitive issue.