Labinator LogoLabinator LogoLabinator LogoLabinator Logo
  • Home
  • About
  • Services
    • WordPress Services
      • WordPress Website Development
      • WordPress Website Security
      • WordPress Speed Optimization
      • WordPress Technical Support
      • WordPress Autopilot (All-In-One)
    • Special Web Services
      • Unique Content Writing
      • Website To App Conversion
      • Free Site Development For NPO
      • Custom Web Development
      • Startup Business Builder
    • App Marketing Services
      • Google Play ASO
      • Complete App Marketing
    • Digital Marketing Services
      • Technical SEO & Site Auditing
      • Digital Marketing (All-In-One)
  • Blog
  • Contact
  • Resources
    • Free PDF Guides
    • Third-Party Recommendations
Go To WordPress Marketplace
✕

How To Safely Change WordPress Themes – Ultimate Guide 2023

01/01/2021
Categories
  • WordPress Tutorials
Tags
  • WordPress Tutorial
How To Change WordPress Themes
(Last Updated On: 18/02/2023)

Learn how to change WordPress themes correctly and safely without breaking your site.

This step by step ultimate guide is crafted perfectly for beginners. You will learn how to install and change WordPress themes the right way without losing content or breaking your site.

A brief overview can be found directly below the table of contents.

Table of Contents
    Add a header to begin generating the table of contents

    How To Change WordPress Themes?

    1. Login to your WordPress dashboard.
    2. Create a full backup of your existing website.
    3. Activate the maintenance mode if you are not on staging website.
    4. Go to the Appearance > Themes from the left sidebar.
    5. Locate the “Add New” button at the top of the page.
    6. Upload your theme or select one from the WordPress repository.
    7. Install the theme by clicking on the “Install” button.
    8. Activate the theme by clicking on the “Activate” button.
    9. Test if everything is working well.

    What To Do Before Changing Your WordPress Theme?

    Before changing the theme, you must take the below steps before starting the process.

    1. Copy your code snippets

    Some WordPress users wish to customize their WordPress website by adding custom code snippets right into the function.php file of their theme.

    People usually forget about these custom changes that they have done in the past.

    If you or your WordPress web developer made these changes, then you need to go to the current theme and take note of these extra custom codes before changing your theme.

    2. Test the load time

    Before you change your current theme, you should test the load time of your website. That will allow you to compare the difference in the load time of the page after you made changes to your site.

    WordPress speed is a key factor in user experience and in search engine optimization. You need to make sure that your new theme is at least functioning at the same speed as your old one if not faster.

    Make sure you to test the speed on the home page and on all important inner pages. A great free tool that you can use is: GTMetrix.com.

    3. Copy your tracking codes

    Some web developers add their custom codes directly into their theme files. Also, many WordPress themes allow you to add Analytics or AdSense codes in their settings panel.

    Make sure you copy these codes if you are using theme so that you can re-configure them again after changing your theme.

    4. Take note of theme-related codes

    • Theme-Specific Shortcodes & Widgets: Shortcodes and widgets that came with your theme will not be carried over to the new theme. Take note of them if you have any. That will allow you to replicate them using custom codes or plugins if you still need them after activating your new theme.
    • Theme-Specific Homepage: There are some themes that allow you to create a special homepage for your website. These built-in features will not carry over to the new theme. Please note them as well so you can design a new homepage when your new theme is active.

    5. Make a full backup

    It’s always suggested to back up your entire website including your assets and database before changing your theme. A full snapshot backup is what you need. Your hosting provider may provide this feature. You can also install a WordPress backup plugin to do the job.

    6. Activate the maintenance mode

    If you are not working on a staging website or on a local host, it is recommended to activate the maintenance mode on your WordPress site before changing your theme.

    You can find many plugins on WordPress.org that offers a maintenance mode functionality for your website.

    How To Choose The Right WordPress Theme?

    We have a full detailed guide on this topic that explains all the factors that you need to be aware of.

    Check it up by clicking here.

    A short summary is provided below:

    • It must be fast, lightweight, accessible, responsive, and bloat-free.
    • It should not depend on any plugins or force you to install any.
    • It should be e-commerce ready, translation ready, SEO optimized, and AMP friendly.
    • All of its codes should be valid and secure.
    • It should also be customizable and fully supports all popular page builders.
    • It should come with free updates, documentation, and support.
    • It should be licensed under GPLv2 or later without limitations or restrictions.

    Learn more by checking our complete WordPress theme changing guide.

    How to Install a new WordPress Theme?

    After following the important steps mentioned above, the next step would be to install the theme that you want to use on your WordPress site.

    If you haven’t already selected a theme, we highly recommend you to check our WordPress Marketplace that contains the best coded themes for WordPress. Our marketplace also covers all your needs in one affordable lifetime membership.

    How To Change Your WordPress Theme Without Going Live?

    It is important to test your newly installed WordPress theme with your existing content and plugins.

    Find below two popular ways to test your theme without going live.

     

    Method 1 - Use The Live Preview Option

    WordPress allows you to preview your newly installed theme before activating it.

    To preview your theme, head over to the Appearance > Themes from the left sidebar of your admin panel.

    You’ll see all the themes that you have installed. Move your cursor over the theme you want to preview and then click on the Live Preview button.

    Live Preview In WordPress

    It will open you newly installed inactive theme in the WordPress Theme Customizer. That will allow you to test your theme without activating it.

    Method 2 - Activate The Maintenance Mode

    Alternatively, you can activate a maintenance mode on your website. That would allow you to test your new theme properly at the cost of some downtime.

    This is a much better method of testing than the first one but it only works if you can afford to put your website down for some time until you complete your test.

    Method 3 - Test On A Staging Website

    This is the professional method of testing. If your hosting provider offers a website staging feature from its cPanel, it will make your job much easier.

    You simply need to create a staging environment for your site, apply the changes that you need, then test everything up. Once you’re done testing and feel perfectly satisfied with the results, you can then roll these changes on the live website.

    Contact your web hosting provider and ask him about this feature. All of them have it.

    Alternatively, you can clone your website to a local WordPress installation to test these changes.

    How To Activate Your WordPress Theme?

    To activate your theme, go to the Appearance tab, and then click on Themes from the left sidebar of the WordPress admin panel.

    Activate WordPress Theme

    Thereafter, you need to move the cursor over the theme you want to use and then click on the Activate button.

    How to Change Your WordPress Theme Manually?

    Occasionally an error can make your WordPress Admin Dashboard beyond reach. If your old theme is causing the problem, then you need to change it manually from your server.

    Note: If your hosting provider is keeping backups of your website, you might be able to roll back to a working version of your site. 

    However, in case you don’t have a backup, then you need to change the theme manually. One method to do so is by using the phpMyAdmin.

    First of all, connect to your server using an FTP client then go to the /wp-content/themes/ folder.

    Here you’ll be able to see all the currently installed themes on your website. You can also install a theme via FTP by uploading its zip file then decompressing it in the /wp-content/themes/.

    Note: Make sure to write down the folder name of the theme that you want to use because you’ll need it later.

    Thereafter, go to the cPanel, scroll down to the Databases section, and click on the phpMyAdmin.

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

    Next, after clicking, it’ll show the list of tables in this database. You’ll need to click on the wp_options table to open it. By default, WordPress uses wp_ as the prefix for the table names. However, it is also possible to have a different prefix if you have specified a custom one during your WordPress installation.

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

    Changing WordPress Theme Manually Image 1

    Click on the Edit button in the template row to open the editor.

    In the option_value field, you’ll need to change the value to the theme name you wish to use. It’s usually the same as the folder name that you have copied earlier.

    Changing WordPress Theme Manually Image 2

    When you’re done, you need to click on the Go button to save the changes.

    Repeat the same process for the “stylesheet” row. That will complete the process of changing your theme manually. View it live to confirm the changes.

    What To Do After Changing Your WordPress Theme

    1. Update Your Permalinks

    Go to the Settings > Permalinks screen and choose the right option that suits your website. Updating your permalinks may solve some URL problems when choosing a new theme.

    2. Test Your Website Properly

    Take your time in testing your website to ensure that everything is working well before you settle on your newly chosen theme.

    Test you pages, posts, contact forms, and any custom functionality your website provides.

    WordPress Guides

    Best Collection Of WordPress Guides & Checklists

    Our complete and latest collection of WordPress guides and resources that cover everything you need to get the most out of your WordPress website.

    WordPress Launch Checklist
    WordPress Theme Choosing Guide
    WordPress Security
    WordPress Cleaning & Optimization
    White Labeling WordPress
    WordPress Speed Optimization
    Must-Read WordPress Mistakes
    Why WordPress

    Download Them All!

    All of our guides will be sent to your inbox

    Share

    Related posts

    Must-Have WordPress Plugins Guide Thumbnail
    05/01/2022

    What WordPress Plugins Do I Need? (2023)


    Read more
    Bootstrap and WordPress Ultimate Guide Thumbnail
    04/01/2022

    Bootstrap and WordPress Ultimate Comparison (2023)


    Read more

    Main Pages

    • Home
    • About
    • Products
    • Services
    • Blog
    • Contact
    • Resellers

    Powered By

    PayPal Payments

    Popular Services

    • Develop Your Website
    • Speed Up Your Website
    • Secure Your Website
    • Manage Your Website
    • Promote Your Website
    • Develop Your App
    • Promote Your App

    Featured Posts

    • What Is WordPress Used For
    • How To Choose WordPress Themes
    • Increase WordPress Memory Limit
    • WordPress White Labeling Guide
    • WordPress Security Guide
    • WordPress Speed Optimization Guide

    WordPress Themes

    • GrandSpace Theme
    • NanoSpace Theme
    • PicoSpace Theme
    • A11y-Bootstrap Template

    WordPress Plugins

    • Cleaner & Reset Center
    • Ultimate Folders Manager
    • Content Types Duplicator
    • Minimal Maintenance Mode
    • Hide Admin Notifications
    • Customizer Settings Backup
    • Carbon Gutenberg Blocks
    • Advanced Custom Codes
    • Extreme Spam Blocker
    • HTTP Security Headers
    • Login DDoS Guard
    • Restrict Login Attempts
    • Admin Dashboard Theme
    • White Label Branding

    WordPress Marketplace

    • Accessible Bootstrap Templates
    • Premium WordPress Themes
    • Premium WordPress Plugins
    • WordPress Management Service
    • Affiliates

    Extra Links

    • Testimonials
    • Legal Pages

    Energized By

    HostArmada Logo
    © 2023 Labinator. All Rights Reserved.