WordPress.org

Ready to get started?Download WordPress

Forums

WP Favorite Posts
[resolved] Page refreshes after favouriting post (3 posts)

  1. andy999
    Member
    Posted 1 year ago #

    When I activate this plugin it displays both the star and the ajax spinner on the page, even before I click the 'favourite post' link.

    And when I do click the link it refreshes the page instead of doing it via ajax.

    Works fine in 2010 theme,

    Doesn't work in 2012 theme.

    Anyone know a solution?

    http://wordpress.org/extend/plugins/wp-favorite-posts/

  2. andy999
    Member
    Posted 1 year ago #

    Found the solution.

    Newer versions of wordpress use the newer version of jquery, where 'live' is depricated.

    If you change $('.wpfp-link').live('click', function() { to $('.wpfp-link').on('click', function() { it works perfectly.

  3. Tech4Eleven
    Member
    Posted 1 year ago #

    Is there a way to auto refresh the 'My Favorites' page when you clear all your favorites or even a single favorite?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.