This is a simple yet another favorite post plugin.
Author: | Tareq Hasan (profile at wordpress.org) |
WordPress version required: | 3.3 |
WordPress version tested: | 5.4.1 |
Plugin version: | 1.0 |
Added to WordPress repository: | 17-08-2013 |
Last updated: | 14-03-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 86 |
Rated by: | 7 |
Plugin URI: | https://wedevs.com/ |
Total downloads: | 7 141 |
Active installs: | 100+ |
Click to start download |
This is a simple yet another favorite post plugin for WordPress.
Features
- Gives a button to favorite a post.
- Works only for logged in users.
- Has a favorite post widget
- Custom post type support
Usage
- Insert
<?php if ( function_exists( 'wfp_button' ) ) wfp_button(); ?>
this code in your post page to show a favorite post link. $favorites = WeDevs_Favorite_Posts::init()->get_favorites();
– get favorite posts. Supports 3 parameters,post_type
,limit
,offset
. The defaultpost_type
isall
, for getting all post types.- Show favorite posts in a widget.
- Use the shortcode
[favorite-post-btn]
for inserting the favorite post link. You can also pass a post id as a parameter.[favorite-post-btn post_id="938"]
. - Use the shortcode
[favorite-post]
to display favorited posts. You can also pass these parameters:user_id
,count
,post_type
. e.g.[favorite-post user_id="1" count="5" post_type="all"]
Contribute
This may have bugs and lack of many features. If you want to contribute on this project, you are more than welcome. Please fork the repository from Github.
Author
Brought to you by Tareq Hasan from weDevs
Donate
Please donate for this awesome plugin to continue it’s development to bring more awesome features.
FAQ
ChangeLog