Join subscribers on our YouTube channel and enjoy other Divi video tutorials!
Watch Your Step
Follow The Steps Carefully
This process is easy, but we are going to be editing a very important file on your site. This is quite different from the normal tutorials where you add a CSS snippet. For this, we are dealing with the core of WordPress and will be adding a line of code to the wp-config.php file of your site. So just be careful and follow the instructions closely, and you will be perfectly fine.
File Browser Needed
You will need to access your site’s wp-config.php file, which is located in the root of the site. If you have FTP access and are comfortable with that, great. If you don’t know what that means, I have two suggestions. Either go to your hosting account to the website and look for a “file manager” or go to your WordPress dashboard and install any “file manager” plugin.
Place The Code To Disable New Default WordPress Themes From Appearing
Now you are ready to do this! Here are the steps to take. Be sure to follow along with the video, it will help!
- Browse to the root folder of the site, usually the “public_html” folder.
- Open/edit the wp-config.php file.
- Locate the line that says “/* That’s all, stop editing! Happy publishing. */”
- Place the code given below ABOVE that line.