WordPress.org

Ready to get started?Download WordPress

Forums

Post Ratings
[resolved] How to replace jquery link (2 posts)

  1. scavin
    Member
    Posted 2 years ago #

    My themes has been have a juqery link.
    https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js

    When I use Post Rating Plugin, My header will have a link /wp-includes/js/jquery/jquery.js?ver=1.7.1

    So I have two jquery file in theme.

    The plugins file (post-ratings/post-ratings.php) include

    add_action('wp_enqueue_scripts', array($this, 'assets'));

    when I remove this row, the plugins can't work.

    http://wordpress.org/extend/plugins/post-ratings/

  2. frq
    Member
    Posted 2 years ago #

    Hello, Scavin.

    Here in this link the author explains how to do it with another plugin:
    http://falcon1986.wordpress.com/2009/07/15/remove-unwanted-wordpress-header-elements/

    although quite old, I believe you can adapt it to use it with post-ratings.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic