How can I make the user names of commentors clickable links to the user’s profile from the admin comment screen?
How can I make the user names of commentors clickable links to the user’s profile from the admin comment screen?
How can I make the user names of commentors clickable links to the user’s profile from the admin comment screen?
You can instruct IIS to provide to wp-login a redirect_to parameter towards wp-admin/; this will do the trick: <rule name=”login” patternSyntax=”ECMAScript”> <match url=”^loginUrl/?” /> <action type=”Rewrite” url=”wp-login.php?redirect_to={UrlEncode:http://{HTTP_HOST}/wp-admin/}” /> </rule> By the way, thanks for posting this question, it’s helping me to understand better the working of redirects and rewrites in IIS. I found this reference … Read more
This is still to be confirmed but so far so good: What I did is open all the minified css related to the admin section and deleted theses parts @media only screen and (max-width:xxx px){…} whenever I found one. It seems to work and doesn’t mess with anything else, as far as I know. Of … Read more
Continuous Login Sessions For Super Admins Across Multi-Site Network of Sites
Replace all occurrences of $current_user->user_login == ‘username’ with in_array(‘editor’, $current_user->roles). And you can remove the call to get_currentuserinfo(); as for the user information is available from the global variable $current_user. Here’s a code swap: add_action(‘_admin_menu’, ‘remove_editor_submenu’, 1); function remove_editor_submenu() { global $current_user; if(in_array(‘editor’, $current_user->roles)) { remove_action(‘admin_menu’, ‘_add_themes_utility_last’, 101); } } add_action(‘admin_init’, ‘remove_theme_submenus’); function remove_theme_submenus() { … Read more
WordPress administrator area access disabled temporarily due to widespread brute force attacks
If you mean like this Then here is an handy class to get it done very quickly: /** * add_num_to_admin_menu * @author Ohad Raz <[email protected]> */ class add_num_to_admin_menu { public $menus = array(); /** * Class constructor * @author Ohad Raz <[email protected]> * * @param array $args menu => number format */ function __construct($args = … Read more
Combine and Minify wp-admin files, also re-write URI’s for CDN
The dashicons are only part of the WordPress admin area. So if you’re aiming for dashicons in the frontend you’ll have to enqueue the icon font within your function.php: add_action( ‘wp_enqueue_scripts’, ‘frontend_dashicons’ ); function frontend_dashicons() { wp_enqueue_style( ‘dashicons’ ); } Moreover you’ll not need to remember those cryptic icon values like \f161; simply add the … Read more
The administrator role is defined by the capabilities the user has. Those are stored in the wp_user_meta table for each user. If you’re on multisite, an additional set of capabilities is assigned to a Super Admin. The Codex tells us what capabilities we can check for in code to see if a user is an … Read more