Support » Theme: Tiny Framework » Plugin WP-PostViews installation

  • Werner Golla


    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?

    // 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.

    Thanks for your help

    The page I need help with: [log in to see the link]

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