{"id":24794,"date":"2013-08-17T14:45:54","date_gmt":"2013-08-17T14:45:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/favorite-post\/"},"modified":"2020-03-14T06:09:15","modified_gmt":"2020-03-14T06:09:15","slug":"favorite-post","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/favorite-post\/","author":5030153,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"5.4.19","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Favorite Posts","header_author":"Tareq Hasan","header_description":"","assets_banners_color":"","last_updated":"2020-03-14 06:09:15","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/tareq.wedevs.com\/donate\/","header_plugin_uri":"https:\/\/wedevs.com\/","header_author_uri":"https:\/\/tareq.co\/","rating":4.3,"author_block_rating":0,"active_installs":70,"downloads":7957,"num_ratings":7,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>Nothing here<\/p>"},"ratings":{"1":1,"2":0,"3":0,"4":1,"5":5},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[430,3750,29220],"plugin_category":[56],"plugin_contributors":[79343],"plugin_business_model":[],"class_list":["post-24794","plugin","type-plugin","status-publish","hentry","plugin_tags-bookmark","plugin_tags-favorite","plugin_tags-favorite-post","plugin_category-social-and-sharing","plugin_contributors-tareq1988","plugin_committers-tareq1988"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/favorite-post.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This is a simple yet another favorite post plugin for WordPress.<\/p>\n\n<h4>Features<\/h4>\n\n<ol>\n<li>Gives a button to favorite a post.<\/li>\n<li>Works only for logged in users.<\/li>\n<li>Has a favorite post widget<\/li>\n<li>Custom post type support<\/li>\n<\/ol>\n\n<h4>Usage<\/h4>\n\n<ol>\n<li>Insert <code>&lt;?php if ( function_exists( 'wfp_button' ) ) wfp_button(); ?&gt;<\/code> this code in your post page to show a favorite post link.<\/li>\n<li><code>$favorites = WeDevs_Favorite_Posts::init()-&gt;get_favorites();<\/code> - get favorite posts. Supports <strong>3<\/strong> parameters, <code>post_type<\/code>, <code>limit<\/code>, <code>offset<\/code>. The default <code>post_type<\/code> is <code>all<\/code>, for getting all post types.<\/li>\n<li>Show favorite posts in a widget.<\/li>\n<li>Use the shortcode <code>[favorite-post-btn]<\/code> for inserting the favorite post link. You can also pass a post id as a parameter. <code>[favorite-post-btn post_id=\"938\"]<\/code>.<\/li>\n<li>Use the shortcode <code>[favorite-post]<\/code> to display favorited posts. You can also pass these parameters: <code>user_id<\/code>, <code>count<\/code>, <code>post_type<\/code>. e.g. <code>[favorite-post user_id=\"1\" count=\"5\" post_type=\"all\"]<\/code><\/li>\n<\/ol>\n\n<h4>Contribute<\/h4>\n\n<p>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 <a href=\"https:\/\/github.com\/tareq1988\/wedevs-favorite-post\">Github<\/a>.<\/p>\n\n<h4>Author<\/h4>\n\n<p>Brought to you by <a href=\"http:\/\/tareq.wedevs.com\">Tareq Hasan<\/a> from <a href=\"http:\/\/wedevs.com\">weDevs<\/a><\/p>\n\n<h4>Donate<\/h4>\n\n<p>Please <a href=\"http:\/\/tareq.wedevs.com\/donate\/\">donate<\/a> for this awesome plugin to continue it's development to bring more awesome features.<\/p>\n\n<!--section=installation-->\n<p>Extract the zip file and just drop the contents in the wp-content\/plugins\/ directory of your WordPress installation and then activate the Plugin from Plugins page.<\/p>\n\n<!--section=faq-->\n<p>Nothing here<\/p>\n\n<!--section=changelog-->\n<h4>1.0 (24 October, 2016)<\/h4>\n\n<ul>\n<li>[fix] Deprecated way of widget constructor fixed<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<p>Initial version released<\/p>","raw_excerpt":"This is a simple yet another favorite post plugin.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24794"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tareq1988"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24794"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24794"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24794"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24794"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24794"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}