Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Properly Change a WordPress Theme (Ultimate Guide)

Are you planning to change the WordPress theme of your website? WordPress makes it super easy for users to change and manage themes on their site.

However, you must remember that changing the appearance of your live website is a major event. You need to keep certain things in mind before and after you change a theme, so you don’t lose any data and website traffic.

In this article, we’ll show you the process of how to properly change a WordPress theme with a step-by-step checklist.

How to Properly Change a WordPress Theme (Ultimate Guide)

Here’s a quick overview of what you’ll learn in this article:

Things to Do Before Changing a WordPress Theme

While changing a theme is literally a few clicks away, you must take some precautionary steps before starting the process.

We recommend that you go through the following checklist to ensure that the process of changing your WordPress theme goes smoothly and that you don’t end up losing important data.

1. Copy Snippets from Your Current Theme

Some intermediate WordPress users like to customize their website by adding code snippets directly to the functions.php file of their theme.

Since these changes were made once, people usually forget about them.

If you or your web developer made these changes, then make sure to go through the files of your current theme and note down all the additional code that you’ve added previously. This will allow you to add them later into your new theme’s functions.php file or a site-specific WordPress plugin.

For more details, see our guide on how to properly add custom code in WordPress.

2. Test Load Time

Before changing your theme, you should check the load time of your website, so you can easily compare the differences in the page load time after you made changes to your website.

Remember, WordPress speed is an important factor in user experience and SEO, so you need to make sure that the new theme is faster than your previous one.

You can check your website speed by using a WordPress speed testing tool. For more instructions, see our guide on how to run a site speed test.

Make sure that you test the load time of the homepage and also some of your inner pages.

3. Don’t Lose Any Tracking Code

Some users add their analytics tracking code directly to their theme files. Also, there are WordPress themes that allow you to add Adsense or Analytics code in their settings panel.

One of the most common mistakes beginners make is to overlook these codes.

You need to make sure that you copy all the tracking codes, so you can add them to your new site after changing the theme.

To future proof this, we always recommend users to install Google analytics using a plugin like MonsterInsights, and for other tracking codes, we recommend using the header and footer plugin.

4. Make a Full Backup

It’s always recommended to back up your posts, images, plugins, and the database before changing your theme.

You can use a WordPress backup plugin to create the backup of your entire site. Make sure that you download this backup to your computer before moving forward.

This step will ensure that you can recover your website easily if anything goes wrong.

5. Sidebar Content

Sidebars are used for adding different widgets including social links, advertisements, subscription forms, or a contact form.

Make a note of these changes. If there is any custom code added to a widget, then make sure you copy and paste this code on your computer, so you can reuse it in your new theme.

6. Keep Your Site in Maintenance Mode

It’s a good practice to put your website in maintenance mode when you’re making changes to it. You don’t want your visitors to see an under-construction site, right?

We recommend using the SeedProd plugin for this purpose. It’s a popular WordPress plugin that allows you to easily create beautiful coming soon and maintenance mode pages for your site.

seedprod website builder

You can use SeedProd’s free version to enable maintenance mode. There is also a Premium version that includes pre-built templates, advanced customization features, and email marketing tool integrations.

To keep your site in maintenance mode, you need to install and activate the SeedProd plugin. If you need help, then follow our step-by-step guide on how to install a WordPress plugin.

Next, head over to SeedProd » Pages from your WordPress admin panel and then click the ‘Set up a Maintenance Mode Page.’

Set up a maintenance mode page

After that, you’ll need to select a template for your maintenance mode page. You can also use a blank template and create a page from scratch.

To choose a template, simply hover over a thumbnail and then click the check icon.

Choose a maintenance page template

You can now use the SeedProd drag and drop page builder to customize your maintenance mode page. Simply add new blocks by dragging them from the menu on your left.

SeedProd lets you add standard blocks for text, images, buttons, and headlines. It also offers advanced blocks including contact forms, giveaways, social sharing options, and much more.

SeedProd visual editor

Don’t forget to save your changes by clicking the ‘Save’ button at the top right corner. After that, head over to the ‘Page Settings’ tab and change the Page Status by toggling to ‘Publish.’

Publish your maintenance mode page

Once that’s done, you can go to SeedProd » Pages to enable the maintenance mode. All you have to do is toggle the maintenance mode to ‘Active.’

Enable maintenance mode in SeedPro

How to Install a WordPress Theme

After following the above precautions, the next step is to install a theme that you want to use on your site.

There are thousands of free and paid WordPress themes available for you to pick from. The fact that you’re reading this article means you’ve likely found a good theme for your needs.

If you haven’t already selected a theme, then we can highly recommend the following WordPress themes to you:

1. Divi

Divi WordPress theme

Divi is one of the most popular WordPress theme in the market. It’s powered by the drag and drop Divi Builder which allows you to easily build any kind of website.

