Ajax requests for php queries -
i using cache plugin wordpress website, have few questions, don't want plugin cache following php codes (the code ratings, download counts , page views.
<?php if(function_exists('the_ratings')) { the_ratings(); } ?> <?php setpostviews($post->id); ?> <?php echo getdownloadcounter(get_the_id()); ?>
the owner of plugin suggested use ajax requests.
can please how adjust above code in ajax? new such things.
thanks.
Comments
Post a Comment