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

    Hi thankyou for giving a nice plugin and working perfectly and can you please tell me how to show the user’s bookmarking in their profile page using php code.
    Thanks in advance..

    Reply
  2. usha

    Hi nice plugin and working perfectly and can you please tell me how to show the user’s bookmarking in thier profile page.
    Thanks in advance…

    Reply
  3. Philip

    Hi Huseyin,
    please tell me, how I translate this plugin in an other language.

    In wp-favorite-posts.phh between the lines 300 and 320 I try to translate the text, but this has no effects at the page.

    What is wrong?

    Reply
  4. Tom

    Hey Huseyin,

    is it possible to save individual post-links? At the moment I can add the favourite posts with a click on the link. But my users want to have the possibility to write an individual link in a form. These links should be saved in the wp-favorite- cookie.

    Can you help me please?

    Greez from Germany
    Tom

    Reply
  5. Rodrigo

    Hello! I’d like to know how i can display how many times the post was favorited. Example: “Post favorited XX times”. Thank you!

    Reply
  6. Jonathan

    Is there any way to embed custom fields on the widget? I am trying to echo the get_post_meta($post->ID, ‘image’, true) but it doesn’t work. Hearing your great reply. Thanks!

    Reply
  7. eddie

    Hi,
    plug in is grate, heaved used this couple times already on my site,

    yesterday started new website with premed theme, but when activating plug in all java is crashed
    nothing works anymore

    is there any way i can disable that?
    Please please need to fix this asap

    Thanks

    Reply
  8. Sean

    After upgrade to wp3.2, wp-fav plugin spits out error as follow:
    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query SELECT post_id, meta_value, post_status FROM bboo_postmeta LEFT JOIN bboo_posts ON post_id=bboo_posts.ID WHERE post_status='publish' AND meta_key='wpfp_favorites' AND meta_value > 0 ORDER BY ROUND(meta_value) DESC LIMIT 0, made by require, require_once, include, get_header, locate_template, load_template, require_once, get_sidebar, locate_template, load_template, require_once, wpfp_widget_view, wpfp_list_most_favorited

    Could you give me some direction on how to fix this? Thanks.

    Reply
  9. Kathy

    Hi Huseyin,
    Love your plugin. It rocks. I’m having only a slight problem, well ok, kind of a big problem with some of my pages not pulling in the title. The end result is an empty list item:

    I’m using the dsIDXpress plugin and its on these pages I’m having trouble. But I do see it working on another site (http://marealestatesearch.com/favorite-ma-property) which uses the dsIDXpress plugin, so I have hope.

    I’ve added the code to my page template:

    And the link appears where it’s supposed to, but when I select the link, the message changes to “remove from my favorites” (as expected), I then refresh the page to see if my sidebar widget shows the link, but it does not. A bullet appears on my favorite page where it should be, but no text appears it’s empty.

    Do you think you can help?

    Reply
  10. Keith

    Concerning the page to display the favorites posts, is it possible for that page to exist on the admin dashboard? Meaning, could I simply include the code on a backend page and the favorites posts would show up?

    Reply
  11. Indianbear

    Hello Huseyin,

    Thank you very much for this plug-in. It’s really great.

    I have just one question.

    Is there a way to remove (or make invisible) the “Add to favorites” line from the “Your Favorites” page itself – and still have it show up on all the other pages and posts?

    Thanks again,
    Indianbear

    Reply
  12. [email protected]

    Hi, is it possible to show for the current post – how many people favorite it?
    For example in single.php to add tag just like this – if (function_exists(‘wpfp_link’)) { wpfp_link(); – to be: wpfp_favcount(); ?

    Thanks for the great plugin.

    Reply
  13. Seb

    hello, i’ve got the plugin working but the little loading animation never stops,
    how can i make that thing stops?
    thank you

    Reply
  14. Stacy

    @Jochen, Luv the idea.

    It would be cool for admins to create more than one marking as well. For example “favorite, read, completed, attending..”

    Reply
  15. Sascha

    Are you still maintaining this plugin? Have not heard anything since March this year…
    All the best!

    Reply
  16. elenac

    Is there a way for me to render a page or view that only admin can see which users saved which posts as their favorite?

    Reply
  17. Pingback: Is Appthemes still alive? | AppThemes Forum

  18. gnupi

    Hi, I love your Plugin.
    Unfortunately I can’t use it on my site right now.
    I would like to have a “Add to favorites”-link on any Budypress Posts and then have the ability to let users Group them together and mark / unmark them as public, so that any user can have his own link collection as some kind of public books on his profile page… that would really be powerfull, do u know weather there is a way to use your plugin for that or have any hints for me on how to start up with that?

    Great work, nonetheless!
    gnupi

    Reply
  19. Peter

    I am using your favorite post plugin on my site, I love it, I did some editing like to allow me to add it on more than 1 places on the site. The only problem now, it’s cause a white blank page when I access the wp-admin, when I disable it, the admin works fine.

    How can you help me fix this problem, I really want to use it. below, is the code I edited.

    ________________________________________________________________

    <input type="text" value="” class=”widefat” id=”wpfp-uf-title” name=”wpfp-uf-title” />

    <input type="text" value="” style=”width: 28px; text-align:center;” id=”wpfp-uf-limit” name=”wpfp-uf-limit” />

    <input type="text" value="” class=”widefat” id=”wpfp-title” name=”wpfp-title” />

    <input type="text" value="” style=”width: 28px; text-align:center;” id=”wpfp-limit” name=”wpfp-limit” />

    You must enable statics from favorite posts configuration page.

    Reply
  20. Carole

    Hi Huseyin,
    I’m wanting to use this excellent plugin to allow people to create wish lists for my online store. I have set it up so that only registered users can favourite products. As site admin, want to be able to see everyone’s lists, and I can’t find them! Where are they in the database? What am I doing wrong? Please help. Thank you!

    Reply
  21. John

    I’m trying to put the favorite ads in a tabbed sidebar, I have tried the widget code – and the page/post code – {{wp-favorite-posts}} but they dont work. Any idea’s ?
    thanks
    John

    Reply
  22. Nickshor

    @Huseyin Berberoglu, do you still supporting this plugin?

    How about showing user’s favorites on author page (author.php template)?

    Reply
    1. Huseyin Berberoglu Post author

      thank you for patch.
      I’ll make my plugin more open-source. i’m thinking to use a software like trac…

      Reply
  23. bren

    I tried the hack but it is not generating output correctly.

    I’d really like to see your plugin updated!
    I’m hacking away at a complex project and don’t have the time to work on the patch/hack but will look into it eventually.

    If you can deliver an API compliant ‘return’ version that would be great.

    Ability to have multiple lists per user would be nice too.
    For example
    favorite list 1 for posts (that contain user comments etc)
    favorite list 2 for pages (that contain read only content)

    no need to differentiate between posts/pages in the plug in
    just allow the user to make more than one list and then they can name the list what they want

    Reply
  24. bren

    to clarify on the multiple lists idea…

    you could have the normal add to ‘default favorite list’ link on each post/page
    then the user would go to their favorites page and be able to move items from the default list1 to list2, list3 etc (maybe have upto 5 lists so that you can do this without a messy pulldown menu per each favorite to choose which list to go to)

    the ability to
    display all lists (in order with default list1 then list2, list3 etc)
    display one list (hide others and toggle through)
    have the user rename their lists (list2 = ‘hot topics’, list3 =’reference pages’, list4 = ‘temp list’ etc)
    would be nice too

    other less urgent ideas would be to share lists with links that can be public (set by user on favorites page – make this list public/private)

    thanks for your consideration

    Reply

Leave a Reply

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