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 WordPress.org 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 this example, the counter will be displayed at the bottom of all posts, only on posts pages.

评价

2021年9月11日
Really simple and easy to use, right to the point! A simple code that shows the number of hits per post, just what I've been looking for.
2021年7月27日
Très satisfait, enfin ce que je cherchais ! On voit bien le nombre de vues sur une page d'article sur notre compte WordPress, simplement installé le code [jp_post_view]. Le nombre de vues commence dès le moment de la création. Donc, même si vous avez crée votre article il y a quelques mois, vous installez le code et vous voyez depuis le début le nombre de vue! Très recommandable!
阅读所有10条评价

贡献者及开发者

“Post Views for Jetpack” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Post Views for Jetpack”插件已被翻译至6种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Post Views for Jetpack”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.3.0

Release Date: July 1, 2020

  • Fully rely on WordPress.org translation packs for translations.

1.2.0

Release Date: April 2, 2019

  • Ensure the number of views is internationalized properly.

1.1.0

Release Date: November 18, 2016

  • Releasing to the WordPress.org plugin directory.

1.0.0

  • Initial release.