I’d suggest trying one of these plugins.
Thread Starter
Arthy1
(@arthy1)
Thanks but i tried and it always keeps on saying 0 views… and i can’t get it to appear in posts…
Which plugin did you try? Did you try contacting the plugin’s author for assistance?
Thread Starter
Arthy1
(@arthy1)
I tried the jetpack post views, WP-post views and others i don’t even remember,
for WP-postviews for example i can’t find “<?php while (have_posts()) : the_post(); ?>”
in the template files… ( and when i added this code in the meta of the post it only displayed 0 views)
and when i looked through the plugins’ support they usually said to ask in the support of the theme so i arrived here…
For WP PostViews Plugin you need to put the following code into content-single.php template: if(function_exists('the_views')) { the_views(); }
try to place the code directly after the_content();
Thread Starter
Arthy1
(@arthy1)
Thanks i put it where you said and it displays the views but it stays at 0… I also managed to put it in the post-info and post-meta but it still says 0… i am gonna try to check on the plugin page…