How To Enable Your Website Visitors Collect Their Favorite Posts In WordPress?

You can easily enable a good feature that simply allows your website visitors to add their favorite posts. The WP Favorite Posts is a free WordPress plugin that uses cookies for saving data and hence the unregistered users can favorite any post they like.

How WP Favorite Posts Works?

  • 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;

In-case if you are using WP Super Cache you must add page (which you show favorites) URI to “Accepted Filenames & Rejected URIs”.

This slideshow requires JavaScript.

How To Use WP Favorite Posts Plugin ?

  1. Install and activate WP Favorite Posts.
  2. 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.
  3. 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.
  4. 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 all.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.