Title: Plugin WP-PostViews installation
Last modified: July 26, 2020

---

# Plugin WP-PostViews installation

 *  [Werner Golla](https://wordpress.org/support/users/needlejockey/)
 * (@needlejockey)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-postviews-installation-2/)
 * Hey Forum,
    Could you please help me to install the counter plugin WP-PostViews
 * In the file index.php I added the code <?php if(function_exists(‘the_views’)){
   the_views(); } ?>.
    However, the counter is not displayed in the website. Can
   someone tell me what I have done wrong?
 *  <?php
    // Start the Loop while ( have_posts() ) : the_post();
 * **<?php if(function_exists(‘the_views’)) { the_views(); } ?>**
 * /* Include the Post-Format-specific template for the content.
    * If you want 
   to override this in a child theme, then include a file * called content-___.php(
   where ___ is the Post Format name) and that will be used instead. */ get_template_part(‘
   template-parts/content’, get_post_format() ); // End the loop. endwhile;
 * Thanks for your help
    Werner
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-wp-postviews-installation-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Plugin WP-PostViews installation’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/tiny-framework/2.3.1/screenshot.
   png)
 * Tiny Framework
 * [Support Threads](https://wordpress.org/support/theme/tiny-framework/)
 * [Active Topics](https://wordpress.org/support/theme/tiny-framework/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/tiny-framework/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/tiny-framework/reviews/)

## Tags

 * [index.php](https://wordpress.org/support/topic-tag/index-php/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)

 * 0 replies
 * 1 participant
 * Last reply from: [Werner Golla](https://wordpress.org/support/users/needlejockey/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-postviews-installation-2/)
 * Status: not resolved