For version 3.6 and above
You can now set the roles via Settings page as screenshot below:
For Legacy or Older versions
Edit ssf-wp-functions.php and search for keyword $ssf_wp_menu_pages[‘main’], you can change the ‘capability’ from ‘administrator’ to ‘editor’ or ‘author’ as below:
Original:
$ssf_wp_menu_pages['main'] = array('title' => __("Super Store Finder", SSF_WP_TEXT_DOMAIN)."$notify", 'capability' => 'administrator', 'page_url' => $parent_url, 'icon' => SSF_WP_BASE.'/images/logo.ico.png', 'menu_position' => 47); $ssf_wp_menu_pages['sub']['information'] = array('parent_url' => $parent_url, 'title' => __("Quick Start", SSF_WP_TEXT_DOMAIN), 'capability' => 'administrator', 'page_url' => $parent_url); $ssf_wp_menu_pages['sub']['locations'] = array('parent_url' => $parent_url, 'title' => __("Stores", SSF_WP_TEXT_DOMAIN), 'capability' => 'administrator', 'page_url' => SSF_WP_PAGES_DIR.'/stores.php'); $ssf_wp_menu_pages['sub']['import'] = array('parent_url' => $parent_url, 'title' => __("Import/Export", SSF_WP_TEXT_DOMAIN), 'capability' => 'administrator', 'page_url' => SSF_WP_PAGES_DIR.'/import.php'); $ssf_wp_menu_pages['sub']['Add-ons'] = array('parent_url' => $parent_url, 'title' => __("Add-ons", SSF_WP_TEXT_DOMAIN), 'capability' => 'administrator', 'page_url' => SSF_WP_PAGES_DIR.'/Add-ons.php'); $ssf_wp_menu_pages['sub']['settings'] = array('parent_url' => $parent_url, 'title' => __("Settings", SSF_WP_TEXT_DOMAIN), 'capability' => 'administrator', 'page_url' => SSF_WP_PAGES_DIR.'/settings.php');
Change to:
$ssf_wp_menu_pages['main'] = array('title' => __("Super Store Finder", SSF_WP_TEXT_DOMAIN)."$notify", 'capability' => 'author', 'page_url' => $parent_url, 'icon' => SSF_WP_BASE.'/images/logo.ico.png', 'menu_position' => 47); $ssf_wp_menu_pages['sub']['information'] = array('parent_url' => $parent_url, 'title' => __("Quick Start", SSF_WP_TEXT_DOMAIN), 'capability' => 'author', 'page_url' => $parent_url); $ssf_wp_menu_pages['sub']['locations'] = array('parent_url' => $parent_url, 'title' => __("Stores", SSF_WP_TEXT_DOMAIN), 'capability' => 'author', 'page_url' => SSF_WP_PAGES_DIR.'/stores.php'); $ssf_wp_menu_pages['sub']['import'] = array('parent_url' => $parent_url, 'title' => __("Import/Export", SSF_WP_TEXT_DOMAIN), 'capability' => 'author', 'page_url' => SSF_WP_PAGES_DIR.'/import.php'); $ssf_wp_menu_pages['sub']['Add-ons'] = array('parent_url' => $parent_url, 'title' => __("Add-ons", SSF_WP_TEXT_DOMAIN), 'capability' => 'author', 'page_url' => SSF_WP_PAGES_DIR.'/Add-ons.php'); $ssf_wp_menu_pages['sub']['settings'] = array('parent_url' => $parent_url, 'title' => __("Settings", SSF_WP_TEXT_DOMAIN), 'capability' => 'author', 'page_url' => SSF_WP_PAGES_DIR.'/settings.php');
Users who have LIKED this post: