WordPress.org

Support

Support » Miscellaneous » why jquery loads in single posts?

why jquery loads in single posts?

  • just a quick question: why jquery loads in single posts and not in index?

    it adds a great load to the page (about 35kb); I’m currently optimizing my blog, and noticed this using YSlow…

    is it necessary for single or I can get rid of it? how?

    thanks in advance for help! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Please post a link to your site to help us have a look.

    http://www.adverbox.com

    if you look at the index the jquery is not loaded; running YSlow I notice it’s loaded on single posts…

    Well it’s got to be something to do with a plugin that is only displaying info on single posts requiring the jquery library

    On single you have this in your head:

    <script src="http://www.adverbox.com/admin/wordpress/wp-includes/js/jquery/jquery.js?ver=1.2.6" type="text/javascript">
    </script>
    <script src="http://www.adverbox.com/admin/wordpress/wp-includes/js/jquery/suggest.js?ver=1.1b" type="text/javascript">

    I’ve got to run and finish cooking dinner right now so I can’t be sure what is calling the jquery, but I can only assume it’s a widget or plugin that only comes into effect on the single page.

    That does make me thing that it’s probably necessary, but I can’t be sure.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘why jquery loads in single posts?’ is closed to new replies.