Total Views
Total Views
Description
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:
- Counts total page views for your website.
- NEW: Tracks dedicated views for individual posts, pages, and products.
- NEW: Automatically display single item views at the beginning or end of content, or use the
[total_views_single]shortcode. - NEW: Automatically place global views before the footer or sidebar without touching code.
- NEW: Toggle a sortable “Views” column in your WordPress admin list for Posts, Pages, and Products.
- NEW: Live tab-specific previews in settings to visualize custom label and styling changes instantly.
- Display total views with a customizable label.
- Style options: bold, italic, underline, color.
- Editable total page views number in the settings to manually adjust.
- Front-end shortcode
[total_views]displays the global counter exactly as in the admin preview. - Unified sleek bar-chart icon for all frontend displays, perfectly matching WordPress native admin styling.
- CSS classes:
total-views-labelandtotal-views-countfor advanced styling. - Optional “Check tutorial” button linking to a video guide.
- Responsive, tabbed admin settings page.
Ideal for bloggers, developers, and website owners who want quick traffic insight with minimal setup.
Keywords
page views, visitor counter, traffic analytics, shortcode counter, total views plugin, front-end page views, visitor statistics, WP plugin traffic, lightweight analytics
Installation
- Upload the
total-viewsfolder to/wp-content/plugins/. - Activate the plugin via the Plugins menu in WordPress.
- Navigate to Settings Total Views to configure label, color, styles, and placement for single item views.
- Use the shortcode
[total_views]anywhere to display global total views, or[total_views_single]for individual post/page/product views. - To reset the counter, set Total Page Views to
0and save changes.
Screenshots
Faq
It counts total page views, including repeat visits from the same user. For unique visitor tracking, use Google Analytics.
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.
Yes, you can update the Total Page Views value in the settings panel and save changes.
Yes! Use the classes total-views-label and total-views-count in your theme CSS. Add !important if needed to override plugin styles.
Yes, modern Android and iOS browsers support <input type="color"> natively.
Yes. The output is semantic HTML and does not negatively affect SEO.
Yes, [total_views] works in posts, pages, widgets, footer, and sidebar areas.
Yes, it is lightweight and compatible with all modern WordPress themes.
Reviews
Changelog
2.0.7
- Added automatic global placement options (Before Footer, Sidebar) using robust PHP output buffering.
- Added toggleable “Views” column to the WordPress admin list for Posts, Pages, and Products.
- Made the new admin “Views” column fully sortable by view count.
- Unified all frontend icons to accurately match the native WordPress
dashicons-chart-barascending bar-chart design. - Upgraded admin settings to include individual live previews for Entire Website, Post, Page, and Product tabs.
- Added a convenient “Settings” quick-link on the WordPress Plugins page.
2.0.0
- Completely overhauled admin settings to use a tabbed interface.
- Added dedicated view counting for single posts, pages, and products.
- Added
[total_views_single]shortcode to display single item views. - Added settings dropdown for automatic view placement (beginning/end of content) for posts/pages/products.
1.0
- Initial release.
- Counts total page views.
- Shortcode
[total_views]added. - Editable total page views in admin settings.
- Customizable label, color, and text styles.
- Admin preview using shortcode output.
- Responsive admin layout.
- “Check tutorial” button added.


