How to change your WordPress theme (not lost content)

Change your WordPress theme is a good way to unlock the new feature or make your website a new good way. Although switching themes are not as simple as clicking the button, don’t let fear make your website lack.

Take a deep breath, operate in an orderly manner according to the steps, and ensure that you have time to complete a complete and detailed work -improved, more modern, and more practical website version can become a reality.

It marks that it is time to change the WordPress theme

Whether you are running online stores, blogs or service -based websites, you may need to consider updating the design of the website or the design or the design of the website or Features. Maybe you need a new appearance to match the brand update. Maybe you want to keep up with a new modern design trend. Alternatively, you may need to improve website speed or add valuable features.

The following is some reasons why you may want to switch the theme of WordPress:

  • to show your visitors to match the modern cutting -edge design that matches your current brand
  • Valid validity Utilizing the latest WordPress function and new features
  • combined with the latest changes in Google SEO ranking factors, such as mobile priority design
  • can meet the ADA or WCAG access standards
  • 123]
  • Access page layout and new block type, quickly and easily add attractive content to your website

  • Use more streamlined code to improve the speed problem on your website

[

123] If the developer no longer supports your theme, please protect the security of your website

With all these potential benefits, is it a bad idea to change your WordPress theme? Yes. Here are some potential scenes that make the theme of switching more difficult:

  • Your website is used The customized, theme -related pages constructive

  • In addition to the style, your website also contains additional features -such as customized small components, shortcods or post types -if you change the theme of the theme These functions will be lost

  • Your website includes a specific block or plug -in packed with the theme

However, these potential problems can be solved. In some cases, switching themes are very important. For example, for exampleIf your theme is no longer supported, insisting on using it will bring real security and functional risks.

But we strongly recommend that in these cases, you can complete a complete backup of your site before continuing and work as much as possible in the temporary environment.

可用于 WordPress 的主题

在新的WordPress 主题中寻找什么

选择新的WordPress 主题(或WooCommerce 主题)时,请查看以下内容:

[ 123] 1. Do not restrain your features

It seems to be a great integrated transaction with the topic of providing many additional features (such as custom post types or page builders). But using this theme means that it is more difficult to switch in the future. In order to retain basic functions, you will be locked in this theme. If developers stop providing support or update in the future, this may become a security issue. If you do not use all the functions contained, it may also make your website slower than the required.

Therefore, in many cases, it is best to find the topic that provides only the layout and use separate individuals Plug -in to provide the functions you need.

2. Active development and support

Make sure the topic you choose will be updated regularly to the latest version of WordPress. Whether you choose free or advanced options, this is applicable. You also need to choose a supporting theme, whether through an open forum or a private ticket system.

3. Modern design technology

Of course, this means an excellent visual appearance, but it also means that the modern browser is taken into account when constructing Access standards.

4. Praise

Comment is usually the best way to judge whether the theme is high -quality. Understand the views of real users on design, ease of use, speed, function and support. If there are many bad feedback, you may want to stay away.

What to do before changing the theme of WordPress

After selecting the new theme, make sure your current website is in the best position for processing switching. Implement the following steps before changing the theme:

Back your website [123 ]. Make sure to create a complete backup before starting the process. Jetpack backup is easy to recover -just click a few times–Even after the theme changes, you should consider continue to let it protect your investment. If there is any problem, it will be your best friend.

  1. review whether your existing site has any custom PHP code . Check if you add any custom code to your current theme file, especially in Functions.php
  2. file. Copy the code fragment to the local file, you can insert them into your new theme, or use plug -ins such as Code Snippets to make this non -theme -related feature.

  3. Review any custom CSS code on your existing website . Check your current theme to understand any changes to the CSS code that may directly related to the website. Copy any key changes to local documents so that they can be inserted into your new theme. In the future, you may also want to use the additional CSS
  4. part of the WordPress customizer to add a custom CSS code to separate it from your theme.

  5. Keep any tracking code. This includes Google Analytics tracking code and Facebook pixels. Just copy them to a separate file, you can add them to your site.
  6. Shooting Snapshot in any small part area
  7. . Small component areas (such as football and sidebar) are the most likely part of the theme changes. Screenshots of the small components in the instrument panel can be easily recreated after switching.

  8. Replace any necessary theme -related functions
  9. . If your website uses the function of a specific theme -such as built -in page builder, custom post type, short code or packaging high -level plug -in -you will need to find another solution. The best strategy is to replace this function with the same service but the trusted plug -in outside your theme. If your theme uses a custom page builder, it is particularly important, but it is also tricky. You may want to save the content based on text in a simple local document to prevent it from being completely reconstructed in the new theme.

  10. Operating speed test . Finally, you need to ensure that the effect of the new theme is at least as good as the old website. Therefore, running speed tests before switching so that you can compare the previous and later results. Tools such as Google PageSpeed \u200b\u200bInsights and GTMETRIX are good choices.
  11. How to change your workerDPress theme

