Monday, April 13, 2020

Beginners Guide How to Change a WordPress Theme

Are you trying to figure out how to change a WordPress theme? The actual process for switching WordPress themes is fairly simple but there are some additional steps that you should take to ensure that the process goes smoothly.To help with that, Ill give you a beginner-friendly tutorial on the best way to change WordPress themes while preserving your sites existing content and functionality. But before I get to the tutorial, let me start with a quick discussion about what happens to your content when you switch WordPress themes. Most of your regular site elements will not be affected by changing themes. That is, beyond the new styling that they might get from your new theme, nothing will change with:Your posts and pages. Nothing bad will happen to your posts and pages when you switch themes.Any core WordPress settings. For example, if youre using a static homepage, that will stay the same even after you switch WordPress themes.Any plugins that youre using. As long as they arent tied to your current theme, these plugins should continue to function normally.Basic site information. Your site name and description will stay the same.But there are some theme-specific pieces of content that wont necessarily make the journey when you change themes. These are things like:Theme-specific shortcodes. If youre using shortcodes that came with your theme (rather than a standalone shortcode plugin), those shortcodes will cease to function once you change themes.A theme-specific homepage. Some themes, like our Neve themes, come with special homepage sections that function outside the normal WordPress page system in order to offer more flexibility. If you use such a theme, your custom homepage will disappear when you change themes.Themes-specific widgets. Like shortcodes, some themes come bundled with custom widgets. If youre using such widgets, they will cease to function when you change themes.Additionally, you may need to reconfigure your existing menus and widget areas but you wont actually lose any functionality with them.In a nutshell, the vast majority of your content will come through unscathed when you switch WordPress themes. But if youre using any functionality thats unique to your theme, rather than part of a plugin or the core WordPress software, you will probably lose those things when changing themes.How to change a WordPress theme the right wayIn this section, Im going to focus entirely on the how part of how to change a WordPress theme. But weve also already written a post with some steps to take before changing your WordPress theme.I encourage you to read that post for more details. But in general, we recommend that you:Back up your siteCreate a staging site (if possible)Once you have a backup (at a minimum), youre ready to move on.Step 1: Install new WordPress themeTo get started, you need to install the new WordPress theme that you want to use.To do that:Go to Appearance → ThemesClick on Add NewIf you found your theme at WordPr ess.org, you can search for it by name and click the install button:And if you purchased a premium theme or otherwise have a ZIP file, you can upload the ZIP file by clicking the Upload Theme button:Once you install your new theme, dont click the activate button yet, though.Step 2: Preview new theme with WordPress CustomizerThe WordPress Customizer has a helpful feature that lets you play around with your new theme on a live preview of your site before making it active.This is helpful because it:Lets you see how your new theme looks with your existing contentGives you a chance to correct any issues with menus or widgetsHeres how to use the WordPress Customizer to preview your new theme:Go to Appearance → Customize in your WordPress dashboardYou should see a live preview of your current themeClick Change in the Customizer sidebarClick the Live Preview button next to the new theme that you installed in the previous stepNow, you should see a live preview of your existing content using your new theme:You can see that, on my example site, WordPress was actually able to correctly sync up the existing menus and widgets with the new theme.Hopefully the same happens to you!But if it doesnt, you can also use the Menus and Widgets options in the Customizer sidebar to fix any issues that you see:Assuming your new theme makes use of the WordPress Customizer, you can also make other tweaks. And you can also click through your site to see how other pages look. For example, if you click on a blog post, WordPress will load that blog post using the preview of your new theme.Step 3: Activate new themeOnce youre happy with how things look, to make your new theme live, all you need to do is click the Activate Publish button:And thats it! You just learned how to change a WordPress theme.Wrapping things upMost people will want to switch themes at some point in their time with WordPress, so learning how to change a WordPress theme is something that every WordPress user should know.While the actual process itself is simple, doing it the right way helps ensure that you dont just switch themes, but also that your site functions just as well with your new theme as it did with your old theme.Remember, heres all you need to do:Install your new themePreview your new theme before activating it by using the WordPress CustomizerMake sure your menus and widgets look rightActivate your theme from the WordPress Customizer to make it liveIf you have any other questions about how to change a WordPress theme, leave a comment and well do our best to help out! Here's how to switch #WordPress #themes the right way

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.