Blog · WebJi® India

How to Change a WordPress Theme

Quick answer: On a self-hosted WordPress site, open Appearance, then Themes, hover the theme you already installed, and click Activate. Posts, pages, and media stay in the database. Menus, widgets, the homepage, and theme design settings often need to be set again. Keep the old theme installed so you can switch back.
✓ In business since 2005✓ INR + GST billing✓ 24/7 Email Support — avg reply < 60 min
Close-up of rack-mounted servers with glowing blue and green status LEDs, shallow depth of field — how to change wordpress theme

What a WordPress theme change keeps

A theme change swaps layout files. It does not delete the content stored in the database. Posts, pages, comments, users, and the media library remain. Plugins stay installed. The public site looks different because the new theme supplies its own header, footer, and templates.

WhatAfter you change the WordPress theme
Posts, pages, media, comments, usersStay in the database
PluginsStay installed. A plugin built only for the old theme can stop rendering
MenusSaved. Assign them to the new theme locations
Widgets on a classic themeMove to Inactive widgets
Customizer and theme optionsReset. They belong to the theme that saved them
Homepage built by the old themeCan fall back to the latest posts or the new front template
Shortcodes from the old themeCan show as plain text until you replace them

WordPress.com labels this screen Theme Showcase. A self-hosted site, including one on WordPress hosting, uses Appearance, then Themes. Activate changes which folder WordPress loads. It does not move your pages.

The clicks are the same for a default year theme or a niche design. Finding a theme, or detecting which theme another site uses, is a different job. Install the theme first, then activate it from Appearance, then Themes.

What to back up before you change a WordPress theme

Take a full backup before you click Activate. You need the WordPress files and a database export. Leave the current theme installed until the new layout is checked. Deleting it removes the way back.

Close-up of rack-mounted servers with status lights

In cPanel, follow how to take a full cPanel backup and download the archive before you switch. A copy that stays only on the same account does not help if that account is what breaks.

Copy homepage sections, footer text, and shortcodes that you cannot find in the page editor. Those pieces are not normal posts, so a theme change can drop them from the screen.

Also copy CSS from the old theme file. CSS saved under Appearance, then Customize, then Additional CSS is stored in the database and usually survives.

How to preview a WordPress theme before you activate it

Live Preview shows the new theme on your content without making it the theme visitors see. Close the preview and the public site is unchanged.

Use a staging copy when the plan includes one. Switch the theme there and fix menus before you touch the live site. Not every shared plan has that copy. Do not assume a one-click staging site.

If there is no staging copy, use Live Preview on the live site and keep the previous theme in the list.

The theme has to be installed before either check. If it is missing from Appearance, then Themes, follow how to install a WordPress theme and come back. Do not activate a folder that exists only on your computer.

How to activate a new WordPress theme

Activate only after the backup is downloaded and the theme is already in the list. You need an Administrator login.

  1. Log in at /wp-admin/ as an Administrator. An Editor account cannot activate a theme.
  2. Open Appearance, then Themes. Note which theme is marked Active, and leave that theme installed.
  3. Hover the new theme and click Live Preview. Check the home page, one post, and the menu. Close the preview if the layout is wrong. The live site has not changed.
  4. Hover the same theme and click Activate. If you use a child theme, activate the child, not the parent. The parent alone drops the child design.
  5. Open the public home page in a private window. A new header or type means this theme is live. Open one old post and confirm the text is still there.

On this self-hosted screen the Activate control is on the theme card. After it, a block theme opens Appearance, then Editor. A classic theme still uses Appearance, then Customize, for colours and Additional CSS.

What to fix after you change a WordPress theme

After you activate the theme, assign menus again, put widgets back, and check the homepage. The new layout can be correct while those three still look empty.

  • Menus: open Appearance, then Menus, then Manage Locations. Assign each saved menu to a location the new theme lists. An unassigned menu is not deleted.
  • Widgets: open Appearance, then Widgets. On a classic theme, old widgets sit under Inactive widgets. Drag back the ones you still want. A block theme may have no sidebar, so rebuild that text in a template part.
  • Homepage: open Settings, then Reading. If the home page became the latest posts, set it back to the static page you used before. Some themes also ship their own front template.

Re-check a form, the search box, and the checkout if the site sells. A missing menu location is a setting. A checkout that lost its layout can be a theme that does not support WooCommerce templates.

Custom CSS that lived in the old theme file does not come across. Paste the rules you saved into Additional CSS, then drop rules that target class names the new theme does not use.

How to fix a broken layout after a theme change

A broken layout after a theme change is usually cached CSS, a shortcode the new theme does not run, or a plugin that called a function in the old theme.

A private window that still looks like the old site is cache. Clear the cache plugin, then follow how to clear the WordPress cache, and reload. If the private window is already correct, the normal browser was holding the old CSS.

Shortcodes that print as bracketed text came from the old theme or its builder. The new theme does not run them. Replace that block with editor blocks, or activate the previous theme if you need the old page today.

A critical error, or a white screen, right after Activate is often that plugin conflict. Activate the previous theme from Appearance, then Themes. If wp-admin itself will not open, change the theme in the database before you rename plugins.

How to switch back to the previous WordPress theme

Activate the previous theme from Appearance, then Themes, if it is still installed. The old layout returns. Posts you published after the switch stay. You do not deactivate a theme as a separate step. Activating another theme is the switch.

If wp-admin will not load, change the active theme in the database. Open the database for this site in phpMyAdmin. In the options table, often named wp_options, use the prefix from wp-config.php. Find the rows named template and stylesheet.

Set both values to the previous theme folder, the folder inside wp-content/themes that contains style.css. Save both rows, then reload wp-admin.

Use a folder that already exists on the account. A wrong name leaves WordPress pointing at a missing theme. Do not edit other option rows to change the theme.

If the previous theme still will not load, email support@webji.services with the domain. The mailbox is 24/7 in Hindi and English, and the average first reply is under 60 minutes. Do not use the office phone for a theme fault.

Questions about changing a WordPress theme

Can I change a WordPress theme and keep my content?

Yes. Posts, pages, comments, users, and media stay in the database. Homepage sections, widget text, and shortcodes that lived only in the old theme can disappear from the screen. Copy those into a page before you activate.

How do I change my active WordPress theme?

Log in as an Administrator. Open Appearance, then Themes, hover the installed theme, and click Activate. Use Live Preview first. A private window on the home page should show the new layout, and an old post should still open.

Do menus and widgets stay when I change themes?

Menu items stay. Open Appearance, then Menus, then Manage Locations, and assign each menu to a location the new theme provides. On a classic theme, widgets move to Inactive widgets. Drag the ones you still want into the new areas.

How do I switch back to my old WordPress theme?

Leave the old theme installed. Open Appearance, then Themes, and click Activate on it. If wp-admin will not load, set the template and stylesheet rows in the options table to that theme folder name.

Why does the site look broken after a theme change?

A cache can still send the old CSS. Clear the cache plugin and reload in a private window. If shortcodes show as plain text, the old theme supplied them. Replace those blocks, or activate the previous theme.

Should I test the new theme on a staging copy first?

Yes, when the hosting plan includes a staging copy. Fix the layout there, then repeat the same clicks on the live site. If there is no staging copy, use Live Preview and keep the old theme so you can activate it again.

Need help with this?

WebJi® support does it for you — free. Talk to our Jaipur team →