Multiple ajax calls on same page
-
Hey! I’m using youe plugin with Post Views Counter plugin and it works well within single.php showing the views just fine.
I have provided the Ajaxize with the function of Post Views Counter and replaced it in single.php
But I also have views counters on category pages and in recent posts widget on sidebar.
When I put the div, that I’ve got from ajaxize in to category page or widget replacing Post Views Counter function it shows me the ammount of views of the current post, not the desired post.
I understand that is because there is no ($post->ID ) hook or whatever.So I want to know is there any way I use ajaxize and get those multiple counters work correctly on the category pages and widgets?
Thanks!
- The topic ‘Multiple ajax calls on same page’ is closed to new replies.