Open liogate opened 5 years ago
If you have a separate mobile theme, your theme might be missing the wp_head function
@lesterchan the same theme is used for the both situations: smart-mag is used here.
I am not sure because the logic is the same on the plugin side. There is no special code for mobile. So my guess your theme is not handling something probably if it is rendering the mobile view.
This plugin uses the wp_head action to count the views https://github.com/lesterchan/wp-postviews/blob/master/wp-postviews.php#L49. You might need to check on the theme author.
Thank you for your answer. May be the plugin should offer a switch to call the incrementation function from the frontend or backend ?
Hello,
I'm running into an issue with the plugin on the counter. When I refresh a post 10 times on my desktop, it works like a charm, my post has 10 more views. But when i'm accessing to the same post on my phone, nothing happens.
There's no cache plugin installed.
Thank you for your help !