Linux 软件免费装
Banner图

Post Views Counter – Lumo View Pulse

开发者 mehdijabin
mansourjabin
更新时间 2026年9月26日 07:18
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

statistics woocommerce analytics post-views views-counter

下载

1.16.1 1.15.1

详情介绍:

A page cache serves ready-made HTML, so PHP never runs and a classic view counter records nothing. Full analytics suites solve that by loading a third-party script on every page, which is a lot of weight when all you wanted was one number next to a post or a product. Lumo View Pulse takes the middle road. A tiny beacon fires after the page has loaded, a short-lived token proves the request belongs to that exact item, the request passes your bot, role, IP and session filters, and one row is written in your own database. Nothing leaves your server. The number is then available everywhere you already work: a sortable Views column in wp-admin, a badge on the post or product itself, and orderby support so any loop can be sorted by what people actually open. Counting that survives a page cache Count one thing, show another Every public post type gets two independent switches: Count records the view, Badge prints it on the front end. Count products without showing anything, or show a number on posts you barely track. Quick presets for Store, Blog and All public get you live in one click. Beyond single items, you can optionally count term archives, author archives, the homepage, other archives, date archives, search results, 404s and account screens. The badge on the item itself Popular lists in the builder you already use Views are a sort key, not just decoration. Any WP_Query (and the REST post collection) can order by 'orderby' => 'lumovipu_views': Shortcodes, blocks, widget Three shortcodes cover almost everything: Five blocks ship with the plugin: View Count, Top Content, Author Views, Term Views and Site Total. There is also a Lumo View Pulse Top widget for classic sidebars and the block-based widget screen. Accepted period tokens: total, today, week, month, year, 7d, 30d, plus an exact day (20260919) or year (2026). A dashboard that reads like a pulse Today, this week, this month and all time. Which items are on top and what share each one takes. A device split, and a referrer split (internal, direct, other). This is deliberately not a full analytics suite: it is the pulse of your content and your store. Admin extras: a sortable Views column on list screens, an optional month-to-month trend on that column, a date-range export, a Views item in the toolbar on single pages, a WordPress dashboard widget, and an option that lets only administrators edit totals. Exports and digest emails On the Reports tab, export all time, 7 days, 30 days, a month or a year as CSV or XML. Schedule a summary daily, weekly or monthly through wp_mail(), with a minimum-views threshold, a top-N size, trend lines and spike signals. Send a test mail first to confirm it arrives before you turn the schedule on. Privacy by design Moving from another counter Your old numbers come with you. Tools can import from Post Views Counter, WP-PostViews, Statify, the Lumo CDN addon, or custom meta keys post_views_count / views. Analyse first to see exactly what would change, then import with the strategy you want: Add to existing, Replace, Skip existing, Keep higher or Fill empty only. If Post Views Counter is still active, Tools warns that two counters will double count. Compatibility helpers (pvc_get_post_views(), pvc_post_views(), pvc_most_viewed_posts(), pvc_get_most_viewed_posts(), pvc_update_post_views(), pvc_view_post() and the [post-views] shortcode) load only once the old plugin is gone — so a theme that calls them keeps working, and nothing collides while both are installed. Health tools: flush the write buffer on demand, recalculate one item's total from its daily rows, clear a single item, or clear every stored total. About Boost, stated plainly The Boost tab lets an administrator add to an all-time total so an item sits higher in popular lists and sorted queries. It changes list position. It does not invent traffic, it is not a visitor log, and it should not be presented as visits that happened. The plugin says so in its own interface. For developers Template tags: lumovipu_get_views(), lumovipu_render_views(), lumovipu_get_top(), lumovipu_render_top(), lumovipu_hit(), lumovipu_set_total(). REST routes: POST|GET /wp-json/lumo-view-pulse/v1/hit (token bound to the object, same-origin checked, rate limited) and GET /wp-json/lumo-view-pulse/v1/views (totals for publicly viewable objects only). Hooks include lumovipu/count/before, lumovipu/count/after, lumovipu/ajax/before_hit, lumovipu/ajax/response, lumovipu/hits/query_args, lumovipu/integrations, lumovipu/capability, lumovipu_default_settings and lumovipu_settings_saved. Tables: {prefix}lumovipu_hits, {prefix}lumovipu_dims, {prefix}lumovipu_uniques. Uninstall can remove everything, if you switch that on. Free, GPL, no upsell wall Every feature described above is in this plugin. No licence key, no signup, no "pro" tab that unlocks the useful half. Documentation lives at LumoWP.

