Support » Plugin: Flexible Quote Rotator Plus » What's WP Capability?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Steve Lescure

    (@slescure)

    Hi – Good question. Unfortunately, I don’t know the answer to that off the top of my head. Let me look into it again get back.

    steve

    Plugin Author Steve Lescure

    (@slescure)

    Hello again,

    Since I think it’s possible some people might want Editors to add/modify quotes, i suggest you modify your site’s functions.php to handle this issue.

    I wrote/tested this code – below – after you add it only Administrators will be able to edit/modify the quotes. just cut and paste it into functions.php.

    hope this helps.

    add_action( ‘admin_menu’, ‘my_remove_menu_pages’ );

    function my_remove_menu_pages() {

    if (!current_user_can(‘administrator’)) {
    remove_submenu_page( ‘tools.php’,’flexi-quote-rotator-plus.php’ );
    }
    }

    see the page below if you are not familiar with how to modify the functions.php file.

    https://codex.wordpress.org/Functions_File_Explained

    Plugin Author Steve Lescure

    (@slescure)

    I’m going to mark this topic as resolved.

    I’d be interested in hearing anybody else’s thoughts on this issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘What's WP Capability?’ is closed to new replies.