How can I remove jquery from the frontside of my WordPress?

前端 未结 10 882
逝去的感伤
逝去的感伤 2020-12-29 02:33

My wordpress site is a bit heavy to download. On the frontend, its including jquery unnecessarily. In my firebug it looks like:

jquery.js?ver=1.3.2
         


        
10条回答
  •  情话喂你
    2020-12-29 03:04

    Look in the source of your rendered page; Wordpress often includes jQuery by default when is called in header.php, so you may stil see jQuery included in your site.

    If you remove in header.php, you might loose other plugin functionality, as many plugins "hook" into Wordpress at that point.

    But including jQuery isn't that big of a deal. It's small and Wordpress depends on it for some things.

提交回复
热议问题