Once you are ready to change your WordPress theme, please lock your website first. Make sure no one will make any changes or any actions that may not be transferred on your website -for example, there are no new blog articles, e -commerce orders or forms. You also hope to ensure that websites will not see unreparable or faulty websites during the transition. Jetpack.com 的 GTmetrix 页面速度得分

Generally, this means that your entire site is placed in the maintenance mode. Several great plugins can replace the entire front end of your website with a maintenance page without affecting your search engine ranking. After entering the maintenance mode, you can handle the layout of the real -time site in the background, and the visitors will not see the ongoing theme exchange. However, if you can access your host, it is best to create a temporary site. It is a complete copy of your site for development. A good hosting software package allows you to create temporary sites from one click in the host control panel, and it is also easy to publish it back to your main site. If your host does not have this function, you can use Jetpack Backup to create a copy and install it under the sub -domain, or use temporary plug -ins such as WP Staging.

Whether you work on the main site behind the wall or work on the temporary site, the following is the step of changing the theme:

Install your new theme . In your instrument panel, turn to appearance → theme , and then click the

to add a new

    button on the top. You can upload the new theme zip file here, or if your theme is located in the WordPress directory, use the search function to find and select it.

  1. Preview your theme . Select appearance → custom from the dashboard menu. You will see the current theme in the upper left corner. Click next to its name to change the
  2. button to view all the installed themes. Then click the

  3. real -time preview button under the new theme. If the website version that lacks content is embarrassing, please don’t worry -once the new theme is in a state of activity, you can repair it. Now, just write down any obvious problems you need to solve and make sure you can view the theme without any major errors. Do switch! If the preview looks good, please click on the left customizer dish change button on the top of the single top to activate the new theme.
  4. Come, look around! After activating your new theme, it is time to browse each page and find out what is running well and what needs to pay attention to.
WordPress 仪表板中的二十二十二主题

The steps to be taken after changing the theme Any questions on your website and repair any questions that need to be repaired. The following is the steps that should be taken after switching themes: Rebuild any lost content pages . Check out if all your pages have any custom block areas lost during switching. Then use the block in the new theme to re -add the content. Also pay attention to the small component area -your sidebar or footprint may need to be rebuilt.

Fix any

custom briefing problem

. If your original website is built with a pages associated with your theme, you may need to delete the old short code and use WordPress editor or plug -in to re -create them.

  1. Add any required custom code to your new theme file, including PHP fragments, custom CSS, and tracking code. But remember: If possible, it is best to use a plug -in or WordPress customizer to separate these types of customization.
  2. Test, test, test. Try every page and as many posts as possible. Use various browsers to test them on different devices. Make sure you try mobile devices, tablets, and desktops (or try online screen resolution testers such as ScreenFly and other online screen). Find any layout problems and repair or rebuild the page part as needed.
  3. Everything looks good? It’s time to show the world! Push your site back to your main site and delete the maintenance mode page. Your new theme has been launched!

After the new site was started, it was completed by running the final speed test to ensure that all responses were good and run smoothly. Essence Compare this with your original benchmark to ensure that the new theme is working normally.

If there is a problem if you change the theme of the WordPress

If you spend time and follow the list, then your new website should beReady. But the problem sometimes happens -don’t panic! If you see the terrible white screen crash, then you are likely to encounter conflicts between your new theme and other parts of your website. Use your host panel or connect to your site via FTP to disable your plug -in and find out the problem. If the problem is on the plug -in, you may need to find an alternative. If your site is insufficient, this problem will also occur. Try to use your host control panel to increase your memory limit. If this cannot solve the problem, you can restore backup at any time.

If you find a problem Reset the permanent link to solve. View

settings

→ permalinks in the dashboard, and then click Save Changes . This should refresh your permanent link and repair any 404 error. Enjoy your new WordPress theme!

Congratulations, you should now have a brand new website to provide visitors with improved visual effects and functions, and provide you with a better experience. Make sure to use the WordPress security plug -in provided by JetPack to protect your website. From the real -time backup of the copy of the site to the violence attack protection, you can let things run smoothly without sweating. 使用 Jetpack 成功进行备份还原

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *