This is a simple yet another favorite post plugin.
This is a simple yet another favorite post plugin for WordPress.
<?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,
offset. The default
all, for getting all post types.
[favorite-post-btn]for inserting the favorite post link. You can also pass a post id as a parameter.
[favorite-post]to display favorited posts. You can also pass these parameters:
[favorite-post user_id="1" count="5" post_type="all"]
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.
Please donate for this awesome plugin to continue it's development to bring more awesome features.