Linux 软件免费装
Banner图

Total Views

开发者 dizetech
更新时间 2026年7月10日 13:10
捐献地址: 去捐款
PHP版本: 7.2 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode analytics page views visitor statistics traffic counter

下载

1.0 2.0.7

详情介绍:

Total Views is a lightweight WordPress plugin that allows you to count total page views and display them anywhere using the [total_views] shortcode. Features include: Ideal for bloggers, developers, and website owners who want quick traffic insight with minimal setup.

安装:

  1. Upload the total-views folder to /wp-content/plugins/.
  2. Activate the plugin via the Plugins menu in WordPress.
  3. Navigate to Settings → Total Views to configure label, color, styles, and placement for single item views.
  4. Use the shortcode [total_views] anywhere to display global total views, or [total_views_single] for individual post/page/product views.
  5. To reset the counter, set Total Page Views to 0 and save changes.

屏幕截图:

  • Total Views settings page.
  • Total views output (Post / Page / Product / Sidebar / Footer).

常见问题:

Does Total Views count unique visitors or total page views?

It counts total page views, including repeat visits from the same user. For unique visitor tracking, use Google Analytics.

Can I track views for specific posts or pages?

Yes! The plugin now automatically tracks dedicated views for individual posts, pages, and products. You can choose to automatically display these views at the beginning or end of the content from the settings, or place them manually using the [total_views_single] shortcode.

Can I set total page views manually?

Yes, you can update the Total Page Views value in the settings panel and save changes.

Can I customize the counter style?

Yes! Use the classes total-views-label and total-views-count in your theme CSS. Add !important if needed to override plugin styles.

Does the color picker work on mobile devices?

Yes, modern Android and iOS browsers support <input type="color"> natively.

Is this plugin SEO-friendly?

Yes. The output is semantic HTML and does not negatively affect SEO.

Can I use the shortcode in widgets or footer?

Yes, [total_views] works in posts, pages, widgets, footer, and sidebar areas.

Does the plugin work with any WordPress theme?

Yes, it is lightweight and compatible with all modern WordPress themes.

更新日志:

2.0.7 2.0.0 1.0