WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics Dashboard Stats
[resolved] Display widget to editors capability (3 posts)

  1. athalas
    Member
    Posted 2 years ago #

    Hi,

    Thank you for the great plugin. How would we go about displaying the stats widget to all users with the editor capability?

    Thank you

    http://wordpress.org/extend/plugins/google-analytics-dashboard-stats/

  2. mmattner
    Member
    Plugin Author

    Posted 2 years ago #

    This is something I likely need to address in a new release, so that you can manage who can and cannot see the stats.

    If you'd like this capability now, you can edit the dashboard-stats.php file around line 385. It should read:

    if(current_user_can('manage_options')) {

    Change it to:

    if(current_user_can('edit_pages')) {

    and you should be set. If you have any trouble, let me know.

  3. athalas
    Member
    Posted 2 years ago #

    Thank you for the reply. I've made the change and its displaying for our editors now.

    Looking forward to any upcoming releases of your great plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic