WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostViews
Ajax Call (2 posts)

  1. coldlamper
    Member
    Posted 2 years ago #

    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/

  2. coldlamper
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic