wordpress主题修改_更改WordPress主题的10个步骤指南

wordpress主题修改

Changing your WordPress theme is, on the surface, a very easy process: find a theme, install it and click activate. Done. Well, not quite. In reality, there’s a lot more that needs to be done before, during and after installing a new theme and in this article we’re hopefully going to stop you from making lots of unnecessary mistakes by showing you our 10 step guide to changing your WordPress theme.

从表面上看,更改WordPress主题是一个非常简单的过程:查找主题,安装主题并单击激活。 做完了 好吧,不完全是。 实际上,在安装新主题之前,之中和之后还有许多工作要做,在本文中,我们希望通过向我们展示更改WordPress的10步指南来阻止您犯很多不必要的错误。主题。

通过备份避免崩溃和烧伤 (Avoid crash and burn by backing up)

When you activate a new theme, some things are permanently changed. Even if you remove it and reactivate your old theme, not everything is guaranteed to work as it did. In addition, you might find that your new theme has compatibility issues with your plugins and causes internal errors that break your entire site. If this happens, you need to be able to restore your website back to its pre-installation, working version.  So, before you start the process, backup your entire website, including the database.

激活新主题时,某些事情会永久更改。 即使您删除了它并重新激活了旧主题,也不能保证所有内容都能像以前那样正常工作。 此外,您可能会发现新主题与插件存在兼容性问题,并会导致内部错误,从而破坏整个网站。 如果发生这种情况,您需要能够将您的网站还原到其预安装的工作版本。 因此,在开始该过程之前,请备份整个网站,包括数据库。

告诉访客您正在更新 (Tell your visitors you’re updating)

WP maintenance mode

Installing a new theme properly takes time and means your site can be offline for a while. If you have a mailing list, send out an email telling your regular visitors what’s happening and when. This way, they will know not to visit at those times.

正确安装新主题需要花费时间,这意味着您的网站可能会离线一段时间。 如果您有邮件列表,请发送一封电子邮件,告诉您的常规访问者发生了什么事情以及何时发生。 这样,他们将知道在那个时候不访问。

At the same time, download and install a ‘maintenance’ plugin. You can configure this to let visitors know that you’re temporarily offline for scheduled maintenance.  This will stop people seeing a half finished website when they visit.

同时,下载并安装“维护”插件。 您可以对此进行配置,以使访问者知道您暂时离线以进行计划的维护。 这将阻止人们在访问时看到半成品的网站。

如果您有页面生成器,请复制并保存您的内容 (If you have a page-builder, copy and save your content)

Many themes, especially from third-party companies like Theme Junkie and Elegant Themes, come with a built-in ‘page builder’. These page builders enable users to create page templates and des

原文链接:https://blog.csdn.net/culu1614/article/details/107987541?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522171852351316800197032727%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=171852351316800197032727&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~times_rank-26-107987541-null-null.nonecase&utm_term=wordpress%E4%B8%BB%E9%A2%98

© 版权声明
THE END
喜欢就支持一下吧
点赞14 分享