- Favorite list is empty.
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
- Unzip into your
/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress
- 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. - OR if you DO NOT want the favorite link to appear in every post/page, DO NOT
use the code above. Just type in Add to favorites into the selected post/page
content and it will embed the print link into that post/page only. - Create a page e.g. “Your Favorites” and insert
text into content section. This page will contain users favorite posts. - That’s it 🙂
Changelog
For changelog go here.
Huseyin: Your plugin sounds like exactly what I’m looking for, but is there a demo site anywhere with it installed, so I can take a look?
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.
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.
Is there a way to view another user’s favorited posts? something like http://website.com/favorite-posts/username ?
hello Huseyin, thanks for great plugins, i manage to “add to favorites”, did the plugins show the “favorites” at admin area. ie user-profile?
Hello,
It could be nice to put the changelog on the WP plugins depositary (and correct the link to the official plugin page). Thanks ! :-)
Does anyone know which is the code to display the count how much a post added to favorites? thx
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?
Hi Huseyin,
I managed to get the plugin working again.
@Jan, thanks for your feedback.
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 :)
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
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.
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.
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.
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.
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?
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
Hi Huseyin
Is it possible to put this into a custom field and what would be the parameter?
Thanks
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.
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.
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.
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
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!
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:)
I installed this plugin on my site but I get a fatal error.
I get the same error as this person here
Hi,
I’m using this plugin with this theme:
http://wpclassipress.com/
Hello! Great plugin!
Can you please post php code to show us how to get favorites to show up as thumbnails?
Please :)
abi kendi favori listeme nerden bakabilirim
teşekkürler
Hi, is it possible to have the widget updated in Ajax style, when a post is added or removed from favorites?
Thanks allot
@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.