Forums

[resolved] How to remove jQuery.js and Thickbox.js from frontend? (7 posts)

  1. cdrplum
    Member
    Posted 1 year ago #

    Hi, all

    I want remove jQuery.js and Thickbox.js from front page and only keep them in admin area. I've looked into the codes, but didn't find
    where to do this.

    Anyone can help?

    I am using wp 2.6.1.

    <script type='text/javascript'
    src='http://www.mysite.com/wp-includes/js/jquery/jquery.js?ver=1.2.6'></script>
    <script type='text/javascript'
    src='http://www.mysite.com/wp-includes/js/thickbox/thickbox.js?ver=3.1-20080430'></script>

    Thanks.

  2. greenshady
    Member
    Posted 1 year ago #

    It would help if you linked to the blog and/or the theme you're using.

  3. cdrplum
    Member
    Posted 1 year ago #

    Hi, greenshady
    Here is the blog: http://www.zzvo.com/

  4. greenshady
    Member
    Posted 1 year ago #

    You need to deactivate any plugins that might be using jQuery or Thickbox. You might also need to check with your theme author to see if either is added through the theme.

  5. cdrplum
    Member
    Posted 1 year ago #

    thank you greenshady.
    I've found it. added by a plugin.
    Before, I thought they were added by new wordpress 2.6.1 by default.

  6. markljackson
    Member
    Posted 1 year ago #

    Just curious, as to why you would want to do this?

  7. cdrplum
    Member
    Posted 1 year ago #

    @markljackson
    I don't need them in frontend page. The total size of these 2 js files is about 50KB, they'll slowdown the page loading.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags