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 designs that are difficult to achiev

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值