• Resolved jason kickmouth

    (@jason-kickmouth)


    Hi guys
    Is it possible for a wordpress user with Editor access to use this plugin or does it have to be an Administrator?
    Thanks
    J

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi @jason-kickmouth,

    Thanks for reaching us. Hope you are doing well.

    Yes, it is possible for a user with editor access to use the plugin, please add the following code in your current theme’s functions.php file. See the screenshot: https://prnt.sc/205j9ak

    add_filter('sp_wp_team_member_post_args', 'spt_show_to_editor');
    function spt_show_to_editor( $args ) {
        unset( $args['show_ui'] );
        $editor_compatible = array( 'show_ui' => current_user_can( 'edit_others_pages' ) ? true : false );
        return array_merge( $args, $editor_compatible );
    }

    Hope this helps.

    Thank you.

    Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi @jason-kickmouth,

    This thread has been inactive for a bit, so I’m going to mark it as Resolved now. Please feel free to open a new one if you have any further questions.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘admin user access’ is closed to new replies.