WP Favorite Posts
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 21443 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.
376 Comments
Hey Huseyin, thanks for this great plugin, it’s really good.
I’m posting this comment for the following: I’d like to know if there’s a way to put the favorites icon star (or whatever icon) without the accompanying text. I tried removing the whole text and while it still shows the icon, it doesn’t have a link so it basically doesn’t work without it.
Thanks in advance for your answer, cheers.
I created a page and inserted {{wp-favorite-posts}}. When I click the remove link that appears there, that part of the page disappears instead of refreshing to show that the link has been to remove. I have to actually click the refresh button on my broswer to get the page back to normal. I didn’t have this problem with the previous version of your plugin.
Thank you so much brother…
Thumbnail is ok now, see my creation at idgems.com
Merhaba Hüseyin, çalışmaların harikulade ve dikkatle takip ediyorum. Senden bir şey istirham edicem bilmiyorum mümkün mü.
1) Eklentini kullanıyorum. Bir yazıyı kaç kişinin favori listesine eklediğini yazının başlığı altında (single.php’de) gösterebilir miyiz? (Ör. “Bu yazıyı X kişi favori listesine ekledi”)
2) Yazı gönderirken “ana_sayfa_resim” adında özel bir field oluşturup ana sayfada yazı özetinin hemen yanında yazıya ait bir resim koyuyorum. Şimdi sormak istediğim şu. Favori Listem adında bir sayfada kullanıcıların favoriye ekledikleri yazıyı görüntülüyorum. field ile oluşturduğum bu ana sayfadaki resimleri Favori Listem sayfasında da göstermek mümkün mü acaba? Öyle olursa şahane olur ciddi anlamda, hem yazı hem resim gayet şık durur.
Yanıtını heyecanla bekliyorum.. Çalışmalarını da gönülden destekliyorum.
Just wanted to say thanks to Huseyin for this great plugin and also his help in certain customizations. You can see his plugin at work at this css gallery http://www.siiimple.com – thanks again.
I think there is a bug in the Users Favorites widget. I cant change the name of the widgetbox
would be cool if this plugin would support buddypress!
Hi,
I’m trying to list the user’s favorites in the sidebar, but the limit doesn’t enter/register. For example, in the widget, I enter “5″ as limit of posts, and click “save”. It then disappears. Or, if I use the function directly, as in…
It shows all of them and not 5.
Can you help?
Hi,
when I use {{wp-favorite-posts}}. My favorites come above the rest that I use in a page.(text/images) I want to stick in between texts.
Thanks for your lovely plugin. It works like a charm.
Daniel
Hi,
I have wordpress 3.0 and installed the plugin but cannot change the name of the widget which I want to place in the sidebar. When saving the name of the widget, the name disappears. Is this a compatibility issue with 3.0?
Great plugin- Im having issues -with the shortcode.. it appears above my header like 4 times.. is there s php code I can use in template instead (to generate the page the lists all favs ?)
Im using this for posts,
How can i show how many times the post has been favorited?
and how can i show different user favorites in the author page?
Whenever I do a search on my website now this bit of code ( [wpfp-link] ) will appear before my search result – how can I get rid of it?
Hi Huseyin,
I have a special page that records the profile of my users’ details. Things like their posts, comments and etc.
I’d like to use your plugin to show the favourite post of a user based on his user id. How do I do that?
Right now the plugin shows the favourites of the current user. Because of this, when the current user goes to see the profile of others, he will see HIS favourites instead of that USER’s favourites.
Can you help?
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