Disable Genesis Customizer Redirect

A guide on how to access the old Genesis Theme Settings page.


The most recent Genesis release (2.10) moved the theme settings to the Customizer. If you try accessing the old theme settings page, it redirects you to the customizer with the Theme Settings panel open.

Here are a few reasons why you may want to access the old theme settings page:

The redirect does not apply to additional settings pages that you have created, or those added by plugins like Genesis Grid and Genesis 404.

These approaches will only work with the 2.x branch of Genesis (ex: Genesis 2.10 and any other 2.x releases that come later). Genesis 3.0 will remove these pages completely, not simply redirect them.

There are two ways you can access the old theme settings page.

Include &noredirect in URL

If you only need to access the settings page once, this is the simplest approach.

Hover over Genesis > Theme Settings, right click and select “Copy Link Address”. Paste that URL in the address bar, then add &noredirect to the end of it. This tells Genesis to bypass the redirect.

The URL will be: https://yoursite.copm/wp-admin/admin.php?page=genesis&noredirect

If you access theme settings often, you might prefer a more permanent solution.

Disable the redirect

It only takes a few lines of code to disable Genesis from ever redirecting to the customizer. You can then access the theme settings the way you always have, by clicking Genesis > Theme Settings.

Install the plugin

I’ve packaged this code into a plugin so you can easily install it without having to edit code. Go to Plugins > Add New > Upload and upload this zip file.

Download Now

<?php
/**
* Disable Genesis Customizer Redirect
* @see https://www.billerickson.net/disable-genesis-customizer-redirect
*/
function be_disable_genesis_customizer_redirect() {
global $_genesis_admin_settings, $_genesis_admin_seo_settings;
$_genesis_admin_settings->redirect_to = '/wp-admin/admin.php?page=genesis&noredirect';
$_genesis_admin_seo_settings->redirect_to = '/wp-admin/admin.php?page=seo-settings&noredirect';
}
add_action( 'genesis_admin_menu', 'be_disable_genesis_customizer_redirect', 11 );
view raw functions.php hosted with ❤ by GitHub

Genesis Theme Framework

Bill Erickson

Bill Erickson is a freelance WordPress developer and a contributing developer to the Genesis framework. For the past 14 years he has worked with attorneys, publishers, corporations, and non-profits, building custom websites tailored to their needs and goals.

Ready to upgrade your website?

I build custom WordPress websites that look great and are easy to manage.

Let's Talk

Reader Interactions

Comments

  1. Skylar says

    May 24, 2019 at 5:18 am

    I’m with you on disliking the customizer.

    Given that Genesis has explicitly stated they’re removing the settings page in 3.0 (issue #2257), what are your feelings on re-adding it once it’s removed?

    • Bill Erickson says

      May 24, 2019 at 7:15 am

      Genesis 3.0 is a complete rewrite and is not backwards compatible with Genesis 2.x, so it won’t be easy to add back the settings page. It’s likely most of the current theme settings will be removed anyway.

      The particular feature that prompted this post (accessing Genesis Title Toggle settings) won’t be an issue since that functionality is being merged into Genesis core in 3.0.

  2. Selena says

    May 24, 2019 at 8:36 am

    “Genesis 3.0 is a complete rewrite and is not backwards compatible with Genesis 2.x…” As in we should expect things to break? Or just we won’t be able to get back things like the theme customization settings. Should I be worried about the Genesis sites I support?

    • Bill Erickson says

      May 24, 2019 at 9:14 am

      Recently developed Genesis sites shouldn’t break, but very old ones (those using XHTML rather than HTML5) should remain on the 2.x branch until rebuilt with a newer theme.

      Here are some things you can expect in Genesis 3.0:
      – All code related to XHTML removed
      – Removal of the “blog” and “archive” page templates. There will be some sort of fallback to display recent posts if you were using the blog template, but you shouldn’t be using that template.
      – Removal of all functions deprecated prior to 2.8 (full list of removed functions)
      – Removal of Theme Settings and SEO Settings pages
      – Reorganize and modernize much of the core code (namespaced classes built as modular components)
      – AMP Support

      Unlike WordPress core, Genesis uses semantic versioning, which is why 2.10 just came out rather than 3.0. The tl;dr summary of semantic versioning is:
      x.0.0 = breaking changes (MAJOR)
      0.x.0 = feature release (MINOR)
      0.0.x = bug fixes (PATCH)

      You should definitely test Genesis 3.0 thoroughly on a staging environment before updating your live website.

      • Selena says

        May 24, 2019 at 11:09 am

        Great – thanks! We still have 2 clients on Thesis 1.x because they refuse to do a new site…I just don’t want to go down that path again! This is super helpful.

Leave A Reply