WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: init-view-count (Used by 11 domains)

Init View Count – AI-Powered, Trending, REST API

πŸ‘€ Init HTML πŸ“¦ v1.19.3 πŸ”— Plugin Homepage

Init View Count is a fast, clean plugin to track post views without clutter. It:

  • Uses REST API and JS to count real views
  • Prevents duplicate counts with session/local storage
  • Stores counts in meta keys like _init_view_count, _init_view_day_count, etc.
  • Provides [init_view_count] and [init_view_list] shortcodes
  • Includes [init_view_ranking] shortcode with tabbed ranking by time range
  • Supports template overrides (like WooCommerce)
  • Lightweight. No tracking, no admin bloat.
  • Includes REST API to query most viewed posts
  • Supports pagination in [init_view_list] via the page attribute
  • Batch view tracking support to reduce REST requests on busy sites
  • Optional strict IP-based filtering to block fake view requests posted directly to the REST endpoint
  • Includes a Dashboard widget to monitor top viewed posts directly in wp-admin
  • Learns site-wide traffic shape (hourly & weekday) via AI-powered smoothing
  • Shapes cached and updated efficiently with minimal overhead
  • Safe reset action to rebuild patterns automatically
  • Fully integrated with Trending Engine v3 for uplift-based scoring

This plugin is part of the Init Plugin Suite β€” a collection of minimalist, fast, and developer-focused tools for WordPress.

GitHub repository: https://github.com/brokensmile2103/init-view-count

Highlights

  • REST-first design β€” no jQuery or legacy Ajax
  • View tracking powered by time + scroll detection
  • Realtime display with optional animated counters
  • Fully theme-compatible with overrideable templates
  • Developer-friendly with rich filter support
  • Optional [init_view_ranking] shortcode for tabbed view by day/week/month/total
  • Assets are only loaded when needed – perfect for performance-conscious themes
  • Fully compatible with headless and SPA frameworks (REST-first + lazy)
  • Supports batch mode: delay view requests and send in groups (configurable in settings)
  • Includes optional Dashboard widget for quick admin overview of top viewed posts
  • AI-powered Traffic Shape Learner – understands your site’s hourly & weekly rhythm
  • Auto-integrated with Trending Engine v3 for seasonality-aware uplift detection
  • Smart fallbacks (day week month total) ensure rankings never run empty
  • Ultra-light: only 1 write per increment + 1 rollup per day, cache-first design

Shortcodes

[init_view_count]

Shows current view count for a post. Only works inside a post loop.

Attributes:
– field: total (default), day, week, month – which counter to display
– format: formatted (default), raw, or short – controls number formatting
– time: true to show time diff from post date (e.g. β€œ3 days ago”)
– icon: true to display a small SVG icon before the count
– schema: true to output schema.org microdata (InteractionCounter)
– class: add a custom CSS class to the outer wrapper

[init_view_list]

Show list of most viewed posts.

Attributes:
– number: Number of posts to show (default: 5)
– page: Show a specific page of results (default: 1)
– post_type: Type of post (default: post)
– template: sidebar (default), full, grid, details (can be overridden)
– title: Title above list. Set to empty (title="") to hide
– class: Custom class added to wrapper
– orderby: Sort field (default: meta_value_num)
– order: ASC or DESC (default: DESC)
– range: total, day, week, month, trending
– category: Filter by category slug
– tag: Filter by tag slug
– empty: Message to show if no posts found

[init_view_ranking]

Show tabbed ranking of most viewed posts. Uses REST API and JavaScript for dynamic loading. Optimized for SPA/headless usage.

Attributes:
– tabs: Comma-separated list of ranges. Available: total, day, week, month (default: all)
– number: Number of posts per tab (default: 5)
– class: Custom class for outer wrapper

This shortcode automatically enqueues required JS and uses skeleton loaders while fetching data.

REST API

This plugin exposes two REST endpoints to interact with view counts: one for recording views and another for retrieving top posts.

POST /wp-json/initvico/v1/count
Record one or more views. Accepts a single post ID or an array of post IDs.

