Title: Admin Options Pages
Author: Johannes van Poelgeest
Published: <strong>2019 年 3 月 27 日</strong>
Last modified: 2025 年 12 月 3 日

---

搜索插件

![](https://ps.w.org/admin-options-pages/assets/banner-772x250.jpg?rev=2058406)

![](https://ps.w.org/admin-options-pages/assets/icon.svg?rev=2058406)

# Admin Options Pages

 作者：[Johannes van Poelgeest](https://profiles.wordpress.org/poolghost/)

[下载](https://downloads.wordpress.org/plugin/admin-options-pages.0.9.9.zip)

 * [详情](https://cn.wordpress.org/plugins/admin-options-pages/#description)
 * [评价](https://cn.wordpress.org/plugins/admin-options-pages/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/admin-options-pages/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/admin-options-pages/#developers)

 [支持](https://wordpress.org/support/plugin/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](https://developer.wordpress.org/reference/functions/get_option/))
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](https://docs.adminoptionspages.com) for the documentation.

#### Bug reports or tips and ideas

Bug reports for AOP are welcomed in our issues [repository on Github](https://github.com/poolghost/adminoptionspages-issues).

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](https://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()](https://developer.wordpress.org/reference/functions/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.

## 评价

![](https://secure.gravatar.com/avatar/402f4e6ea64a4b2ac6f1ea52fa4ae41605a0ac761a5137616219a4ef07fa2489?
s=60&d=retro&r=g)

### 󠀁[Very easy to make a custom admin menu with media included](https://wordpress.org/support/topic/very-easy-to-make-a-custom-admin-menu-with-media-included/)󠁿

 [gubr1](https://profiles.wordpress.org/gubr1/) 2024 年 4 月 1 日

I used to create my own admin menu in the past by coding it from the scratch. It
took a while and I struggled to create a working media upload button. This plugin
in solves it all, great work.

![](https://secure.gravatar.com/avatar/1939612dafbe44cf870db692d505cefecb82549c9ba2c94cb21a304704c36124?
s=60&d=retro&r=g)

### 󠀁[Love this plugin](https://wordpress.org/support/topic/love-this-plugin-1176/)󠁿

 [jwsheff](https://profiles.wordpress.org/jwsheff/) 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.

![](https://secure.gravatar.com/avatar/bf0ebff06443cc57b36cb3d9c9e16e3edcd38bbf3590195d720fb90ecf80a9b0?
s=60&d=retro&r=g)

### 󠀁[Simple and clear](https://wordpress.org/support/topic/simple-and-clear-19/)󠁿

 [nicolausai](https://profiles.wordpress.org/nicolausai/) 2022 年 4 月 8 日

I really like the simple and clear UI

![](https://secure.gravatar.com/avatar/03cbe4dc0d590343891d391cbee4b26a1b6474b1200068093659006c0bb88ad0?
s=60&d=retro&r=g)

### 󠀁[Genious!](https://wordpress.org/support/topic/genious-6/)󠁿

 [acrum](https://profiles.wordpress.org/acrum/) 2021 年 11 月 8 日

Great idea and wonderful implementation!

![](https://secure.gravatar.com/avatar/cbc33fc10c68c21e407ca110e036f6917856d292727d6c3ebd214c45d7ab438f?
s=60&d=retro&r=g)

### 󠀁[Best available plugin for simple options pages in WP 5.7](https://wordpress.org/support/topic/best-available-plugin-for-simple-options-pages-in-wp-5-7/)󠁿

 [Ishko](https://profiles.wordpress.org/ishko/) 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 !

![](https://secure.gravatar.com/avatar/92c1e22406fa097eda38b09b32493383d8936c21c950ac2433cbe73c9a8c90d2?
s=60&d=retro&r=g)

### 󠀁[A very good add on for wp developers !](https://wordpress.org/support/topic/a-very-good-add-on-for-wp-developers/)󠁿

 [Buttonizer](https://profiles.wordpress.org/buttonizer/) 2020 年 1 月 27 日

Very fast and usefull plugin!

 [ 阅读所有9条评价 ](https://wordpress.org/support/plugin/admin-options-pages/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Johannes van Poelgeest ](https://profiles.wordpress.org/poolghost/)

「Admin Options Pages」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/admin-options-pages/contributors)
为本插件所做的贡献。

[帮助将「Admin Options Pages」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/admin-options-pages)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/admin-options-pages/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/admin-options-pages/)，或通过[RSS](https://plugins.trac.wordpress.org/log/admin-options-pages/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/admin-options-pages/)。

## 更新日志

#### 0.9.9

*Release Date – 30 Januari 2025

Bugfixes:
 * Correct use of esc_ functions.

#### 0.9.8

*Release Date – 10 Januari 2025

Bugfixes:

 * XSS Fixed on the admin_options_pages_master page (was only possible as Administrator)
 * PHP 8 Warnings fixed. See issue on [Github](https://github.com/poolghost/adminoptionspages-issues/issues/6).
 * Options page is not saving issue fixed. See issue on [Github](https://github.com/poolghost/adminoptionspages-issues/issues/3).
 * All the translation strings have now the correct ‘text domain’.
 * No Capital letters for option names.

Enhancements:
 * Minimum PHP version 8.0 * Autload via composer.

#### 0.9.7

_Release Date – 5 July 2021_

Bugfixes:

 * The Menu page title does now support non-ASCII characters. See issue on [Github](https://github.com/poolghost/adminoptionspages-issues/issues/4).

#### 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](https://make.wordpress.org/core/2020/07/15/dashicons-in-wordpress-5-5-the-final-update/)).
 * 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:

 * The pages for creating and Editing options pages are now more in line with Gutenberg.
 * A new option field: Select.
 * Dashicons are updated. See ([Dashicons in WordPress 5.2](https://make.wordpress.org/core/2019/04/11/dashicons-in-wordpress-5-2/)).
 * It is now possible for pages in existing menus to set a custom position. See 
   [developer.wordpress.org/reference/functions/add_submenu_page/](https://developer.wordpress.org/reference/functions/add_submenu_page/).

#### 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.

## 额外信息

 *  版本 **0.9.9**
 *  最后更新：**6 月前**
 *  活跃安装数量 **500+**
 *  WordPress 版本 ** 5.3 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [Dutch](https://nl.wordpress.org/plugins/admin-options-pages/) 和 [English (US)](https://wordpress.org/plugins/admin-options-pages/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/admin-options-pages)
 * 标签
 * [aop](https://cn.wordpress.org/plugins/tags/aop/)[options](https://cn.wordpress.org/plugins/tags/options/)
   [settings](https://cn.wordpress.org/plugins/tags/settings/)
 *  [高级视图](https://cn.wordpress.org/plugins/admin-options-pages/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  9 条 5 星评价     ](https://wordpress.org/support/plugin/admin-options-pages/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/admin-options-pages/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/admin-options-pages/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/admin-options-pages/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/admin-options-pages/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/admin-options-pages/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/admin-options-pages/reviews/)

## 贡献者

 *   [ Johannes van Poelgeest ](https://profiles.wordpress.org/poolghost/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/admin-options-pages/)