Huseyin Berberoglu
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”.
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
- 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 [wpfp-link] 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
{{wp-favorite-posts}}
text into content section. This page will contain users favorite posts. - That’s it :)
Changelog
For changelog go here.
WordPress Plugins
Shopping Cart
Your shopping cart is empty
Visit the shop

which is the php code that would have to put instead of ((wp-favorite-posts)), to customize my page?
Hello Huseyin – you have an awesome program in wp-favorite-posts. It is so great I want to put it everywhere on ibooknewzealand.com, even in the footer… I have tried ` `, and just `{{wp-favorite-posts}}` but neither work… Any ideas ? Regards, Alan
@Ben it’s not easy or not possible to populate two plugin from one wp-favorite-posts. these errors are normal.
@G01010; it’s not possible for now.
@Andy it’s possible. You can look that page for example; http://nhan.nxsn.com/?page_id=3
@Janus; go to admin page wp-admin/options-general.php?page=wp-favorite-posts and try to remove “Text for add link”
@Emir, evet gösterebilirsin. global $id; $count = wpfp_get_post_meta($id); gibi bir şey işini görür.
2. istediğin de mümkün. Bir örneği var; http://www.nefisyemektarifleri.com/tarif-defterim/
@Justin thanks for using :)
@Daniel try to use [wp-favorite-posts]
@Jan it’s a known bug. I’ll fix it when i find time.
@Jenell can you tell your page’s url
@Santiage; you can use this for favorite count;
global $id;
$count = wpfp_get_post_meta($id);
you can not show different user’s favorites on another user’s page.
@Isakndar; For now you can not show another user’s favorite but with another version I want to add this function.
@manuel; use wpfp_list_favorite_posts()
@Alan, thanks. Try to use [wp-favorite-posts]
Hello Huseyin – It’s ok the code is: ` `, Many thanks again, Alan
How bout a widget?
I dont have the automatic widget thing, I have to do it manually.
I put [wp-favorite-posts]
but it doesnt work.
So wat should i put?
@Santiago if you want widget, put that php code; wpfp_widget_view(array());
Amazing plugin you made, simple and clean like every plugin should be. Works fine with most templates only i’ve got a problem with mine, I use Classipress and when i active wp-favorite-posts i get this error.
Fatal error: Cannot redeclare wpfp_widget_view() (previously declared in ……/wp-content/plugins/wp-favorite-posts/wpfp-widgets.php:3)
I deleted the code from wpfp-widgets.php since i don’t need it. All works fine but i a’m wondering if this could cause errors in the future.
Me again,
I thought, hé! I use the code from wpfp-your-facs-widget.php and display it on a another place and customize it a bit.
I won’t work :( you’ve got a idea how to display the favorites??
echo "";
if ($favorite_post_ids):
foreach ($favorite_post_ids as $post_id) {
$p = get_post($post_id);
echo "";
echo "post_title ."'>" . $p->post_title . " ";
echo "";
}
else:
echo "";
echo "Your favorites will be here.";
echo "";
endif;
echo "";
Hi Huseyin – would it be correct to say that wp-favourite-posts (if displayed as a widget or via code AND appears on every page, eg in the sidebar), will not work correctly if wp-super-cache is also working on every page ? Regards, Alan
Hello Huseyin,
just tried out your plugin, it really works great. here are a couple of feature requests:
- BuddyPress compatible: would love to have an option, where a user could favorite a posts over all blogs (wpmu/wp multi) and these get shown on his profile at member/username/favposts for example.
you plugin is way better than the internal “fav” function where you cannot fav a post on the post itself!
thanks!
I’m so sorry if you’ve already answered this question and I couldn’t ‘get it’ in the comments. I would like to create a sidebar widget that displays the contents of the page “Your Favorites”. I tried using an rss feed and all posts displayed. Is there an easy solution?
Also, where do new users go to login to be a part of the favoriting?
Thanks so much, as someone else who also provides content for free, I can understand and appreciate your generosity and talent.
Ana
Hi Huseyin,
Thanx for the great plugin, I’ve seen it working on some websites but unfortunately when I try to install it on my wp 3.0 multisite website using either Activate or Network Activate I get the error:
Fatal error: Cannot redeclare wpfp_widget_view() (previously declared in /home/mojerest/public_html/wp-content/plugins/wp-favorite-posts/wpfp-widgets.php:3) in /home/mojerest/public_html/wp-content/plugins/wp-favorite-posts/wpfp-widgets.php on line 3
Thank you in adavne for your help to fix the proble.
Marcin
Hi there,
Is it possible to add a featured image thumbnail and excerpt to the results page? If so how much would you charge?
Hope to hear from you soon.
Joel
I’d like to display the Facebook Like button and have it integrate with WP Favorite Posts. What do you think?
Hi!
I love this plugin! I was wondering two things:
1 – Is there an easy way to get a “count” of how many favorite post a user has? I would like to publish this number somewhere on their favorites list.
2 – Is there any plans to add pagination to the favorite posts list? If a favorites list gets excessively long, I want my users to be able to paginate through.
Thank you in advance!
Is there a simple way to get the favorites page to show thumbnails?
Please consider adding a div.class to your projects!
Favorite me!
Favorited!
Remove From Favorites!
**VERY SIMPLE! PLEASE INCLUDE THIS ON YOUR NEXT UPDATE!**
Favorite me!
Favorited!
Remove From Favorites!
**VERY SIMPLE! PLEASE INCLUDE THIS ON YOUR NEXT UPDATE!**