Show all settings in one page

Usually, WordPress gives you settings in the admin panel and those are sorted in a specific way so that a casual user can get control over important part of the system. But sometimes those settings aren’t enough and you will have to modify functions which are somehow hidden in the WordPress core files.

If you need to access those extra settings which aren’t available for regular users (let’s say you’re testing a theme or a plugin or you want to change a specific option which can’t be found in the settings page), there is an easy way to get all settings listed on one page.

Since those settings can be found in wp_options table which can be accessed through options.php file, you can easily open the page without even messing with code in your functions.php.

To access the page immediately, simply navigate to http://yourdomain/wp-admin/options.php

But if you’re opening this page on a regular basis, you can make it easier by adding the link into your menu.

  1. Open functions.php file
  2. Copy and paste the following code.
  3. function all_settings_link() {
    add_options_page(__('All Settings'), __('All Settings'), 'administrator', 'options.php');
    }
    add_action('admin_menu', 'all_settings_link');
  4. Save changes
  5. Navigate to Settings->All Settings to open the page

As you may already see from the code, it will enable the link only for administrators. That makes sense since you probably don’t want a non-administrator getting access to each and every option of your site in the first place.

Before you do change those settings, be sure you know what you are doing because changing only one option you don’t understand might break the entire website. Be careful or be sure to try the settings on your developer’s site to see how the changes work for you.

In case you don’t want to add the function by yourself, there is a plugin which will do it for you.

Show All Settings in Menu is a free plugin which can be downloaded and installed from a WordPress plugin repository. After you install it, it will insert new link into Settings menu, the same one mentioned above.

START YOUR OWN BLOG

This guide is an introduction to mastering the art of blogging. It provides easy to follow steps to start, maintain, and grow your blog.

Read the guide

One thought on “Show all settings in one page

  1. […] go back to your plugin and paste the App ID and the secret keys on the WordPress plugin settings area and then next. Then you will see the usual Login with Facebook button there so click on it and give […]

Leave a Reply

Your email address will not be published. Required fields are marked *