- Favorite list is empty.
Your favorite posts saved to your browsers cookies. If you clear cookies also favorite posts will be deleted.
I made a plugin named as WP Favorite Posts. This plugin allows visitors to mark a post as favorite. There is no register requirement because this plugin saves data to cookies. Furthermore it can save data to database if user logged in. The user can see his/her favorite posts list from “Your Favorites” page which you created.
Don’t forget to donate
[paypal-donation purpose=”WP Favorite Posts” reference=”nxsn.com”]
Installation
It’s very easy;
- Download the WP Favorite Posts plugin.
- 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 index.php template file. Then favorite this post link will appear in all posts. - Create a page e.g. “Your Favorites” and insert
text into content section. This page will contain users favorite posts.
- That’s it :)
Widget
And there is a widget and template tag for listing most favorited posts. You can go widgets page for using widget. Template tag’s usage;
<h2>Most Favorited Posts</h2>
<?php wpfp_list_most_favorited(10); ?>
The parameter for limiting post count of list. Default value is 5 posts.
Bugs & Appreciations
You can report bugs or write your appreciations by using comments of this post. Also you can see the source code and the ChangeLog. Thanks for using my plugin!
New Feature Request or Need Modification
If you have a feature request or need modification which is urgent for you, contact me. We can make a deal.
Did you like plugin ?
If you like my plugin, i’ll appreciate it if you buy me a coffe or beer! I would love if you write a blog post/tweet etc about my plugin.
[paypal-donation purpose=”WP Favorite Posts” reference=”nxsn.com”]
Some Details
Show Link In Post Content
You can show Add/Remove Favorites Link into post wherever you want with writing Add to favorites
into post content while HTML mode.
Change Template Of “Your Favorites” Page
(version 1.4) You can change “your favorites” page’s templates easily.
First copy wpfp-page-template.php from plugin’s directory to your theme’s directory. Then make template changes (add thumbnail image, make what you want).
If you make something wrong just delete or rename wpfp-page-template.php from your theme’s directory and page’s view will be turn back to basic view.
Who Uses This Plugin ? (DEMO)
http://www.nefisyemektarifleri.com/tarif-defterim/
http://www.hdvideoclip.com/my-playlist
Pingback: Huseyin Berberoglu | blog - WP Favorite Posts 1.3 Released !
Pingback: WordPress Plugin Releases for 06/02 | Weblog Tools Collection
Pingback: WordPress Plugin Releases for 06/02 | BlogBroker24-7
I am using the DynaBlue 1.0 theme with WordPress 2.7.1 I have the Favourited Posts widget working, and the Favourites list, but not the link in the posts.
I have added to my single.php template file, but the link does not appear in any of my posts. I have tried moving it around in the single.php file, to no avail. Any thoughts?
@Douglas Hill If you add this code;
to your single.php file it should work and show “add to favorites” link. I could not find any problem with this information. Please try again.
Plugin must work with all templates.
Pingback: WordPress Plugin Releases for 06/02 | BloggWpress
It’s a very simple and good idea. I must congratulates you because it’s not easy to find something original in WP plugin’s !
@Li-An thanks! :)
Pingback: Weblog Tools Collection: WordPress Plugin Releases for 06/02 | Aslifm Blogu
Your plugin works nice but please, can you make it compatible with this one http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en
so the translation will be more easy ?
And it is not at all compatible with WP Minify :-) – too bad. http://omninoggin.com/projects/wordpress-plugins/wp-minify-wordpress-plugin/
@Li-An I’ll look what should i do for these compatibilities. Thanks for suggestions.
Now I am really confused. Two favourited posts show up in the widget, but I still see no “Add to favourites” link. I am using Firefox 3, and refreshing the view.
Does it matter where I place the code in single.php?
I downloaded DynaBlue theme. There is a line like this in single.php;
Posted on : | By : | In :
Add
code after this line.
And if you use super cache plugin don’t forget to clean cache.
Thank you for your answer Huseyin. But I’m a little lost with all the different blogs you have. Is this now the official post for your plugin ? (because the link in the plugin does point to http://www.birazkisisel.com/wp-favorite-posts-released-en/)
I was writing English and Turkish to birazkisisel.com. Then i decided to create a new blog which i’ll write only English. So here is new offical page of plugin.
I forgot to change url. It’ll change with next version.
btw is your problem solved ?
I still cannot get it to work with this theme. I tried it on my test blog running the same theme, and has very few plugins, and cannot get the link to appear.
I wish I could get it to work, because it is a great idea that would really be a wonderful feature in my blog.
@Douglas Hill;
I see “Add to favorites” link at this page; http://riverwriter.ca/wordcurrents/2009/05/26/giant/
Do you want to add link to your index.php ? I mean to http://riverwriter.ca/wordcurrents/ ? I you want this you should enter this code to your index.php;
Pingback: WordPress Plugin Releases for 06/02 | The Cliffmaster
We are getting somewhere, finally.
To get “Add to favourites to appear in all posts, I had to add to archives.php and index.php
Adding it to singlepost.php had almost no effect.
I like its position on the index page, but it is tangled in tags on the other pages, with no space between it and the previous tag.
@Douglas I think it will be better if you enter
code before Favorite posts link code
Yes, I have no problem. WP Minify gives the opportunity to exclude .js and .css files from its action and I did it with the files of your plugin. I will make a french translation of it very soon.
Pingback: Huseyin Berberoglu | blog - Coming with next version
Pingback: 7 x 24 Free ! - WordPress Plugin Releases, Updated Plugins
Pingback: WordPress Plugin Releases for 06/02 - 7 x 24 Free !
If a post is only an image, and you save that image your favorite post page – is there a way to display that image again in the favorite post page…? As of now, it only shows the title of the post…
Thanks!
I will happily donate if I can get it working for my needs! thanks so much for your efforts…
hi!
I donated a little bit to the plugin, but I can’t figure out how to show thumbnail images on the favorites page. Every post is an image that is uploaded by the user, cropped into a thumbnail and displayed. If that image is saved to the favorites page, how do you show that thumbnail on the favorites page?
Thanks!
Pingback: WordPress Plugin Releases for 06/02 | Fresh News - Blog Design, Wordpress, Blogger, and Web Development
Hi Huseyin,
Thanks for the advice on changing the plugin to show images in the favorites section. Your solution works if I attach an image to my post, but I’m using TDO Mini Forms where a user uploads an image to the server and posts to the front page. I guess the problem is in pulling the thumbnail that is generated via Get The Image plugin. I think it’s possible to pull this thumbnail from the database somehow, but don’t know how. Would you know how to do this?
Thanks again – and thanks for your time and efforts…
Justin
@Justin, i can’t figure out from outside. If you give me an access to your wp admin panel, i’ll look for your problem.
My email; hberberoglu ** gmail ** com
Love this plugin….exactly what I was looking for. One thing though….
Is it possible to display the users favourite posts in the sidebar as opposed to a seperate page?
Thanks!
@Alan it is not possible right now. Maybe with next versions i can add a template code for this…
Hi,
I use your plugin. It;s grate. I need put thumb on favorite list. Has anyone now haw to do it ?
where i can see my favorites and also the other users own favorites¿
thanks
@yli create a page and insert {{wp-favorite-posts}} into content. You and your visitors will see favorites on this page.