Title: LIKE BUTTON
Last modified: July 19, 2017

---

# LIKE BUTTON

 *  [bouzan199](https://wordpress.org/support/users/bouzan199/)
 * (@bouzan199)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/like-button-28/)
 * Hello guys,
 * I would like to get some support on like buttons. So I have pictures on my site,
   and everyone of those pictures has to have a like button. I cant find any plugin
   that can help me with that, so I decided to write in in the code.
 * <!DOCTYPE html>
    <html> <head> <script> var clicks = 0; function myFunction(){
 *  clicks += 1;
    document.getElementById(“demo”).innerHTML = clicks;
 *  }
    </script> </head> <body>
 * <p>Pritisni ovde da lajkujes svoj teren.</p>
 * <button onclick=”myFunction()”>Like!</button>
 * <p id=”demo”></p>
 * </body>
    </html>
 * This is the code so far. But…. I can like the image countless times. It has to
   happen only once. And everytime I refresh the page, those likes are gone. They
   disappear. Can someone help me with the code?
 * Very thanks, regards.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [wbcomdesigns](https://wordpress.org/support/users/wbcomdesigns/)
 * (@wbcomdesigns)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/like-button-28/#post-9332653)
 * Hi, [@bouzan199](https://wordpress.org/support/users/bouzan199/)
 * Please take a look…
 * [https://wordpress.org/plugins/kodex-posts-likes/](https://wordpress.org/plugins/kodex-posts-likes/)
 * I hope this helps a bit.
 * Thanks.
 *  Thread Starter [bouzan199](https://wordpress.org/support/users/bouzan199/)
 * (@bouzan199)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/like-button-28/#post-9332722)
 * It is working, but when I like one picture, that every picture is liked.
    The
   site name is basketicaukraju.com Try it, and you will se. So basically how do
   I make the likes work on seperate picures. One picture has its own likes, then
   another has its own likes, and so on….
 * Regards.
 *  Thread Starter [bouzan199](https://wordpress.org/support/users/bouzan199/)
 * (@bouzan199)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/like-button-28/#post-9332838)
 * Okey, I figured it out. So….
 * [kodex_post_like_buttons postid=”1″] [kodex_post_like_count postid=”1″ format
   =”html|number”] The first code is like this, on the first picture.
 * [kodex_post_like_buttons postid=”2″] [kodex_post_like_count postid=”2″ format
   =”html|number”] The second code is like this, on the second picture, and they
   work fine, and individual.
 * [kodex_post_like_buttons postid=”3″] [kodex_post_like_count postid=”3″ format
   =”html|number”] And then the third code is like this, and the like button does
   not even show. Do you know what is the problem?
 * I have tried with the number 4 and 5 and so on….
 * Regards,
 *  [wbcomdesigns](https://wordpress.org/support/users/wbcomdesigns/)
 * (@wbcomdesigns)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/like-button-28/#post-9332849)
 * Hello [@bouzan199](https://wordpress.org/support/users/bouzan199/)
 * As you use a commercial theme `Betheme` and need support, please use their official
   support channel. We feel they are best equipped to support their products.
 * [http://forum.muffingroup.com/betheme/](http://forum.muffingroup.com/betheme/)
 * You are their user, I am sure they will have no problem supporting you there.
 * Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘LIKE BUTTON’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [wbcomdesigns](https://wordpress.org/support/users/wbcomdesigns/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/like-button-28/#post-9332849)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
