Allows users to add favorite posts. This plugin use cookies and database for
saving data.

  • If a user logged in then favorites data will saved in database instead of cookies.
  • If user not logged in data will saved in cookies.

You can choose “only registered users can favorite a post” option, if you want.
Also there is a widget named “Most Favorited Posts”. And you can use this template
tag for listing most favorited posts;

Most Favorited Posts

If you use WP Super Cache you must add page (which you show favorites) URI to “Accepted Filenames &
Rejected URIs”.

See more details about
plugin

Download

Latest version: Download WP Favorite Posts v1.5.6 [zip] (Downloaded 25427 times)

Donate

If you like this plugin show your appreciation and make a small donation.

Installation

  1. Unzip into your /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php if (function_exists('wpfp_link')) { wpfp_link(); } ?> in your
    single.php or page.php template file. Then favorite this post link will appear in all posts.
  4. OR if you DO NOT want the favorite link to appear in every post/page, DO NOT
    use the code above. Just type in [wpfp-link] into the selected post/page
    content and it will embed the print link into that post/page only.
  5. Create a page e.g. “Your Favorites” and insert {{wp-favorite-posts}}
    text into content section. This page will contain users favorite posts.
  6. That’s it :)

Changelog

For changelog go here.

 

376 Responses to WP Favorite Posts

  1. designodyssey says:

    Is there a changelog. I’m using a previous version that I’ve modified a bit so I’m wondering if I need to “upgrade.”

  2. Huseyin Berberoglu says:

    @designodyssey; yes, there is a changelog; http://svn.wp-plugins.org/wp-favorite-posts/trunk/ChangeLog.txt

  3. Negative0 says:

    I just made the upgrade to Version 1.3.4 and all the Favorites from all the users are gone. WTF?
    Thanks.

  4. Huseyin Berberoglu says:

    @Negative0; update the plugin again and favorites will come back. Sorry for this fault.

  5. Negative0 says:

    Did that. Still missing. (only the favorites made AFTER the upgrade are there)
    How can I get them back?

  6. Huseyin Berberoglu says:

    No you didn’t do that because the update was published a few minutes ago. I fixed it and published version 1.3.5. Wait some time then update will appear.

  7. Negative0 says:

    The download link updated. :) Everything seems to be OK now. Thank you!

  8. Vesel says:

    Hi= I have the same problem as Elise – “FavoriteLoading” text. Please have a look at http://vesel.info/?p=4990 and http://vesel.info/?page_id=4666

  9. Suhail says:

    I really like this plugin and its near to my requirements. Great work done.

    Now i am wishing if on each post on the main page this Favorite link appears. so users can mark favorite from here instead of going to the single post page.

    Anyways thanks a lot.

  10. Huseyin Berberoglu says:

    @Suhail, go index.php and add < ?php wpfp_link(); ?> code into loop (for example before the_content()). And your wish will become true.

  11. Suhail says:

    OMG………………………. Superb its working…..
    Thanks a lot man…. You have really done a greatt job…

    Here it is working.
    http://www.videolinkin.com

  12. Elsy Morioka says:

    No excuses; one must leave comment after reading. That is what keeps the bloggers going besides many other things.

  13. [...] A plugin to make connecting a WordPress blog to Twitter easy. WP Favorite Posts [...]

  14. Fadere says:

    Hey Huseyin,

    Awesome Plugin!

    I didn’t see this question asked/answered, sorry if I missed it at some point.

    Anyway, I use PHP MyVideoBlog on my site and there is a custom field with each post called “mvb_thumb_url” with the value being the thumb’s url location (duh) :P

    Is there an easy way to throw the custom field into the favorite’s page code? I haven’t managed to get it right.

    Thanks for any help in advance,
    Fadere

  15. Fadere says:

    Thought I’d throw the code for this in really quick.

    I’m sure you can see where I tried:

    function wpfp_list_favorite_posts($before = “”, $after = “”) {
    $wpfp_options = wpfp_get_options();
    $favorite_post_ids = wpfp_get_users_favorites();
    $values = get_post_custom_values(“mvb_thumb_url”);

    and also:
    echo “post_title .”‘>” . $p->post_title . “ “;
    echo “post_title .”‘>” . $values-> . “ “;

    Hope that helps some

  16. Huseyin Berberoglu says:

    Hi Fadere,
    i am working about a new feature nowadays. you’ll be able to change template of the page which shows visitor’s favorite posts.
    this feature’ll be active in the next version.
    After that, you’ll be able to do easly what you want.

  17. Almaz says:

    Stunning plugin! But…
    If we check a web-page with the installed wp-favorite-posts on validator.w3.org, we get error message.
    You should replace ” ***” on ” ***”.

  18. Huseyin Berberoglu says:

    Hi Almaz, I checked plugin and replace with

    on Your Favorites page. I couldn’t find any errors except this.

  19. Huseyin Berberoglu says:

    @Vesel; Is your plugin directory different ? Isn’t it /wp-content/plugins ?

  20. Almaz says:

    Look at this page: http://validator.w3.org/check?uri=http://alm.net.ru/wptest/?page_id=3
    If I replace “<span class=’wpfp-span’> ***</ span>” with “<div class=’wpfp-span’> ***</ div>”, code be valid.

  21. Huseyin Berberoglu says:

    @Almaz, I already did it :) In my last comment I wanted to say that; “I checked plugin and replace < span > with < div > on Your Favorites page. I couldn’t find any errors except this”

    This modification will be active with next version.
    Thanks for bug report :)

  22. Almaz says:

    Very good. Now U can delete my comments.
    They already enough on this page :)

  23. Fadere says:

    @Huseyin

    Awesome! Good to hear it. I’ll be eagerly awaiting the new release :)

  24. Vesel says:

    The plugin is in /wp-content/plugins/wp-favorite-posts

  25. Huseyin Berberoglu says:

    @Vesel when i go to http://vesel.info/wp-content/plugins/wp-favorite-posts/img/star.png this url it gives 404 error.

    You should check permissions of plugin directory and plugin files.

  26. Huseyin Berberoglu says:

    @Vesel go to this directory: /wordpress/wp-content/plugins/wp-favorite-posts/

    open wp-favorite-posts.php file

    find this line;
    define('WPFP_PATH', get_settings('home') . '/wp-content/plugins/wp-favorite-posts');

    replace it with this;
    define('WPFP_PATH', WP_PLUGIN_URL . '/wp-favorite-posts');

    Save file and test plugin again.

    It should work after that modification. Please let me know, if it works i’ll make this modification and it will be active with next version.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Set your Twitter account name in your settings to use the TwitterBar Section.