Support » Plugin: Ajaxize » 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!

Viewing 1 replies (of 1 total)
  • Plugin Author yoav.aner

    (@yoavaner)

    I guess a way around it is to create a different function (and a different ajaxize div) for category pages.

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple ajax calls on same page’ is closed to new replies.