[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fR5vWoONV47lxiIri1hPTCD5HuFKhsQhvVFbodPE7NkM":3},{"slug":4,"display_name":4,"profile_url":5,"plugin_count":6,"total_installs":7,"avg_security_score":8,"avg_patch_time_days":9,"trust_score":10,"computed_at":11,"plugins":12},"szatek","https:\u002F\u002Fprofiles.wordpress.org\u002Fszatek\u002F",1,0,100,30,94,"2026-04-05T18:24:01.335Z",[13],{"slug":14,"name":15,"version":16,"author":4,"author_profile":5,"description":17,"short_description":18,"active_installs":7,"downloaded":19,"rating":7,"num_ratings":7,"last_updated":20,"tested_up_to":21,"requires_at_least":22,"requires_php":23,"tags":24,"homepage":20,"download_link":30,"security_score":8,"vuln_count":7,"unpatched_count":7,"last_vuln_date":31,"fetched_at":32},"site-stats-dashboard","Site Stats Dashboard","1.0","\u003Cp>Site Stats Dashboard is a simple WordPress plugin that displays your website’s statistics in the admin panel. It shows:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>The number of published posts.\u003C\u002Fli>\n\u003Cli>The number of approved comments.\u003C\u002Fli>\n\u003Cli>The total visit count (each front-end page load is counted).\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The plugin uses the WordPress REST API to provide the statistics and renders the admin dashboard using React via the \u003Ccode>wp.element\u003C\u002Fcode> package.\u003C\u002Fp>\n\u003Ch3>Features\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>\u003Cstrong>Admin Dashboard:\u003C\u002Fstrong> A dedicated admin page accessible from the WordPress dashboard under the “Site Stats” menu.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Live Statistics:\u003C\u002Fstrong> Displays post count, comment count, and visit count.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>REST API Integration:\u003C\u002Fstrong> Provides a custom REST API endpoint (\u003Ccode>ssds\u002Fv1\u002Fstats\u003C\u002Fcode>) that returns the site statistics.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>React-Based UI:\u003C\u002Fstrong> Uses React (via the built-in \u003Ccode>wp.element\u003C\u002Fcode> library) for the admin dashboard interface.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Visit Tracking:\u003C\u002Fstrong> Tracks every front-end page load to increment the visit counter.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Usage\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>\u003Cstrong>Admin Panel:\u003C\u002Fstrong> Once activated, click on the “Site Stats” menu item in the WordPress admin sidebar to see the statistics.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>REST API:\u003C\u002Fstrong>\u003Cbr \u002F>\nThe plugin registers a REST API endpoint at:\u003Cbr \u002F>\nhttp:\u002F\u002Fyour-site-url\u002Fwp-json\u002Fssds\u002Fv1\u002Fstats\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>This endpoint returns a JSON response with the keys \u003Ccode>post_count\u003C\u002Fcode>, \u003Ccode>comment_count\u003C\u002Fcode>, and \u003Ccode>visit_count\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Note:\u003C\u002Fstrong> Access to the REST API endpoint is restricted to users with the \u003Ccode>manage_options\u003C\u002Fcode> capability (typically administrators).\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Visit Tracking:\u003C\u002Fstrong>\u003Cbr \u002F>\nEvery time a front-end page is loaded (excluding admin pages and AJAX requests), the plugin increments the visit counter. This means the visit count increases on every page load, not only for unique visitors.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>License\u003C\u002Fh3>\n\u003Cp>This plugin is licensed under the \u003Ca href=\"https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Fgpl-2.0.html\" rel=\"nofollow ugc\">GPLv2 or later\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch3>Additional Notes\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>The admin dashboard interface is built using React without a build process (JSX is not used). If you later decide to use JSX or more advanced React features, you’ll need to integrate a build system (e.g., webpack with Babel).\u003C\u002Fli>\n\u003Cli>Ensure you are logged in as an administrator (or a user with the \u003Ccode>manage_options\u003C\u002Fcode> capability) when accessing the plugin dashboard or the REST API endpoint.\u003C\u002Fli>\n\u003C\u002Ful>\n","Simple dashboard that displays site statistics (post count, comment count, visit count) in the admin panel.",299,"","6.7.5","5.2","7.2",[25,26,27,28,29],"comments","dashboard","posts","stats","visits","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fsite-stats-dashboard.1.0.zip",null,"2026-03-15T10:48:56.248Z"]