Google搜索ads怎么推广省钱奇赞 - 靠谱的牛人

WordPress建站教程:如何解决Slider Revolution插件导致后台变慢的问题 WordPress Tutorial: How to Fix Slider Revolution Plugin Slowing Down

WordPress建站教程:如何解决Slider Revolution插件导致后台变慢的问题

WordPress建站教程:如何解决Slider Revolution插件导致后台变慢的问题

WordPress Tutorial: How to Fix Slider Revolution Plugin Slowing Down Your Admin Panel

作者/Author: 悦然WordPress建站 (Yueran WordPress Website Building)

今天我们将继续分享WordPress建站教程。Slider Revolution插件以其强大的幻灯动画功能著称,它几乎相当于一个简易的动画制作系统,只要发挥创意,您就能制作出各种炫酷的网站幻灯动画。

Today we continue our WordPress tutorial series. The Slider Revolution plugin is renowned for its powerful slideshow animation features, essentially functioning as a simple animation creation system. With some creativity, you can produce various stunning website slide animations.

问题/The Problem:

然而,国内用户使用这款插件的情况相对较少,主要是因为大多数用户在安装Slider Revolution插件后都会明显感觉到WordPress后台运行变慢,最终不得不放弃使用。

However, this plugin is relatively less used among domestic users, primarily because most users experience noticeable slowdowns in their WordPress admin panel after installation, often leading them to abandon its use.

原因/The Cause:

Slider Revolution导致WordPress后台变慢的主要原因是它加载了YouTube等在国内无法访问的资源。

The main reason Slider Revolution slows down the WordPress admin panel is that it loads resources like YouTube that are inaccessible in China.

解决方案/Solution:

解决方法其实很简单 - 删除那些在国内无法加载的资源。这个方法最初是在站长帮看到的,现在分享给大家。

The solution is actually quite simple - remove those resources that can't be loaded in China. This method was originally seen on Webmaster Help, and we're sharing it with you now.

具体步骤/Steps:

  1. 定位到 revslider/admin/views 中的 header.php 文件

    Locate the header.php file in revslider/admin/views

  2. 使用宝塔面板或其他文本编辑器打开这个文件(约在167行):

    Open this file using Baota Panel or another text editor (around line 167):

    <script src="https://player.vimeo.com/api/player.js"></script> <script src="https://www.youtube.com/iframe_api"></script>
  3. 修改为(或直接删除这两行代码):

    Modify to (or simply delete these two lines):

    <!-- <script src="https://player.vimeo.com/api/player.js"></script> --> <!-- <script src="https://www.youtube.com/iframe_api"></script> -->
  4. 同样的方法打开 revslider/admin/assets/js/modules 中的 overview.min.js 文件

    Similarly, open the overview.min.js file in revslider/admin/assets/js/modules

  5. 搜索:src="https://platform.twitter.com/widgets.js"

    Search for: src="https://platform.twitter.com/widgets.js"

  6. 替换成:src=""

    Replace with: src=""

完成这些修改后,重新打开Slider Revolution后台,您会感觉速度明显变快了。

After making these changes, when you reopen the Slider Revolution admin panel, you'll notice a significant speed improvement.

插件使用建议/Plugin Recommendation:

最后谈谈Slider Revolution插件。对于国内中文WordPress建站来说,这个插件可能用处不大,因为再炫的幻灯图也没什么实质作用。然而,在WordPress外贸建站中,Slider Revolution的使用更为普遍。我的许多外贸建站项目也在使用它,因为大多数国外WordPress主题都集成了Slider Revolution插件,缺少它主题就不完整了。

Finally, let's discuss the Slider Revolution plugin. For domestic Chinese WordPress websites, this plugin may not be very useful as flashy slideshows don't add much practical value. However, in WordPress websites targeting foreign markets, Slider Revolution is more commonly used. Many of my international website projects use it because most foreign WordPress themes come integrated with the Slider Revolution plugin - without it, the theme would be incomplete.

WordPress建站教程:如何解决Slider Revolution插件导致后台变慢的问题