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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -