Home ยป Ask (Forum) ยป How to Add Views instead of Date in Bikin Theme


Hi, admin!
I want to add views instead of the date in bikin theme, I attached an image, how I want to modify?
Views are the number of viewers for each separate film.

Jul 22, 2017 (3 months ago) - Posted by 5 Comments

5 Answers

  1. Mr. Shine says:

    Hello Nasha, Try using WP-PostViews. I never using that plugin before, but i think WP-PostViews will work fine.

    Please follow this tutorial:
    1. Download and install that plugin: https://wordpress.org/plugins/wp-postviews/
    2. After activate, open index.php file inside your Wp theme folder.
    3. Find this line:

    <div class="bw_date">
    	<?php the_time('M j, Y') ?>

    Change become:

    <div class="bw_date">
    	<?php if(function_exists('the_views')) { the_views(); } ?>

    4. Done.

    Page view WordPress

    Good luck!

  2. nasha7861122 says:

    it is Working ๐Ÿ™‚

    Register Member
  3. nasha7861122 says:

    When I update my film then my views of that movie become Zero.
    But Why It become Zero, I want to remain same.

    Register Member

Your Answer

Your email address will not be published. Required fields are marked *