Different Admin language

In WordPress, since few version there is a setting in each user profile to select a language which have higher priority than site language. This can be the answer of the back office always in Hungarian. About WooCommerce emails, they are sent in the default website language unless a custom code or a plugin come … Read more

Admin sidebar customization

This may sound silly but are you sure you have administrator permissions? (Logged in with an account with Administrator privileges.) If you are sure you have the correct permissions, you may also want to check with the original theme developer to see if there are white label admin features enabled within the theme. You will … Read more

How can I reorder admin bar items?

This is an old question, but for others in the future the answer is. You can add the following code to functions.php. function reorder_admin_bar() { global $wp_admin_bar; // The desired order of identifiers (items) $IDs_sequence = array( ‘wp-logo’, ‘site-name’, ‘new-content’, ‘edit’ ); // Get an array of all the toolbar items on the current // … Read more

How do I disable certain menu in editor user administrator page

Put this code in your current active theme’s functions.php file function remove_editor_menus() { global $menu; global $current_user; get_currentuserinfo(); if($current_user->user_level < 10) { $restricted = array(__(‘Pages’), __(‘Media’), __(‘Comments’), __(‘Tools’), ); end ($menu); while (prev($menu)){ $value = explode(‘ ‘,$menu[key($menu)][0]); if(in_array($value[0] != NULL?$value[0]:”” , $restricted)){unset($menu[key($menu)]);} }// end while }// end if } add_action(‘admin_menu’, ‘remove_editor_menus’);

How can I move Customizer menu item to first level in WP Dashboard?

The function below should help you. It removes the default menu item from the “Apperance” menu item and a new menu item to the Dashboard. add_action( ‘admin_menu’, ‘fb_customize_admin_menu_hide’, 999 ); function fb_customize_admin_menu_hide(){ global $submenu; // Remove Appearance – Customize Menu unset( $submenu[ ‘themes.php’ ][ 6 ] ); // Create URL. $customize_url = add_query_arg( ‘return’, urlencode( … Read more