Post Views for Jetpack


Display the number of views for each one of your posts, as recorded by Jetpack Stats.

This is still a work in progress, and I would love to know what you’d like this plugin, where you would like to display those post views. Open a new thread in the support forums to let me know!


  1. Install the Jetpack plugin, and activate the Stats module.
  2. Install the Post Views for Jetpack plugin via the plugin directory, or via your dashboard.
  3. Activate the plugin.
  4. Enjoy! 🙂

Συχνές Ερωτήσεις

There are currently 4 ways to use the plugin

  1. You can use the [jp_post_view] shortcode anywhere in your posts and pages to display the number of views.
  2. You can use the “All Time Site Stats” widget to display how many views your site got since you started using Jetpack Stats.
  3. You can use the shortcode in your theme files, like so: <?php echo do_shortcode( '[jp_post_view]' ); ?>. If you pick that option, I would recommend using a child theme instead of modifying your theme’s files.
  4. You can use a functionality plugin like this one to add a custom code snippet to your site without making changes to your theme. In that code snippet, you can decide on which pages the post views should be displayed. In the example below, the counter will be displayed at the bottom of all posts, only on posts pages.


    • Display a Stats counter at the top of every post, with a “Views:” heading.
    • @see
    • @param string $content Post content.
      function jeherve_custom_display_post_views( $content ) {
      $post_views = sprintf(



    esc_html__( ‘Views:’, ‘jetpack’ ),
    esc_html( do_shortcode( ‘[jp_post_view]’) )

     * Add to the bottom of each single post
     * but not on pages or on the homepage.
    if ( is_singular( 'post' ) ) {
        return $content . $post_views;
    return $content;

    add_filter( ‘the_content’, ‘jeherve_custom_display_post_views’ );


4 Μαρτίου 2020
Easy to use php function in theme templates
8 Ιουλίου 2017
Finally! Been waiting for this plugin for years! Thanks! Don't you ever abandon this!
19 Ιανουαρίου 2017
It's simple, it works pretty good, it's fast... It's a must have if you have Jetpack installed on your WordPress website ! Much better than a custom script ^^ ! I recommend !
Ανάγνωση όλων των 6 κριτικών

Συνεισφέροντες & Προγραμματιστές

“Post Views for Jetpack” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.


“Post Views for Jetpack” έχει μεταφραστεί σε 4 γλώσσες. Thank you to the translators for their contributions.

Μεταφράστε το “Post Views for Jetpack” στην γλώσσα σας.

Interested in development?

Περιηγηθείτε στον κώδικα , ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών μέσω RSS .

Σύνοψη αλλαγών


Release Date: July 1, 2020

  • Fully rely on translation packs for translations.


Release Date: April 2, 2019

  • Ensure the number of views is internationalized properly.


Release Date: November 18, 2016

  • Releasing to the plugin directory.


  • Initial release.