如何在wordpress中更新jquery版本? [英] How to update jquery version in wordpress?

查看:347
本文介绍了如何在wordpress中更新jquery版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更新wordpress CMS的jquery版本请告诉我这一步,因为我是wordpress中的新手。谢谢。

解决方案

我想在此前言说你的WordPress实例当前正在加载的版本是实例已经过测试的版本,并且您可能会遇到使用较新的未经测试版本的不可预测的结果,这可能与其他jQuery脚本,插件等不兼容。



但是,如果您仍然想使用最新版本的jQuery,并且您没有比直接操作主题function.php文件更合理,那么您应该使用



jQuery Updater插件



将加载最新稳定版本的jQuery,并覆盖WordPress用于主题控制的网站非管理区域的版本插件。

I want to update jquery version for wordpress CMS please suggest me the step as I am newbies in wordpress.Thank you.

解决方案

I want to preface this by saying that the version that your WordPress instance is currently loading is the version that instance has been tested against, and you may experience unpredictable results using a newer untested version, which may not be compatible with other jQuery scripts, plugins, etc.

However, if you still want to use the newest version of jQuery and you are not reasonably knowledgeable about manipulating your theme function.php file directly than you should use the

jQuery Updater Plugin

which will load the latest stable version of jQuery and override the version used by WordPress for non-admin areas of the site controlled by your theme and plugins.


这篇关于如何在wordpress中更新jquery版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