WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: WP Favorite Posts] Only works correctly in single.php (3 posts)

  1. houseofstrauss
    Member
    Posted 5 years ago #

    Hi, this is evry nice plugin and really adds something to high content site/ I have it working well in single.php but I have also added it to archive.php so that users can see excrepts and add to favorites to view later. The plugin works, but the jquery function is not working. In archive.php it returns a new page loading with 'favorite added!'instead of the ajax loader. I have checked that the plugin css javascript and jquery is being called in the source and it IS.any help please?? thanks

    A feature request also... In the page that lists favorites we can 'clear all' However it would be vey useful to checkbox items and clear selected items only.

    Another request... it maybe wise to use php if(function_exists in the template that calls the script. When the plugin is deleted it breaks the page untill the template is removed.

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

  2. Huseyin Berberoglu
    Member
    Posted 5 years ago #

    In archive.php it returns a new page loading with 'favorite added!'instead of the ajax loader. I have checked that the plugin css javascript and jquery is being called in the source and it IS.any help please?? thanks

    I'll look for that.

    A feature request also... In the page that lists favorites we can 'clear all' However it would be vey useful to checkbox items and clear selected items only.

    This feature came with version 1.1.3. See ChangeLog :) Only update the plugin.

    Another request... it maybe wise to use php if(function_exists in the template that calls the script. When the plugin is deleted it breaks the page untill the template is removed.

    You can use that code in single.php;

    <?php if (function_exists('wpfp_link')) { wpfp_link(); } ?>

    I'm updating readme file and will add this code.

    Thanks for your advices.

  3. houseofstrauss
    Member
    Posted 5 years ago #

    hberberoglu Thanks so much for your respones above. I thought I had the latest version, but I'll check this. Your advice was very helpful. Good luck with future releases.

Topic Closed

This topic has been closed to new replies.

About this Topic