{"id":13968,"date":"2011-07-10T17:02:45","date_gmt":"2011-07-10T17:02:45","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-facebook-like-posts-order\/"},"modified":"2011-07-13T17:34:00","modified_gmt":"2011-07-13T17:34:00","slug":"wp-facebook-like-posts-order","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-facebook-like-posts-order\/","author":7365286,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"3.2.1","requires":"2.8.0","requires_php":"","requires_plugins":"","header_name":"Facebook Like Posts Order","header_author":"Luca Martincigh","header_description":"","assets_banners_color":"","last_updated":"2011-07-13 17:34:00","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.lucamartincigh.com\/wordpress-facebook-like-posts-order-plugin\/","header_author_uri":"http:\/\/www.lucamartincigh.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3632,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[157,169,154],"plugin_category":[56],"plugin_contributors":[92059],"plugin_business_model":[],"class_list":["post-13968","plugin","type-plugin","status-closed","hentry","plugin_tags-facebook","plugin_tags-likes","plugin_tags-social-media","plugin_category-social-and-sharing","plugin_contributors-lukeud","plugin_committers-lukeud"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-facebook-like-posts-order.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>On WordPress you can order posts by date, title, random ecc. but imagine you set a Facebook Like button on your posts and you want them to be ordered by the total lkes number.<\/p>\n\n<p>This plugin allows you to order WordPress posts by their Facebook Likes number.<\/p>\n\n<p>Once installed the plugin, on every new entry you create, will be added a \"facebook_likes\" custom field.<\/p>\n\n<p>When you call <code>&lt;?php the_content(); ?&gt;<\/code> function, the plugin checks the number of likes of the post and updates this number.<\/p>\n\n<p>If you don't use <code>&lt;?php the_content(); ?&gt;<\/code> function, place this funcion inside your LOOP: <code>&lt;?php update_facebook_likes(); ?&gt;<\/code><\/p>\n\n<p>To list the posts ordered by facebook likes, your posts query (see the official reference) must be something like this: <code>&lt;?php query_posts('meta_key=facebook_likes&amp;orderby=meta_value'); ?&gt;<\/code><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download WordPress Facebook Like Posts Order Plugin<\/li>\n<li>Upload the entire facebook-like-posts-order folder to the \/wp-content\/plugins\/ directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Need support?<\/dt>\n<dd><p>Visit <a href=\"http:\/\/www.lucamartincigh.com\/wordpress-facebook-like-posts-order-plugin\/\" title=\"plugin documentation\">plugin documentation website<\/a><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Facebook Like Posts Order plugin released<\/li>\n<\/ul>","raw_excerpt":"This plugin allows users to order posts by the total number of Facebook likes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/13968","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=13968"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lukeud"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=13968"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=13968"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=13968"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=13968"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=13968"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=13968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}