How to stop WP or its plugins from including jQuery (1 post)

  1. pealo86
    Posted 4 years ago #

    I've noticed that certain jQuery plugins do not work if jQuery is included twice.

    However WP keeps including jQuery 1.4, I just want to specify my own version of jQuery and not have anything else try to add it.

    Is this possible? I've tried solutions such as this one:

    E.g. I ended my header section like so:

    <?php wp_enqueue_script("jquery"); ?>
    <?php wp_head(); ?>
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script/jquery-1.5.2.min.js"></script>

    And yet WP is still including jQuery 1.4 and my jQuery plugin is still broke!

    Am I doing something wrong?

Topic Closed

This topic has been closed to new replies.

About this Topic