Post count view code: where to past it?
-
I’m using the free version of your great MH-Magazine theme.
I have installed the simple-post-views-counter plug in.
The following code must be copied in the single.php file:<?php echo_views(get_the_ID()); ?> Total Views
It works, but I can only add it at the bottom of the post and not in the header (besides the number of comments for example).
See here on my test environnent.Thanks for your help.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Post count view code: where to past it?’ is closed to new replies.