安装:

  1. In wp-admin go to Plugins > Add New, search for "Lumo View Pulse", then install and activate. To install manually, upload the lumo-view-pulse folder to /wp-content/plugins/ and activate it from the Plugins screen.
  2. Open Lumo WP > View Pulse.
  3. On the Setup tab, pick a preset (Store, Blog or All public), or switch Count and Badge on per content type.
  4. Leave the engine on Beacon if you run any page cache. Choose Server only if the site has no page cache.
  5. Save. Open a post or product in a private window and watch the number move on the Pulse tab.
Optional next steps: exclude your own role or IP on Setup, turn on a weekly digest under Reports, and import your old counts from Tools.

屏幕截图:

  • Count and Badge are separate switches per content type, with Store, Blog and All public presets.
  • Pulse dashboard: today, week, month and all time, plus top items, devices and sources.
  • The view badge on the item itself, with placement, period, and refresh on cached pages.
  • Shortcodes, blocks, or manual placement for the same number.
  • Sort any loop by views in Gutenberg, Elementor Pro, JetEngine and other builders.
  • Unique views with bot, role, IP and DNT filters. No raw IP addresses stored.
  • Import from Post Views Counter or custom meta — analyse first, then merge or replace.
  • CSV/XML export and scheduled digest emails through wp_mail(), with a test send.
  • Boost raises list position. It does not invent traffic.

升级注意事项:

1.16.1 Order by views control for JetEngine listings and Lumo Pro Toolkit grids, with clearer placement in the widget panel.

常见问题:

Does it really work with a page cache?

Yes, and that is the reason it exists. In Beacon mode the count happens after the page has loaded, with a short-lived token tied to that specific post, term or archive, so a page served straight from cache is still counted. Server mode is the exception: it only sees uncached PHP requests, and Setup warns you if a known cache plugin is active while it is on.

Does it store IP addresses?

No. Raw IPs are never written to the plugin tables. Default de-duplication uses a session cookie or browser storage. The optional strict unique window stores a one-way HMAC built with your site salt, not the IP. Reports and exports contain no IP addresses and no visit hashes.

Does it send anything to an external service?

No. There is no third-party script, no remote API and no account. Views are written to tables in your own database and stay there.

Is it GDPR friendly?

It stores no raw IPs and keeps daily aggregates rather than a per-visitor log. You can exclude roles and IP ranges, honour Do Not Track, choose a cookie or cookieless browser storage for de-duplication, and set a retention window after which daily rows are pruned. As always, the final privacy assessment depends on how you configure your own site.

Will it slow my site down?

The front-end payload is small and the count happens after load, so it does not block rendering. Totals are aggregated rows rather than a growing visit log. On busy sites with a persistent object cache you can buffer writes and flush them on a schedule.

What shortcodes does it register?

[lumovipu_views], [lumovipu_top] and [lumovipu_site]. There are also blocks for view count, top content, author views, term views and the site total, plus a most-viewed widget.

How do I sort a query by views?

Use 'orderby' => 'lumovipu_views' in WP_Query. In Elementor Pro, set the loop Query ID to lumovipu_views. JetEngine Listing Grid and Map Listing, and Lumo Pro Toolkit Listing Grid, Loop Grid, and Loop Carousel, each have an Order by views control in the query settings. Gutenberg Query Loop, GenerateBlocks, Beaver Builder, and Kadence Blocks Pro loops read the same data.

Can I show views on WooCommerce products?

Yes. Products are counted out of the box, the badge can appear on product cards, single product pages and archives, and product lists in wp-admin get a sortable Views column. HPOS compatibility is declared.

I already use another views plugin. Can I keep my numbers?

Yes. Tools imports from Post Views Counter, WP-PostViews, Statify, the Lumo CDN addon, or the post_views_count / views custom fields, and you can analyse the data before anything is written. Pick Add to existing, Replace, Skip existing, Keep higher or Fill empty only. Deactivate the old counter first so a view is not counted twice.

Can I display the count in my theme?

Yes: echo lumovipu_get_views( get_the_ID() ); for the raw number, or lumovipu_render_views( get_the_ID() ); for the styled badge. lumovipu_get_top() and lumovipu_render_top() return or print a popular list.

What is the Boost feature for?

It adds to an all-time total so an item ranks higher in popular lists and sorted queries — useful when you are seeding a new site or correcting an import. It moves list position, it does not create visitors, and it should not be presented as real traffic.

What happens to my data if I uninstall?

Nothing is deleted unless you ask for it. Turn on "Delete data on uninstall" in Settings before removing the plugin if you want the tables and options gone.

更新日志:

1.16.1 1.16.0 1.15.1 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.2 1.10.0 1.9.0 1.8.0 1.0.0