Title: Admin Options Pages
Author: Johannes van Poelgeest
Published: <strong>مارس 27, 2019</strong>
Last modified: October 16, 2026

---

Search plugins

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

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

# Admin Options Pages

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

[Download](https://downloads.wordpress.org/plugin/admin-options-pages.1.1.0.zip)

[Live Preview](https://arq.wordpress.org/plugins/admin-options-pages/?preview=1)

 * [Details](https://arq.wordpress.org/plugins/admin-options-pages/#description)
 * [Reviews](https://arq.wordpress.org/plugins/admin-options-pages/#reviews)
 *  [Installation](https://arq.wordpress.org/plugins/admin-options-pages/#installation)
 * [Development](https://arq.wordpress.org/plugins/admin-options-pages/#developers)

 [Support](https://wordpress.org/support/plugin/admin-options-pages/)

## Description

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

> Whether you are a seasoned developer or just getting started, Admin Options Pages
> makes it easy for everybody.

Build your own settings pages in an editor that feels like WordPress itself, without
writing a single line of code. Every value is stored as a normal WordPress option,
so you can use it anywhere: in your theme with `get_option()`, in your content with
a shortcode, or in a block.

#### What you can do

 * **Build menus, pages and fields** in an editor that feels familiar from the first
   click. Drag pages and fields, or move them with the keyboard, and see problems
   before you save.
 * **Choose from 21 field types**, from a simple text field to dates, a range slider,
   a button group, images and files.
 * **Show values on your website** without code: bind a block to a field (Block 
   Bindings), or use the shortcode `[aop_option name="phone"]`. Only the fields 
   you choose are shown.
 * **Hand it over to your client.** The options pages are native WordPress settings
   pages. Give a page the _Editor_ access level, and your client can change its 
   values without access to the rest of the settings.
 * **Reuse your setup on the next site.** Export the menus you choose, with the 
   values of their fields, and import them on another site. You first see what would
   happen, and nothing is replaced unless you choose it.
 * **No lock-in.** Your values are normal WordPress options. Deactivate the plugin,
   and they are still there.

#### Field types

 * Text: Text field, Textarea, Wysiwyg editor, Email, Link, Password
 * Numbers: Number, Range
 * Choices: Checkbox, Radio buttons, Select, Button group
 * Date and time: Date, Time, Date and time
 * Media: Color picker, Image, File
 * Layout: Title, Description, Horizontal rule

#### For developers

 * Read every value with `get_option( 'your_field_name' )`.
 * Change a value just before it is stored with the filters `aop_sanitized_option`
   and `aop_sanitized_option_<option name>`.
 * Add your own field types with the Field Types API.

#### Translations

Admin Options Pages is available in English and comes with Dutch, German, French
and Spanish translations. The German, French and Spanish translations are machine-
translated. Improvements are welcome on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/admin-options-pages/).

#### Documentation

Visit [adminoptionspages.com/docs](https://adminoptionspages.com/docs) for the documentation.

#### Bug reports, tips and ideas

Bug reports and ideas are welcome in our [issue tracker on GitHub](https://github.com/poolghost/adminoptionspages-issues).
For “how to” questions, please use the [support forum](https://wordpress.org/support/plugin/admin-options-pages/).

## Screenshots

[⌊The editor: a menu with its pages and fields.⌉⌊The editor: a menu with its pages
and fields.⌉[

The editor: a menu with its pages and fields.

[⌊Add a field: choose one of 21 field types.⌉⌊Add a field: choose one of 21 field
types.⌉[

Add a field: choose one of 21 field types.

[⌊The options page your client sees: a native WordPress settings page.⌉⌊The options
page your client sees: a native WordPress settings page.⌉[

The options page your client sees: a native WordPress settings page.

[⌊Bind a block to a field in the Attributes panel, and the value appears on your
website.⌉⌊Bind a block to a field in the Attributes panel, and the value appears
on your website.⌉[

Bind a block to a field in the Attributes panel, and the value appears on your website.

[⌊Every field shows its shortcode, with a copy button.⌉⌊Every field shows its shortcode,
with a copy button.⌉[

Every field shows its shortcode, with a copy button.

[⌊Import: see what would happen before anything changes.⌉⌊Import: see what would
happen before anything changes.⌉[

Import: see what would happen before anything changes.

## Installation

 1. In your WordPress admin, go to _Plugins › Add New Plugin_ and search for “Admin
    Options Pages”.
 2. Click _Install Now_, then _Activate_.
 3. Go to _Options Pages › Add new_, give your menu a name and add a field with the**
    +** button.
 4. Click _Save_. Your new menu appears in the admin menu, ready to fill in.

Use the value on your website with a block, the shortcode or `get_option()`. See
the [documentation](https://adminoptionspages.com/docs) for more.

## FAQ

### Is there any documentation?

Yes: [adminoptionspages.com/docs](https://adminoptionspages.com/docs).

### How can I show an option value on my website?

There are three ways. For all of them, the field needs to have _Use in shortcode
and blocks_ switched on, except for PHP.

**With a block.** Add a block, such as a paragraph or a heading, and open the _Attributes_
panel in the block settings. Choose the field: the block now shows its value.

**With the shortcode.** The editor shows the shortcode of every field, with a copy
button. For example:

    ```
    [aop_option name="my_text_field"]
    ```

**With PHP.** Every value is a normal WordPress option:

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

Or with a default value:

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

### Which fields can be shown on the website?

Only fields of Admin Options Pages that have _Use in shortcode and blocks_ switched
on. New fields have it on; fields made before 1.0 have it off, so nothing appears
on your website until you switch it on. A password field is never shown, and options
of WordPress or other plugins never are.

### Does this plugin make my website slower?

No. On the front end of your website, the plugin only does something when a page
uses its shortcode or a bound block, and then only for the fields you made public.

### Is my data safe when I update to 1.0?

Yes. Your menus, pages, fields and values are kept. The first time 1.0 runs, it 
converts the stored pages to a new format. As a safety net, a copy in the old format
is kept in the database for 90 days. Exports made with 0.9 can still be imported.

### Can I go back to an older version?

Yes, to 0.9.11, within 90 days after the update. With 1.0 still installed, restore
the copy of your pages once with WP-CLI, then install 0.9.11 over 1.0. The [documentation](https://adminoptionspages.com/docs/1.x/whats-new#going-back-to-0911)
describes how. Shortcodes then show as plain text, and bound blocks show their original
content.

### Who can edit the options pages?

You tick per page which roles can see it and change its values: for example _Shop
manager_, _Author_, or a role you made yourself. Administrators can always open 
every page. A plugin that manages roles, such as Members or User Role Editor, can
also give a single user access to a page. The editor of Admin Options Pages itself
is only for administrators.

Pages you made before 1.1 keep working as they did. When you open such a page in
the editor, the roles that have access now are ticked.

## Reviews

![](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/) أڥريل 1, 2024

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/) جونڥي 23, 2023

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/) أڥريل 8, 2022

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/) نوفمبر 8, 2021

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/) مارس 26, 2021

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/) جونڥي 27, 2020

Very fast and usefull plugin!

 [ Read all 9 reviews ](https://wordpress.org/support/plugin/admin-options-pages/reviews/)

## Contributors & Developers

“Admin Options Pages” is open source software. The following people have contributed
to this plugin.

Contributors

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

“Admin Options Pages” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/admin-options-pages/contributors)
for their contributions.

[Translate “Admin Options Pages” into your language.](https://translate.wordpress.org/projects/wp-plugins/admin-options-pages)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/admin-options-pages/),
check out the [SVN repository](https://plugins.svn.wordpress.org/admin-options-pages/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/admin-options-pages/)
by [RSS](https://plugins.trac.wordpress.org/log/admin-options-pages/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0

_Release Date – 16 October 2026_

 * New: choose per page which roles can edit it, also roles of other plugins and
   roles you made yourself. Administrators can always open every page.
 * New: Members and User Role Editor list a capability per page, so you can give
   one user access to one page.
 * New: the import says when a page has a role that does not exist on this site.
 * New: a What’s new page for 1.1; the page of 1.0 stays available.
 * Pages of 1.0 keep their access: the roles that have the level _Editor_ now are
   ticked when you open the page.
 * Fixed: new texts no longer show in English when an older language pack of translate.
   wordpress.org is installed.

#### 1.0.0

_Release Date – 9 October 2026_

Admin Options Pages 1.0 is the biggest release so far. It comes after 0.9.11; there
was no 0.10.

New:
 * Show your values on your website without code. Bind a paragraph, heading,
button or image block to a field in the _Attributes_ panel of the block editor (
Block Bindings), or use the shortcode `[aop_option name="..."]`. Only fields with
_Use in shortcode and blocks_ switched on are shown; fields made before 1.0 have
it off. The editor shows the shortcode of every field, with a copy button. * Import
and export with your values. Export the menus you choose to a JSON file, together
with the values of their fields, and import them on the same or another site. Choose
a file or drop it on the page: you first see what would happen, with menus, pages,
fields and values each on their own, and you decide what is imported. Nothing is
replaced unless you choose it, an import is all or nothing, and everything goes 
through the same checks as saving in the editor. After the import the new menus 
are there at once. Exports of 0.9 can be imported too. * Option names that WordPress
or other plugins use are never overwritten by an import. * Nine new field types:
Email, Link, Password, Date, Time, Date and time, Range, Button group and File. 
That makes 21. * The editor is rewritten with the React that ships with WordPress.
It is faster and much smaller (the script is about 80% smaller), and it can be used
with the keyboard: every page and field has move up/down buttons next to the drag
handle. * Pages and fields can be dragged by their whole bar, a dashed slot shows
where they land, and fields can be dragged to another page. * Problems are shown
at the field, the way the block editor does it, once you leave the field or try 
to save. * A “What’s new” page, offered after the update. * Translations: Dutch,
German, French and Spanish come with the plugin. German, French and Spanish are 
machine-translated. * For developers: the Field Types API to add your own field 
types, stable from 1.0 and semantically versioned, with the action `aop_register_field_types`
and the filter `aop_field_types`. A field type can bring its own icon for the field
picker. A field of a type whose plugin is not active is kept as it is, and can be
deleted in the editor. * For developers: the filters `aop_sanitized_option` and `
aop_sanitized_option_<option name>` change a value after the field type sanitized
it, just before it is stored. `aop_display_value` changes how a value is shown on
the website.

Changed:
 * The pages are now stored as JSON in the database (with a version), and
the table can hold long pages: pages with a lot of fields were cut off at 64 KB 
before. Your pages are converted the first time you visit the admin. A backup of
the old rows is kept for 90 days (filter `aop_backup_days`) and removed with the
plugin. How to go back to 0.9.11 is described in the [documentation](https://adminoptionspages.com/docs/1.x/whats-new#going-back-to-0911);
shortcodes then show as plain text, and bound blocks show their original content.*
Requires PHP 8.1 or higher and WordPress 6.9 or higher. * The menu is called “Options
Pages” (it was cut off as “Admin Options P.”). * The editor saves through the WordPress
REST API. The settings and import screens use the same React packages as the editor.*
Every setting has one name, the same for every field type. * On a site that does
not allow SVG uploads, the image field explains why `.svg` can not be chosen. * 
The documentation moved to [adminoptionspages.com/docs](https://adminoptionspages.com/docs).

Security:
 * Exporting, the list of existing menus and the import preview require
the manage_options capability and a valid nonce. * Fixed an SQL injection in the
import preview. * Creating and editing pages checks the capability, and users with
a custom role that has manage_options can use the plugin.

Bugfixes:
 * Saving a page reset a field whose option was emptied (or set to 0) 
back to its default value. This no longer happens. * Descriptions showed raw HTML
on the options pages. * Number fields accept decimals again, and no longer fail 
when the number of decimals is empty. * The settings screen saves “Hide Edit page
button” again. * The “saved” message after a redirect is now per user. * Option 
names are also checked on the server (lowercase letters, numbers and underscores).*
Radio and select labels are sanitized, and the checkbox and image fields no longer
raise PHP warnings. * The image field also limits the “Upload files” tab of the 
media window to the allowed image types. * A plain “&”, “<” or “>” in a Text field
or Textarea no longer shows the message “Some of the value on this settings field
is not allowed”. The value was saved correctly. * Opening the editor for a menu 
that no longer exists shows a message instead of PHP warnings. * A new field or 
page no longer takes the cursor away while you are typing in another field. * PHP
deprecation notices from a bundled library on PHP 8.4 are gone. * The Admin Options
Pages start screen can be translated. * Removing the plugin with WP-CLI works, and
removes its data.

#### 0.9.11

_Release Date – 25 September 2026_

Bugfixes:
 * Deleting an options page from the overview list (All Options Pages)
works again. Version 0.9.10 only allowed deleting from the edit screen.

#### 0.9.10

_Release Date – 25 September 2026_

Security:
 * Deleting an options page now requires the manage_options capability
and a valid nonce. Please update.

Bugfixes:
 * New options pages could not be saved and existing ones could not be
edited on recent WordPress versions. The form lost its security token because WordPress
now sends a Content-Security-Policy header on admin screens.

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

## Meta

 *  Version **1.1.0**
 *  Last updated **4 weeks ago**
 *  Active installations **500+**
 *  WordPress version ** 6.9 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 8.1 or higher **
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/admin-options-pages/) and [English (US)](https://wordpress.org/plugins/admin-options-pages/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/admin-options-pages)
 * Tags
 * [admin menu](https://arq.wordpress.org/plugins/tags/admin-menu/)[custom fields](https://arq.wordpress.org/plugins/tags/custom-fields/)
   [options page](https://arq.wordpress.org/plugins/tags/options-page/)[settings](https://arq.wordpress.org/plugins/tags/settings/)
   [theme options](https://arq.wordpress.org/plugins/tags/theme-options/)
 *  [Advanced View](https://arq.wordpress.org/plugins/admin-options-pages/advanced/)

## Ratings

 5 out of 5 stars.

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

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

[See all reviews](https://wordpress.org/support/plugin/admin-options-pages/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/admin-options-pages/)