Post Like Counts not working with LSC plugin activated
-
Hi,
I’m using this custom script in my child theme to enable likes on single posts.
It presents some issues with LSC plugin activated. If a user clicks on a post (with say 5 likes) and clicks on the like button (new like count = 6), then goes back to home page (or any other page) and revisits the older liked page, the like counter shows the older count (i.e 5 instead of 6) and the “liked” status disappears, thereby allowing the user to hit like again.The same thing also happens if user clicks like then reloads the page.
But, none of this happens with LSC deactivated.
How can I make this script work smoothly with LSC?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.