Parameters:
– post_id β€” (int|array) Required. One or more post IDs to increment view count for.

This endpoint checks if the post is published, belongs to a supported post type, and applies delay/scroll config (via JavaScript). It updates total and optionally day/week/month view counters.

Note: The number of post IDs processed per request is limited based on the batch setting in plugin options.

GET /wp-json/initvico/v1/top
Retrieve the most viewed posts, ranked by view count.

Parameters:
– range β€” (string) total, day, week, month. Defaults to total.
– post_type β€” (string) Post type to query. Defaults to post.
– number β€” (int) Number of posts to return. Default: 5.
– page β€” (int) Pagination offset. Default: 1.
– fields β€” (string) minimal (id, title, link) or full (includes excerpt, thumbnail, type, date, etc.)
– tax β€” (string) Optional. Taxonomy slug (e.g. category).
– terms β€” (string) Comma-separated term slugs or IDs.
– no_cache β€” (bool) If 1, disables transient caching.

This endpoint supports filtering and caching, and can be extended to support custom output formats.

Filters for Developers

This plugin provides multiple filters to help developers customize behavior and output in both REST API and shortcode use cases.

init_plugin_suite_view_count_should_count
Allow or prevent counting views for a specific post.
Applies to: REST /count
Params: bool $should_count, int $post_id, WP_REST_Request $request

init_plugin_suite_view_count_meta_key
Change the meta key used to read or write view counts.
Applies to: REST & Shortcodes
Params: string $meta_key, int|null $post_id

init_plugin_suite_view_count_after_counted
Run custom logic after view count has been incremented.
Applies to: REST /count
Params: int $post_id, array $updated, WP_REST_Request $request

init_plugin_suite_view_count_api_top_args
Customize WP_Query arguments used for /top endpoint.
Applies to: REST /top
Params: array $args, WP_REST_Request $request

init_plugin_suite_view_count_api_top_item
Modify each item before it’s returned in the /top response.
Applies to: REST /top
Params: array $item, WP_Post $post, WP_REST_Request $request

init_plugin_suite_view_count_api_top_cache_time
Adjust cache time (in seconds) for /top results.
Applies to: REST /top
Params: int $ttl, WP_REST_Request $request

init_plugin_suite_view_count_top_post_types
Customize the list of post types returned by the /top endpoint.
Applies to: REST /top
Params: array $post_types, WP_REST_Request $request

init_plugin_suite_view_count_query_args
Filter WP_Query args for [init_view_list] shortcode.
Applies to: [init_view_list]
Params: array $args, array $atts

init_plugin_suite_view_count_empty_output
Customize the HTML output when no posts are found.
Applies to: [init_view_list]
Params: string $output, array $atts

init_plugin_suite_view_count_view_list_atts
Modify shortcode attributes before WP_Query is run.
Applies to: [init_view_list]
Params: array $atts

init_plugin_suite_view_count_default_shortcode
Customize the default shortcode used when auto-inserting view count into post content.
Applies to: [init_view_count] auto-insert
Params: string $shortcode

init_plugin_suite_view_count_auto_insert_enabled
Control whether auto-insert is enabled for a given context.
Applies to: [init_view_count] auto-insert
Params: bool $enabled, string $position, string $post_type

init_plugin_suite_view_count_engagement_meta_keys
Change the meta keys used to retrieve like and share counts when calculating engagement quality.
Applies to: Engagement algorithm
Params: array $meta_keys (likes, shares), int $post_id

init_plugin_suite_view_count_trending_post_types
Override the list of post types used by the Trending cron calculation.
Applies to: Cron Trending
Params: array $post_types

init_plugin_suite_view_count_trending_component_weights
Adjust weights for Trending score components.
Applies to: Trending algorithm
Params: array $weights (velocity, engagement, freshness, momentum)

Template Override

To customize output layout, copy any template file into your theme:

Example: your-theme/init-view-count/view-list-grid.php

License

This plugin is licensed under the GPLv2 or later.
You are free to use, modify, and distribute it under the same license.

