Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #7315

    hi There, I have installed this plugin (WP-PostViews) as I would like to display the number of post views for users, I would like the number of post views to appear alongside the Date of the post and the number of comments.

    Where do I paste the ‘<?php if(function_exists(‘the_views’)) { the_views(); } ?>’ to make it show alongside the number of comments please?

    many thanks



    I’d include it somwhere between:

    <span class='comment-container minor-meta'>


    <span class='text-sep'>/</span>

    in includes/loop-index.php (maybe you want to add the “text-sep” span to it too).


    many thanks, which page shall I add this to please?

    When I searched the single.php the ‘<span class=’comment-container minor-meta’>’ is not there, thanks Dude


    :-) its OK, I found it in the ‘loop-index.php’ :-) much appreciated Dude, it works, is there a way to add an ‘/’ between the number of views and the number of comments?


    Yes – you need to add:

    <span class=’text-sep’>/</span>

    before your code.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘How to add the WP-PostViews plugin to the Corona theme’ is closed to new replies.