Support » Plugin: WP-PostViews » [Plugin: WP-PostViews] Ajax Call

  • coldlamper

    (@coldlamper)


    Great plugin! But what is the reasoning behind the ajax call:

    jQuery.ajax({type:’GET’,url:'”.plugins_url(‘wp-postviews/wp-postviews.php’).”‘,data:’postviews_id=”.$id.”‘,cache:false});

    ?

    Why don’t you just update the post_meta there?

    Thanks,
    Brian

    http://wordpress.org/extend/plugins/wp-postviews/

Viewing 1 replies (of 1 total)
  • coldlamper

    (@coldlamper)

    Actually I see what your doing. If it is CACHED that php never gets called right?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-PostViews] Ajax Call’ is closed to new replies.