Hi,
I would like to place the post view, beside the author name in the single post (single.php) template. Would you please provide me with the code?
Thank you
Hi!
Would also like to know which line of code I can put in a .php-file so I can place the Post View Counter anywhere on my website.
Thanks!
hi, anyone can help me and eva?
thank you
You just have to put that function into your theme file: pvc_post_views(); Optionally you can send a post_id parameter: pvc_post_views( 12 );
I have used below code in single.php and settings to use Javascript (as will setup content cache later), will the view counting work?
<?php echo do_shortcode(‘[post-views]’); ?>