DomainExposuresHeadersLast Checked
m*r*i*t*o*.com βœ… C 2026-06-11 09:19:36
s*y*h*e*e*.vip βœ… F 2026-06-08 02:09:26
j*a*g*a*t*o*.now βœ… F 2026-05-28 07:36:49
i*i*h*m*.com βœ… F 2026-05-27 03:57:28
j*a*d*h.com (WP 7.0) βœ… F 2026-05-26 13:55:52
c*l*u*e*a*o*.fr (WP 6.9.4) βœ… F 2026-05-24 11:54:36
d*a*e*t*u*e*f*l*.net βœ… F 2026-05-23 15:38:46
t*a*s*o*t*r*j*.com (WP 6.9.4) βœ… C 2026-05-17 22:41:28
d*a*e*t*u*e*.uk βœ… F 2026-05-17 03:34:09
t*n*w*n*e.com (WP 6.9.4) βœ… F 2026-05-11 17:20:05
j*r*s.com βœ… F 2026-05-11 14:45:06
j*l*r*b*c*.com βœ… F 2026-05-11 10:35:53
e*.i*i*h*m*.com βœ… F 2026-05-04 09:57:23

Top 50 Plugins

Plugin Count
elementor 1,804,676
contact-form-7 1,774,647
elementor-pro 1,052,070
woocommerce 818,340
revslider 619,144
jetpack 467,731
js_composer 433,323
wp-rocket 334,871
essential-addons-for-elementor-lite 294,324
gravityforms 267,431
complianz-gdpr 257,450
cookie-law-info 231,984
instagram-feed 228,564
google-site-kit 222,556
sitepress-multilingual-cms 221,752
google-analytics-for-wordpress 214,471
header-footer-elementor 210,692
elementskit-lite 207,322
bluehost-wordpress-plugin 190,863
gutenberg 162,584
gutenberg-core 159,846
cookie-notice 151,934
the-events-calendar 131,901
litespeed-cache 131,432
wpforms-lite 129,761
gtranslate 128,218
astra-sites 119,760
popup-maker 116,331
woocommerce-payments 113,135
tablepress 109,632
coblocks 99,799
honeypot 97,660
astra-addon 95,518
duracelltomi-google-tag-manager 93,815
wp-smushit 93,763
all-in-one-seo-pack 93,505
LayerSlider 91,849
bb-plugin 90,940
premium-addons-for-elementor 87,068
megamenu 86,751
akismet 86,190
cleantalk-spam-protect 84,014
mailchimp-for-wp 83,922
woocommerce-gateway-stripe 83,240
ml-slider 81,279
fusion-builder 79,819
borlabs-cookie 79,764
ewww-image-optimizer 79,228
wp-pagenavi 79,010
formidable 78,217

Top 50 Themes

Theme Count
hello-elementor 617,059
Divi 511,773
astra 424,516
flatsome 134,423
Avada 124,557
generatepress 120,600
pub 110,164
oceanwp 83,645
kadence 78,687
enfold 71,972
salient 66,826
twentytwentyfour 59,044
h4 56,523
twentyseventeen 56,327
bb-theme 55,346
cocoon-master 52,131
betheme 51,975
blocksy 50,852
dt-the7 46,271
twentytwentyfive 43,949
neve 39,466
Avada-Child-Theme 37,700
gox 33,497
woodmart 33,358
bridge 32,952
sydney 32,697
twentytwentyone 32,175
lightning 31,481
twentytwenty 30,111
swell 28,627
Impreza 26,527
bricks 26,071
twentytwentythree 24,067
Newspaper 23,540
voxel 22,441
twentytwentytwo 20,010
epik-redesign 19,274
sinatra 19,268
kubio 19,196
uncode 19,156
twentysixteen 18,262
storefront 17,916
pro 17,884
Total 14,759
extendable 14,627
yith-wonder 14,051
hello-theme-child-master 13,391
themify-ultra 13,012
yootheme 12,981
factory-templates-4 12,937