It comes with 20+ pre-built layouts and 46 different content elements. You can easily customize each element of your site and see the changes in real time.

2. Astra

Astra WordPress theme

Astra is a lightweight and speed-optimized WordPress theme. It’s compatible with various page builder plugins like SeedProd, Beaver Builder, Divi, and Visual Composer.

It’s a translation and RTL-ready theme. This allows you to start your website in any language and even create a multilingual website.

Astra can be easily integrated with the WooCommerce plugin, so you can easily create an online store without much hassle. You can also customize the header, footer, layout, and more using the WordPress Theme Customizer.

Our favorite part about Astra is all the starter website templates it comes with.

3. StudioPress

StudioPress WordPress themes

Genesis is the most popular WordPress theme framework and has been built by the StudioPress team. You can create amazing websites using the Genesis framework and other StudioPress themes.

In case you don’t know, StudioPress is now a part of WP Engine, the most popular managed WordPress hosting company.

The best part is you’ll get 35+ StudioPress themes for free if you sign up for any WP Engine hosting plan.

4. OceanWP

OceanWP WordPress theme

OceanWP is a responsive and multi-purpose WordPress theme. It offers multiple demo templates that have been built with different professions and businesses in mind.

It is compatible with the major page builder plugins. You can also use different extensions to take your site to the next level.

5. SeedProd

seedprod website builder

SeedProd is the best drag and drop website builder for WordPress. We already mentioned you can use it to create a maintenance mode page. But, you can also use it to create a custom WordPress theme without writing any code.

seedprod customizable themes for woocommerce

SeedProd comes packed with 28+ professionally designed themes to get you started. You can easily customize the themes with ready-made blocks, smart sections, and WordPress template tags.

Once you’ve selected a theme, you need to install it on your WordPress site. You can use any of the following 3 methods to install a WordPress theme:

  • Using the WordPress theme search option
  • Uploading a theme from your WordPress Dashboard
  • Installing a theme using FTP

You can check out our beginner’s guide on how to install a WordPress theme for help.

How to Change WordPress Theme Without Going Live

Once you’ve installed your new theme, you are ready to switch themes.

However, it’s always recommended to test a theme before switching to it on your live website.

This way you’ll be able to check the compatibility of the new theme with your existing plugins and make sure that everything is working properly as desired.

There are two ways that you can use to change your WordPress theme without going live:

1. Live Preview Option

By default, WordPress allows you to preview a theme on your website without changing it.

To do that, head over to Appearance » Themes from the left sidebar of your admin panel.

On this page, you’ll see all the installed themes on your site. You need to hover your mouse over the theme you want to preview and click on the Live Preview button.

WordPress Theme Live Preview Option

This will open your new theme in the WordPress Theme Customizer. You can now test your new theme and make sure that everything is working properly.

2. Theme Switcha Plugin

Another option is to use the Theme Switcha plugin. It allows you to preview your new theme without activating it.

First, you need to install and activate this free plugin. Next, go to Settings » Theme Switcha from the left sidebar of your admin panel.

Theme Switcha plugin settings page

On the Settings page, you need to select the “Enable theme switching” option and then, scroll to the bottom of the page to click on Save Changes.

This plugin will now display all your installed themes at the bottom of this page. Go ahead and click on your new theme to preview it on a new tab of your web browser.

Theme Switcha available themes section

How to Change WordPress Theme on Live Site

After you have tested your new theme, it’s time to start the process of switching the theme on your WordPress site.

To do that, go to Appearance » Themes from the left sidebar of the WordPress admin panel.

Change WordPress theme on live website

On this page, you need to hover the mouse cursor over the theme you want to use and then click on the Activate button to change the WordPress theme.

Now you can visit the homepage of your website to see the new theme in action.

How to Change WordPress Theme Manually

Sometimes an error can make your WordPress admin area inaccessible. In that case, you won’t be able to change the theme using the above method.

To recover your website, you need to restore it from backup, or you may troubleshoot the WordPress error causing the problem.

However, if you don’t have a backup, then you can change the theme manually with the help of phpMyAdmin.

This method allows you to inform WordPress which theme to use by changing the information in the database.

First, you need to connect to your website using an FTP client and go to the /wp-content/themes/ folder.

FTP WordPress themes folder

Here you’ll be able to see all the themes that are currently installed on your website. You can also install a WordPress theme via FTP if you don’t see it.

Next, you want to write down the folder name of the theme you want to use because you’ll need it later.

After that, you need to go to the cPanel of your WordPress hosting account. On this page, you will have to scroll down to the Databases section and then click on phpMyAdmin.

cPanel open phpMyAdmin

Once you are in phpMyAdmin, you’ll see a list of databases on the left side of the screen. Simply click on the database that you are using for your WordPress site.

phpMyAdmin open database and table

Next, it’ll show you the list of tables in this database. You need to click on the “wp_options” table to open it.

Note: By default, WordPress use wp_ as the prefix for the table names. However, it’s possible to have a different database prefix, as shown in the above image.

Now you need to locate the template and stylesheet rows on the right panel.

Template and stylesheet rows

Next, click on the Edit link present in the “template” row to open the editor.

Here you need to change the value in the option_value field to the theme name that you want to use. It’s usually the same as the folder name in /wp-content/themes/ folder that you copied earlier.

Change template value

Once you’re done, click on the Go button to save the changes. Next, go ahead and repeat the same process for the “stylesheet” row.

After making changes to both the rows, you can go to your website to see the new theme in action.

Things to Do After Changing Your Theme

Once you’ve changed the theme on your website, you need to take care of certain things before turning off the maintenance mode.

You can check out the following checklist of things to do after changing your WordPress theme:

1. Test Your Website

First, you need to make sure that all the functionalities, plugins, and widgets are working properly.

You should invest some time to test your website and check out different things including the posts, comment section, images, and the contact form.

2. Cross Browser Compatibility

Browsers have a tendency of showing certain things differently.

To make sure that your website looks good in every major browser, you should test your site in different web browsers including Google Chrome, Firefox, Safari, and Internet Explorer.

3. Add Tracking Code

After you’ve tested the features and the cross-browser compatibility, you should add your analytics and Adsense tracking code to your site.

You can use the MonsterInsights plugin to add the Google Analytics tracking code. This will allow you to properly setup analytics and view detailed website stats right inside your WordPress dashboard.

4. Turn Off Maintenance Mode

You can disable the maintenance mode on your site to make it go live.

If you’re using the SeedProd plugin, simply go to SeedProd » Pages from your WordPress dashboard and click the toggle to ‘Inactive’ to turn off the maintenance mode.

Turn off maintenance mode page

5. Test Loading Time

You need to go to the Pingdom website again to test the loading time of your homepage after changing the theme.

Next, compare it to the load time when your old theme was installed. If you see any major differences, you can follow our guide to improve WordPress speed.

6. Monitor Bounce Rate

After switching themes, you should monitor the bounce rate of your site.

If your new theme is not user-friendly and difficult to navigate, it may increase the bounce rate of your site.

You can add related posts, popular posts widget, and breadcrumbs to reduce the bounce rate and increase page views.

7. Ask for Feedback

You can also ask your users for feedback and suggestions on how to improve your site design. You can use survey forms or online poll to gather user input.

You can share the new design with your subscribers using an email marketing service and ask them for their suggestions. This will help you to get ideas on what they would like to see improved.

We hope this step by step guide helped you easily change your WordPress theme. You may want to see our list of the must-have WordPress plugins for business websites.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

23 CommentsLeave a Reply

  1. Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Hi regarding 3. Don’t Lose Any Tracking Code. If I added code with the “code snippets” plugin will they automatically transfer to the new theme?

    • You would want to double check with the plugin’s support but normally code added with plugins will remain after the theme change

      Admin

  3. Good Day!

    Would the same instructions be followed if I were to switch to the same exact theme? I have a theme but, it was licensed under the designer’s name yet, It was part of my purchase. I’m wanting to purchase another so that it will be licensed under my name and email. Is there a way to only switch the license information or would I need to follow the given instructions?

    • In that case, you would want to check with the support for the specific theme and they will let you know if any changes would affect your site or any steps you should take.

      Admin

  4. My website was done by a web developer agency. The theme they made has no update functions. Is this normal? Just written is the author(who are the developer) but no clickable link to take me anywhere.

    • If they created a custom theme and didn’t use a different theme as the parent theme, that would be normal.

      Admin

  5. I am new to wordpress and bought a theme but its title is on my page instead of MY title to my page. how do i fix this?

    • That would depend on your specific theme, if you reach out to your specific theme’s support they should be able to let you know where their setting for that is in their theme.

      Admin

  6. Hi,

    I found this really useful and I’d like to have a try at changing my theme to Astra. But (and I am a complete newbee in case you hadn’t guessed) I’m not sure how. I see and option to download the theme, but as I’m using the free wordpress hosting I don’t know how to install it – or maybe that’s not an option for free hosting. Any help very much appreciated.

    Thanks

  7. Is there any way to switch themes without losing customisation? I want to try a new theme not just preview it, but if I decide to finally use the first one, will it keep my customisation when I activated again?

  8. I’m surprised you didn’t at least mention doing this using a staging or development site. Surely that’s the ‘proper’ way to do anything like this?

    • When it’s available, a staging environment would be ideal for this but not all hosts have access to do that for all users.

      Admin

  9. Its a great article. And I recommend to go for DIVI because I personally use this theme and DIVI is for all types of websites.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.