PostView 1.6.2 Wont display on single post. (3 posts)

  1. thisizskeet
    Posted 2 years ago #

    I can not get PostView to display on the actually post. It displays on the index file but not on the singles.php file. Not sure if I am placing the code in the correct position. My site is http://themediajunky.com


  2. sniperdusk
    Posted 2 years ago #

    On the post or page file (or in your case "singles.php") just decide were you'd like the view-counter to show up in your layout and add

    <?php if(function_exists('the_views')) { the_views(); } ?>

    to the template. (Either at the top by the title or after the regular content on the bottom are usually good places.)
    And if you ever change your theme in the future, be sure to revise those new template pages, too.

  3. Socrat1s
    Posted 2 years ago #

    it would be much better if we could place it where ever we wanted in the post with a shortcode :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.