WP Favorite Posts

  • Favorite list is empty.
FavoriteLoadingClear favorites

Your favorite posts saved to your browsers cookies. If you clear cookies also favorite posts will be deleted.

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”.

If you need support create a topic on support forum

Please submit your pull requests to https://github.com/hberberoglu/wp-favorite-posts

Download

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

Donate

If you like this plugin show your appreciation and make a small donation.
[paypal-donation purpose=”WordPress Plugin” reference=”nxsn.com”]

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 FavoriteLoadingAdd to favorites 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
    text into content section. This page will contain users favorite posts.
  6. That’s it 🙂

Changelog

For changelog go here.

396 thoughts on “WP Favorite Posts

  1. Jessi

    This plugin is perfect! The only request I have is this:

    It would be cool if we could specify a different image for removal of a favorite. ie: someone might want to use a gray image for “Remove from favorites” instead of using only one image for both adding & removal.

    Reply
  2. Sourena

    Compatibility with BuddyPress is a great idea. I also suggest compatibility with Custom POst Types. That way one can favorite certain books or movies and shows them separately in the user’s profile.

    Reply
  3. gulflee

    hello Huseyin, thanks for great plugins, i manage to “add to favorites”, did the plugins show the “favorites” at admin area. ie user-profile?

    Reply
  4. Li-An

    Hello,
    It could be nice to put the changelog on the WP plugins depositary (and correct the link to the official plugin page). Thanks ! :-)

    Reply
  5. Jan

    Hi,

    I upgraded the plugin and now the functionality has gone. I cannot add or remove a link. The favorite star disappeared. Checked the settings but nothing has changed.
    So it should work. Any idea how this can be fixed … maybe a new install?

    Reply
  6. Dmitriy

    Hello, great plugin, thanks! :)
    Please tell me how to set a limit of bookmarks for registered users? For example, no more than 20 favorites.
    Sorry for the mistakes, I use a translator :)

    Reply
  7. Rob Parker

    Hi, this is a great plugin and I’ve found it really useful so far. But it there any way to customise the output of the wpfp_list_favorite_posts() query to, say, get more information about that post, like post-id or excerpt?
    Thank you

    Reply
  8. Caballero

    Does this plugin work with custom post types? I have tried and “Add to favorites” text shows ok in the posts. But when I click on it, the page reloads in a small frame.

    Very strange.

    Reply
  9. musab

    hey, I was trying to show only one random post from the user’s list of possible favorites, I already have my own code to check if the user is logged in, if they are, and they have posts in their favorites, i just want to display one (in a section i will be putting manual php code in) I was wondering what function/paramater i could use from this plug-in to do that. Essentially, I just want to know, if there is a way to use wpfp_list_favorite_posts() function with a parameter, to limit the number of results i get back, and possibly randomize the post id, if that user has more than one favorite post. Thanks.

    Reply
  10. Pat

    Is the font size and type customizable with your plugin. The functionality is great, but the font does not match the rest of my scheme. Just curious what css tags I should be looking for to change this on the style sheet.

    Reply
  11. Jan

    Hi,

    How can I reset the module that all favorites are removed. As I changed some page names , so the favorites cannot be removed because the page does not exist anymore.
    I already deactivated and removed the plugin and reinstalled it. But the links keep showing up.

    Reply
  12. Boris

    Hello Huseyin, great an unique plugin. Is there a simple way to make it work to save archive, tag, and category pages, too? When I put the add/remove-code on one of these pages and click on the add-link it saves the first post on a page instead of the page itself. I guess it is because only $post_id is defined in wp-favorite-posts.php, right? So what to do to get your plugin work like I want?

    Reply
  13. Jan

    Hi Huseyin,

    The favorites have been saved in the database as I am always logged in. Unfortunately I cannot find the table where these entries must be. Can you help me with this?
    Thanks

    Reply
  14. Donna

    Hi, is there any way that the favourite posts page could be designed so that the remove link appears apart from the post link. Like in a table or a div or something. Otherwise I love this plugin, keep up the good work.

    Reply
  15. Jan

    Hi Huseyin,

    After trail en error I discovered that some posts where not deleted completely and still remaining in the trash. After deleting them the favorites disappeared.

    Reply
  16. rtibbs4

    Hi,
    I am trying to use your plugin on my site for pages. I have the “add favorite” link on the pages and when I save the pages it recognizes it both in the widget and the favorites page with the bullet mark but it doesn’t list the title and url of the page saved. Any guidance appreciated.

    Reply
  17. Tamas Fodor

    Hi,

    There is any trick to make this plug in work fine with Qtranslate? Unfortunately right now every post name duplicated in a two language web shop :S

    tanks,
    Tomy

    Reply
  18. Travis

    Excellent code.

    Is there a way to display the Favorites on a Page view to be sorted by Title? I was trying to find the database call and modify the ORDER BY statement, but I could only find call for most favorited list.

    Any suggestions would be appreciated.

    Thanks!

    Reply
  19. Ryan

    Great plugin, does exactly what I was looking for… except…

    I think it would be worthwhile to add a feature to show each user’s favorites on their profile page. I saw a few others here comment similarly… I hope you will implement this in future updates! This is a feature I really need.

    Also, I’d like it if the favorites icons were greyed out for all but those items the user has already favorited.

    Thanks for the great plugin:)

    Reply
  20. Maria

    Hello! Great plugin!

    Can you please post php code to show us how to get favorites to show up as thumbnails?

    Please :)

    Reply
  21. Cy

    @Huseyin After click to add favorite, text switched to remove from favorite, but I must refresh the page to click on the remove link. Is the way it should be? If all ajax and dynamic, what could possibly cause this not working? Can you please help me solve this problem? Thank you.

    Reply

Leave a Reply

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