WP Bannerize
Issue with Contributors having access to the banner handling (5 posts)

  1. Roger N
    Posted 3 years ago #

    Thanks for what appears to be the best banner plugin available right now!

    However, I have some issues with it specifically for the site I manage. The site has many contributors that write articles. All this is handled via a plugin called Role Scoper. Unfortunately, WP Bannerize is completely open to manage for all the site contributors and I assume it relates to it having its own button in the left side menu, not being placed under 'Settings'.

    Do you have any suggestions as to how I should handle this? As it is, I simply can't use this plugin, as it would leave too many people with direct access to the banner handling.


  2. Roger N
    Posted 3 years ago #

    Almost got it sorted by removing similar admin menu items out in the functions.php. However, the WP Bannerize is stubborn and still remains in the menu. Any advice? I assume it is to do the the name used in the restrictions.

    if (! current_user_can('manage_options')){

    function remove_menus (){
    global $menu;
    $restricted = array(__('Quotes'), __('Events'), __('WP Bannerize'));
    end ($menu);
    while (prev($menu)){
    $value = explode(' ',$menu[key($menu)][0]);
    if(in_array($value[0] != NULL?$value[0]:"" , $restricted)){unset($menu[key($menu)]);


  3. Roger N
    Posted 3 years ago #

    Found it. This removes WP Bannerize from non-admin's admin menu:

    //hide wp-bannerize menu items to non administrators
    if ( is_admin() && ! current_user_can( 'administrator' ) ) {
    add_action( 'admin_menu', 'mwr_remove_wpbannerize' );
    function mwr_remove_wpbannerize() {
    remove_menu_page( 'wp-bannerize-mainshow' );

  4. MyUtd4Life
    Posted 3 years ago #

    Is there a solution for User Role Editor?

  5. Ruude4s
    Posted 3 years ago #

    I would suggest to use the Adminimize plugin. It let's you disable admin menu items for specifuc user roles and works great with custom post types.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Bannerize
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.