How to use this plugin in a modal?
-
Hi, i’ve been using this awesome plugin for a while, and now i’ve added a modal that loads the posts via an ajax request. What i’m trying to do is to get the buttons in the modal, for which i’m using the following code:
if(function_exists('like_counter_p')) { like_counter_p('Like',$postID); }
But it always returns 0 counts and the button is not clickable, while everything works fine in the post page.
Any idea how to make this work?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to use this plugin in a modal?’ is closed to new replies.