Title: CS Likes Counter
Author: Yaroslav Popov
Published: <strong>6 di Avrîl dal 2016</strong>
Last modified: 12 di Novembar dal 2018

---

Search plugins

![](https://ps.w.org/cs-likes-counter/assets/banner-772x250.png?rev=1387808)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/cs-likes-counter_d7aab1.svg)

# CS Likes Counter

 By [Yaroslav Popov](https://profiles.wordpress.org/edcreater/)

[Download](https://downloads.wordpress.org/plugin/cs-likes-counter.1.0.6.zip)

 * [Details](https://fur.wordpress.org/plugins/cs-likes-counter/#description)
 * [Reviews](https://fur.wordpress.org/plugins/cs-likes-counter/#reviews)
 *  [Installation](https://fur.wordpress.org/plugins/cs-likes-counter/#installation)
 * [Development](https://fur.wordpress.org/plugins/cs-likes-counter/#developers)

 [Support](https://wordpress.org/support/plugin/cs-likes-counter/)

## Description

Counter allows you to count the likes and dislikes.

Counting is carried out using AJAX.

Limitation of cheating over IP (from one IP can vote with 10 minutes intervals).

#### Usage

Simply place the template single.php function call inside the loop

    ```
    <?php while(have_post()) : the_post(); ?>
        <?php echo CS_Likes::show_buttons_like(); ?>
    <?php endwhile; ?>
    ```

Or use ID of post, if function call outside the loop

    ```
    <?php echo CS_Likes::show_buttons_like($post_id); ?>
    ```

To obtain the number of likes, use the function:

    ```
    <?php $likes_count = CS_Likes::get_post_likes($post_id); ?>
    ```

To obtain the number of dislikes, use the function:

    ```
    <?php $dislikes_count = CS_Likes::get_post_dislikes($post_id); ?>
    ```

## Installation

 1. Upload cs-likes-counter directory to the /wp-content/plugins/ directory
 2. Activate the plugin through the Plugins menu in WordPress
 3. Place function in your template inside the loop

or

 1. Install plugin directly in WordPress through the Plugins, Add New -> Search panel
 2. Search for CS Likes Counter
 3. Place function in your template inside the loop

## FAQ

  I’m having issues getting the plugin to work what should I do?

See the [FAQs](http://codesweet.ru/developments/wordpress-plugins/cs-likes-counter/)
page for a detailed rundown of common issues

## Reviews

![](https://secure.gravatar.com/avatar/ae93bbd877fd82e8a6b92bcbca7cde298bc5bc7be299575fc258caf326c028da?
s=60&d=retro&r=g)

### 󠀁[Very Good.thx.](https://wordpress.org/support/topic/very-good-thx/)󠁿

 [paulleepl2007](https://profiles.wordpress.org/paulleepl2007/) 19 di Jugn dal 2019

Its a lightweight and good plugin

![](https://secure.gravatar.com/avatar/968ae20f85c94a1bd8cd285cdabb6d4433259175c8e50384995b7d4045ff6d2b?
s=60&d=retro&r=g)

### 󠀁[Its Work](https://wordpress.org/support/topic/its-work-27/)󠁿

 [codesweet](https://profiles.wordpress.org/codesweet/) 3 di Setembar dal 2016

The plugin works. This is not bad.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/cs-likes-counter/reviews/)

## Contributors & Developers

“CS Likes Counter” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Yaroslav Popov ](https://profiles.wordpress.org/edcreater/)
 *   [ Yaroslav Popov ](https://profiles.wordpress.org/bykavbs/)

[Translate “CS Likes Counter” into your language.](https://translate.wordpress.org/projects/wp-plugins/cs-likes-counter)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cs-likes-counter/),
check out the [SVN repository](https://plugins.svn.wordpress.org/cs-likes-counter/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/cs-likes-counter/)
by [RSS](https://plugins.trac.wordpress.org/log/cs-likes-counter/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * First stable release.

#### 1.0.2

 * Add Russian Language support
 * Add likes metabox to page

#### 1.0.3

 * Add support function outside the loop

#### 1.0.4

 * Update for wordpress 4.5

#### 1.0.5

 * Update for wordpress 4.7.4
 * function CS_Likes::show_buttons_like($post_id = NULL, $show = false) add parameter
   $show for display vote form

#### 1.0.6

 * Update for wordpress 4.9.8

Example 1: CS_Likes::show_buttons_like(”, true) for display inside post loop
 Example
2: CS_Likes::show_buttons_like($post_id, true) for display outside post loop

## Meta

 *  Version **1.0.6**
 *  Last updated **8 agns ago**
 *  Active installations **80+**
 *  WordPress version ** 3.9 or higher **
 *  Tested up to **4.7.38**
 *  Language
 * [English (US)](https://wordpress.org/plugins/cs-likes-counter/)
 * Tags
 * [dislikes](https://fur.wordpress.org/plugins/tags/dislikes/)[likes](https://fur.wordpress.org/plugins/tags/likes/)
 *  [Advanced View](https://fur.wordpress.org/plugins/cs-likes-counter/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/cs-likes-counter/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/cs-likes-counter/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/cs-likes-counter/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/cs-likes-counter/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/cs-likes-counter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/cs-likes-counter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cs-likes-counter/reviews/)

## Contributors

 *   [ Yaroslav Popov ](https://profiles.wordpress.org/edcreater/)
 *   [ Yaroslav Popov ](https://profiles.wordpress.org/bykavbs/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cs-likes-counter/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://codesweet.ru/developments/wordpress-plugins/cs-likes-counter/)