HI, im trying to add new roles in wordpress, and I notice that editor role cannot access the wordpress dashboard (not classiCraft dashboard, WORDPRESS dashboard) any idea where to change that setting ? I know it classicraft that block it, because if I deactivate the theme, I can access the WP dashboard with editor Role THanks
found it, its in the cc_function.php add_action( 'admin_init', 'cc_prevent_admin_access', 1 ); I think this should be in the theme Settings Page..
so if you want Administrator and Editor to be able to access the dashboard you need to change this in the cc_function.php. add_action( 'admin_init', 'cc_prevent_admin_access', 1 ); function cc_prevent_admin_access() { $isAjax = (defined( 'DOING_AJAX' ) && true === DOING_AJAX) ? true : false; if ( !$isAjax ) { if ( !current_user_can( 'administrator' ) && !current_user_can( 'editor' ) ) { wp_die( YOUR_ARE_NOT_ALLOWED ); } } }