Skip links

How To Enable All Site Options

WordPress has a page called “options.php” where have a complete list of all the settings you have within your database related to your WordPress site so if you need to add an additional option to your settings menu with a link to “all options” which will show all settings in just one minute using this code snippet.

Steps to add options page:

  1. Open WordPress admin panel then go to Appearance > Theme Editor
  2. Open theme functions.php file, if you work localhost open the same file using any code editor IDE
  3. Add the following code at the bottom of the file.
  4. Save the changes.


function zytheme_all_options_link() {
add_options_page(__(‘All Options’), __(‘All Options’), ‘administrator’, ‘options.php’);
add_action(‘admin_menu’, ‘zytheme_all_options_link’);


Did you find the WordPress snippets in this article helpful? Share it with your friends and if you have any questions and want to ask us about it, please don’t hesitate to add comments.

Leave a comment