Title: Display real WordPress Stats
Last modified: August 22, 2016

---

# Display real WordPress Stats

 *  [GuyOlinga](https://wordpress.org/support/users/guyolinga/)
 * (@guyolinga)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/display-real-wordpress-stats/)
 * Hello,
 * As I just installed your plugin Page View Count, I have lost all my former stats.
   The counter starts by 0 for all posts/pages.
 * Is there any possibility for me to initialize my stats with the WordPress stats?
 * Thanks
 * Guy
    [http://www.epslife777.net](http://www.epslife777.net)
 * [https://wordpress.org/plugins/page-views-count/](https://wordpress.org/plugins/page-views-count/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Steve Truman](https://wordpress.org/support/users/a3rev/)
 * (@a3rev)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/display-real-wordpress-stats/#post-5289400)
 * **Hello Guy**
 * I am not sure what you mean by this
 * _“I have lost all my former stats.”_
 * WordPress core does not record page views? What was making the stats on your 
   site – another plugin? If so which one? and what happened? Are you saying you
   installed Page View Count and it zeroed out all that plugins existing stats?
 *  Thread Starter [GuyOlinga](https://wordpress.org/support/users/guyolinga/)
 * (@guyolinga)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/display-real-wordpress-stats/#post-5289401)
 * Hello Steve,
 * As my understanding of the WordPress counter system is now better, my need can
   now be more precise.
 * I have installed the plugin **“WordPress Stats View Counter”** that makes the
   Jetpack post views counter available to me (every 3 hours) in a field called **‘
   views’** in the **post_meta** table.
 * This is exactly what I needed since the Jetpack stats are the more accurate for
   me. All other counter plugins will create their own counter field and start counting
   from 0.
 * Yet my only challenge is to display that **post_meta(views)** just after the 
   text for all my posts and pages.
 * The **“WordPress Stats View Counter”** developer said I should use this command:_
   
   get\_post\_meta( $post->ID, ‘views’, true );
 * But I don’t quite know where I have to insert that command in my **Linepress**
   theme powered by **Gabfire**.
 * Using the above command, my expectation is to show something like this below 
   every post/page, just after the text:
 * **“lu 72 fois”**
 * Whereby **72** stands for the value of **‘views’** in the **post_meta file** 
   for the given post ID.
 * I have asked the question to Gabfire support with no answer yet.
    Any help will
   be highly appreciated
 * Thanks
    Guy
 *  Thread Starter [GuyOlinga](https://wordpress.org/support/users/guyolinga/)
 * (@guyolinga)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/display-real-wordpress-stats/#post-5289431)
 * This is the answer fron Gabfire support
 * open single.php and page.php
    Paste this $views = get_post_meta( $post->ID, ‘
   views’, true ); echo “lu $views fois”;
 * right after the_content();

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Display real WordPress Stats’ is closed to new replies.

 * ![](https://ps.w.org/page-views-count/assets/icon.svg?rev=986301)
 * [Page View Count](https://wordpress.org/plugins/page-views-count/)
 * [Support Threads](https://wordpress.org/support/plugin/page-views-count/)
 * [Active Topics](https://wordpress.org/support/plugin/page-views-count/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-views-count/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-views-count/reviews/)

## Tags

 * [Wordpress stats](https://wordpress.org/support/topic-tag/wordpress-stats/)

 * 3 replies
 * 2 participants
 * Last reply from: [GuyOlinga](https://wordpress.org/support/users/guyolinga/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/display-real-wordpress-stats/#post-5289431)
 * Status: not resolved