Hi @danstein81
we have a filter to allow other roles as well. Please see this documentation:
https://statify.pluginkollektiv.org/documentation/hooks/#user_can_see_stats
See also this thread with a working solution for editors.
If you need more help to get this working for the “Shop Manager” role, please just reply again.
All the best
Torsten
“Thank you for your response. Unfortunately, it’s not clear to me how to use the code. Where do I enter it? I want all users to have the ability to see the statistics on the dashboard. Is there no straightforward solution?
Hi @danstein81
you asked for the “Shop Manager” role first, if you want to enable the stats for everyone, you can just use the mentioned example:
add_filter( 'statify__user_can_see_stats', '__return_true' );
You can put this code in the functions.php (if you have a custom theme or a child theme), you can build a functionality plugin yourself, or you use the plugin Code Snippets (which will be the easiest way):
https://ww.wp.xz.cn/plugins/code-snippets/
The upcoming version 2 will have a UI solution for this:
https://github.com/pluginkollektiv/statify/issues/106#issuecomment-968127373
Hope this helps!
All the best
Torsten
“Thank you, Thorsten. I changed my mind about the role when I realized it wouldn’t be that easy. sorry 😊✌ When can we expect version 2?”