Anybody know how to get rid of the “no default theme” warning in site health?

[ad_1]

My site contains exactly one very custom, very high performance site that runs most of my business.

There is no other theme installed. If there’s a problem with my main theme, the site is down and I’m out of business.

Having “WordPress 2022” installed is stupid because it provides no value and would only confuse the users.

Is there any way to get rid of the message?

**SOLVED**

——————————

Add:

define(‘WP_DEFAULT_THEME’, ‘theme-folder-name’);
define(‘CORE_UPGRADE_SKIP_NEW_BUNDLED’, true);

to wp-config.php or your customer functions.php file.

[ad_2]
1 Comment
  1. According to [this post]),

    “`
    define(‘WP_DEFAULT_THEME’, ‘themedirname’);
    define(‘CORE_UPGRADE_SKIP_NEW_BUNDLED’ , true);
    “`

    in your wp-config will trick WP into thinking your theme is default.

    EDIT: Great minds think alike.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer