I have a following code on my single.php which gives me the total count of the post views. It works just fine.
<?php echo 'TOTAL POST VIEWS: ' .wpfp_get_current_count(); ?>
Now, I would like to add 300 views by default. So that if my actual views are 33 then the total post views becomes 333. I guess i need a lesson on some basic php addition. Could somebody please help a little here please. If possible please suggest me a modified code.
Always thankful to this community.
- The topic ‘Simple increment in post views.’ is closed to new replies.