Thanks!
That is correct, and it’s even mentioned in the FAQ section. You can, however, change that behavior via Settings > WordPress Popular Posts > Tools.
Edit: scratch that. The FAQ is outdated (it seems I forgot to update the relevant FAQ…) and says that views from logged-in visitors are excluded by default, which isn’t true since a couple of versions ago. The suggestion above still applies though.
Thread Starter
remake
(@remake)
Hi Hector,
Thanks for the reply. I reviewed the setting you mentioned and I’m not sure if this works as expected. Which one of the three options available making your plugin to log all the visits except mine? As for my understanding ‘Visitors only’ omits regular registered users which I don’t want to. ‘Logged-in users only’ doesn’t log not-logged viewers, and off course ‘Everyone’ includes me into the statistics.
Regards
Janusz
Ah, that’s a different story.
Currently there’s no way to exclude views from specific user groups (such as administrators, editors, etc). This feature is planned for a future release.
Thread Starter
remake
(@remake)
OK. As a temporary solution I added:
if (current_user_can(‘administrator’)) return true;
to your __update_views function.
Regards
Janusz