- Article
- Beginner
- 4 minutes read
- Reviewed August 3, 2026
Changing a WordPress theme replaces the active presentation layer. It does not normally delete the website's core content, but it can change how that content is displayed and which theme-specific features remain available.
The safest way to approach a theme switch is as a controlled migration rather than a cosmetic toggle.
Content That Normally Remains
Content stored independently from the theme generally remains in WordPress:
- Posts and pages.
- Media Library records and uploaded files.
- Users and comments.
- Standard categories and tags.
- Custom post types and taxonomies registered by plugins.
- Plugin settings and ecommerce data.
- Site title, URL and many general settings.
The new theme may display these records differently, but switching themes does not ordinarily remove them.
Theme-Specific Settings
Themes can store Customizer settings, style choices and other theme modifications under the active theme's identity.
When you switch away, those values may remain in the database but stop applying. Reactivating the original theme can restore many of them.
Block themes may also have user-created templates and Global Styles customizations. Stored customizations are associated with the theme and do not necessarily transfer meaningfully to another design system.
Menus and Navigation
Classic themes register menu locations such as primary, footer or social navigation. A new theme can use different location names, so existing menus may need reassignment.
Block themes use Navigation blocks inside templates and template parts. Navigation data can remain available, but the new theme's header template may use a different menu or no Navigation block at all.
Always test every navigation region after switching.
Widgets and Sidebars
Widget content is stored separately, but widget areas are registered by the theme.
If the new theme does not provide the same sidebars, WordPress may move widgets to an inactive area or leave them unassigned. Block themes may replace widget-based regions with template parts and blocks.
Record existing widgets before migration, especially when they contain custom HTML or operational information.
Templates and Page Layouts
Theme templates do not transfer automatically.
A page that used a custom template in the previous theme may fall back to the new theme's default page template. Block patterns, style variations and theme-specific template parts can also disappear from the editing interface.
Review:
- Homepage.
- Blog index.
- Single posts and pages.
- Search and 404 pages.
- Category, tag and author archives.
- Custom post type singles and archives.
- Ecommerce and account templates.
Theme-Dependent Functionality
The greatest risk comes from functionality stored in the theme.
A theme may register:
- Custom post types.
- Shortcodes.
- Custom blocks.
- Page-builder elements.
- Scripts and integrations.
- Custom fields or meta boxes.
When the theme becomes inactive, those features may stop loading. Content can remain in the database but become inaccessible or display raw shortcodes.
Identify these dependencies before switching and move durable functionality to plugins where possible.
Custom CSS and Code
CSS added directly to theme files will not affect the new theme. Additional CSS stored through WordPress may be associated with the old theme or may no longer match the new markup.
Code snippets placed in the old theme's functions.php stop running after the switch. Audit them and move appropriate functionality to a child theme, custom plugin or snippet-management process.
A Safe Theme Migration Process
- Create a complete backup.
- Clone the site to staging.
- Inventory menus, widgets, templates, CSS and theme functions.
- Identify proprietary blocks and shortcodes.
- Activate the new theme in staging.
- rebuild required templates and navigation.
- Test content types, forms, accounts and integrations.
- Check responsive behavior and accessibility.
- Map redirects if URLs change.
- Schedule production activation and monitor the result.
Frequently Asked Questions
Will my SEO disappear when I change themes?
SEO plugin data usually remains, but headings, structured data, page speed, internal links and template markup can change. Audit important pages after the switch.
Can I switch back to the old theme?
Usually yes if it remains installed. Many theme-specific settings return, but changes made while another theme was active may still require review.
Why are shortcodes showing as text?
The old theme may have registered those shortcodes. Move the shortcode implementation to a plugin or replace the affected content.
Continue Learning
Previous: Installing, Activating, Updating and Deleting Themes