{"id":42991,"date":"2016-04-06T04:25:50","date_gmt":"2016-04-06T04:25:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/cs-likes-counter\/"},"modified":"2018-11-12T15:28:56","modified_gmt":"2018-11-12T15:28:56","slug":"cs-likes-counter","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/cs-likes-counter\/","author":21122367,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.6","stable_tag":"1.0.6","tested":"4.7.33","requires":"3.9","requires_php":"","requires_plugins":"","header_name":"CS Likes Counter","header_author":"EdCreater","header_description":"","assets_banners_color":"d7aab1","last_updated":"2018-11-12 15:28:56","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/codesweet.ru\/developments\/wordpress-plugins\/cs-likes-counter\/","header_plugin_uri":"http:\/\/codesweet.ru\/cs-likes-counter\/","header_author_uri":"http:\/\/codesweet.ru","rating":5,"author_block_rating":0,"active_installs":100,"downloads":6213,"num_ratings":2,"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":"3"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1387808","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[21064,169,21065],"plugin_category":[56],"plugin_contributors":[93406],"plugin_business_model":[],"class_list":["post-42991","plugin","type-plugin","status-publish","hentry","plugin_tags-dislikes","plugin_tags-likes","plugin_tags-likes-counter","plugin_category-social-and-sharing","plugin_contributors-bykavbs","plugin_committers-bykavbs","plugin_committers-edcreater"],"banners":{"banner":"https:\/\/ps.w.org\/cs-likes-counter\/assets\/banner-772x250.png?rev=1387808","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cs-likes-counter_d7aab1.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Counter allows you to count the likes and dislikes.<\/p>\n\n<p>Counting is carried out using AJAX.<\/p>\n\n<p>Limitation of cheating over IP (from one IP can vote with 10 minutes intervals).<\/p>\n\n<h4>Usage<\/h4>\n\n<p>Simply place the template single.php function call inside the loop<\/p>\n\n<pre><code>&lt;?php while(have_post()) : the_post(); ?&gt;\n    &lt;?php echo CS_Likes::show_buttons_like(); ?&gt;\n&lt;?php endwhile; ?&gt;\n<\/code><\/pre>\n\n<p>Or use ID of post, if function call outside the loop<\/p>\n\n<pre><code>&lt;?php echo CS_Likes::show_buttons_like($post_id); ?&gt;\n<\/code><\/pre>\n\n<p>To obtain the number of likes, use the function:<\/p>\n\n<pre><code>&lt;?php $likes_count = CS_Likes::get_post_likes($post_id); ?&gt;\n<\/code><\/pre>\n\n<p>To obtain the number of dislikes, use the function:<\/p>\n\n<pre><code>&lt;?php $dislikes_count = CS_Likes::get_post_dislikes($post_id); ?&gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload cs-likes-counter directory to the \/wp-content\/plugins\/ directory<\/li>\n<li>Activate the plugin through the Plugins menu in WordPress<\/li>\n<li>Place  function in your template inside the loop<\/li>\n<\/ol>\n\n<p>or<\/p>\n\n<ol>\n<li>Install plugin directly in WordPress through the Plugins, Add New -&gt; Search panel<\/li>\n<li>Search for CS Likes Counter<\/li>\n<li>Place  function in your template inside the loop<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I'm having issues getting the plugin to work what should I do?<\/dt>\n<dd><p>See the <a href=\"http:\/\/codesweet.ru\/developments\/wordpress-plugins\/cs-likes-counter\/\">FAQs<\/a> page for a detailed rundown of common issues<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>First stable release.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Add Russian Language support<\/li>\n<li>Add likes metabox to page<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Add support function outside the loop<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Update for wordpress 4.5<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Update for wordpress 4.7.4<\/li>\n<li>function CS_Likes::show_buttons_like($post_id = NULL, $show = false) add parameter $show for display vote form<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Update for wordpress 4.9.8<\/li>\n<\/ul>\n\n<p>Example 1: CS_Likes::show_buttons_like('', true) for display inside post loop\nExample 2: CS_Likes::show_buttons_like($post_id, true) for display outside post loop<\/p>","raw_excerpt":"Show multiple Likes Counter on your website.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/42991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=42991"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/edcreater"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=42991"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=42991"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=42991"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=42991"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=42991"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=42991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}