Title: Plugin not working
Last modified: November 19, 2024

---

# Plugin not working

 *  Resolved [mmkh](https://wordpress.org/support/users/mmkh/)
 * (@mmkh)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-working-1266/)
 * Hi I have a problem and that is that the plugin is not working!
   Actually it does
   not work with shortcodes but if I tell it to be displayed after the content in
   the plugin settings it will be fine but I just want to use it using shortcodes
   so I can position it in the best possible way!It should be said that I am working
   on my own custom themeI would appreciate a solution because I have not found 
   any solution despite the searches I have done
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-not-working-1266%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Happy Coders](https://wordpress.org/support/users/happy-coders/)
 * (@happy-coders)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-working-1266/#post-18152300)
 * Hello [@mmkh](https://wordpress.org/support/users/mmkh/) 
   Thank you for writing
   in. We checked and it seems your site is blocking the request from our IP address
   when we tried to click on like dislike icon. Please check the screenshot below.
   [https://prnt.sc/KmXMadCBc-pk](https://prnt.sc/KmXMadCBc-pk)It seems it is currently
   not being generated by shortcode. What happens when you use it through shortcode.
   Can you please explain using the shortcode?Thanks.
 *  Thread Starter [mmkh](https://wordpress.org/support/users/mmkh/)
 * (@mmkh)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-working-1266/#post-18152659)
 * Hello, I hope you are well
   First of all, thank you very much for taking the time
   to review and also thank you very much for your free and good plugin and I hope
   you improve more every dayRegarding the problem that has arisen for me, I must
   say that I am using the latest version you have released (1.1.4) and my WordPress
   is also completely up to date (6.7.1) Regarding the template, I am using a custom
   template that I am coding myself and I can assure you that there is no problemRegarding
   your plugin, I just tested it on my localhost with the default template and without
   any other active plugins using the plugin shortcode! But it did not work. Below
   is an image showing my use of the plugin shortcode in the template on the single.
   php file
 * ![](https://i0.wp.com/i.postimg.cc/3w1j02mT/Screenshot-2024-11-21-224926.png?
   ssl=1)
 * Regarding your IP being blocked, I am very sorry. I am an Iranian and I use an
   Iranian CDN called Arvancloud, not Cloudflare. However, if this problem persists
   for you, please let me know so I can see what I can do for it. I hope it is a
   simple problem and can be solved quickly. Thank you for your time.
 *  Plugin Author [Happy Coders](https://wordpress.org/support/users/happy-coders/)
 * (@happy-coders)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-working-1266/#post-18178813)
 * Hello [@mmkh](https://wordpress.org/support/users/mmkh/) , 
   Sorry we missed the
   notification of your reply. It seems you are not using our shortcode in the template
   correctly. You should replace post_id with the actual id of the post in which
   you are adding the like dislike button. Please use the below code instead of 
   the code that you are currently using.
 *     ```wp-block-code
       <?php $id = get_the_ID();echo do_shortcode("[posts_like_dislike post_id='$id']");?>
       ```
   
 * 
   Thanks

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

The topic ‘Plugin not working’ is closed to new replies.

 * ![](https://ps.w.org/posts-like-dislike/assets/icon-256x256.png?rev=2087699)
 * [Posts Like Dislike](https://wordpress.org/plugins/posts-like-dislike/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-like-dislike/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-like-dislike/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-like-dislike/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-like-dislike/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-like-dislike/reviews/)

## Tags

 * [plugin not working](https://wordpress.org/support/topic-tag/plugin-not-working/)

 * 3 replies
 * 2 participants
 * Last reply from: [Happy Coders](https://wordpress.org/support/users/happy-coders/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/plugin-not-working-1266/#post-18178813)
 * Status: resolved