Dashicons and Pseudo :before

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

Super administrator db name

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

How-to turn off mobile admin mode?

The solution is to edit /wp-admin/admin-header.php and search for “device-width” and change it to something like this: <meta name=”viewport” content=”width=1024″> This allows you to see the unadulterated WordPress admin interface on your tablet or phone. No more jumbo-size letters.

Enqueue and Dequeue from admin bar nodes

From what I understand from your question, your best course of action is to assign the node to a WordPress callback function using built-in AJAX. If you don’t know what I’m talking about, you should familiarize yourself with using AJAX in WordPress in the Codex. However, here is a basic overview of steps: Add a … Read more