Still using WP Stats without Jetpack
Still using WP Stats without Jetpack
Still using WP Stats without Jetpack
How to move my stats to a self-hosted website?
There are 2 ways to achieve your result: Use wordpress`s rest api functionality and some frontend js framework (Angular or React or other at your choice) Code custom theme for this purpose – maybe something with authorization and custom userpages
Query to show average # of months all accounts with specific role have been active
“Home page / Archives” stat doesn’t necessarily represent the number of views of a single page, although it might if your front page is a static page. The meaning of, and reason for, the designation was briefly addressed by staff member macmanx, shortly after WordPress evidently changed this stat from “Home page” to “Home page … Read more
Purchase/order statistics plugin for viewing per payment menthod?
how does ‘init’ /’parse_request’ hook work for wordpress?
As I understand, this plugin uses wp_rest action for nonce and it means that the nonce used is global for the whole JSON REST API. Am I correct here? Yes, it’s not the plugin that needs the nonce, it’s WordPress itself, and it needs other things too such as cookies from an active login session, … Read more
Add the counter (PHP or otherwise) to the template file for the home page. This will be either home.php or index.php depending on how you have things set up. If you want to instead add it in the footer, enclose the code inside a conditional tag to detect whether or not you’re on the home … Read more
You’ve got one very large issue here – you’re using $_SESSION. WordPress, by default, doesn’t use session variables. So isset( $_SESSION[‘vsp_user’] ) will always return false because WP isn’t keeping track of things. There are some additional changes you’ll need to make and hooks you’ll need to tie in to in order to enable sessions … Read more