The Re-brand WordPress Admin is for developers who want to give their clients a more personalized and less confusing content management system with amazing look and feel.
2. Before we start ?
At a minimum, you need to know:
WordPress Hooks
functions.php
3. WordPress Hooks?
Hooks allows us to “hook into” WordPress System to retrieve,
insert or modify data or perform certain actions, without
modifying the core files.
Two types :
Actions : Perform Tasks
Filters : Manipulate Data
Ref:
• http://code.tutsplus.com/articles/the-beginners-guide-to-wordpress-actions-and-filters--wp-27373
• http://www.smashingmagazine.com/2011/10/07/definitive-guide-wordpress-hooks/
• http://blog.teamtreehouse.com/getting-aquainted-with-wordpress-action-hooks
4. functions.php
Template.
Acts like a WordPress plugin.
Define functions, classes, actions and
filters.
Add features and extend the functionality.
Ref:
• http://www.wpbeginner.com/glossary/functions-php/
10. Remove Logo from Admin Bar
function wpnepal_admin_bar_remove() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu('wp-logo');
}
add_action('wp_before_admin_bar_render',
'wpnepal_admin_bar_remove', 0);
Ref:
• http://www.staroneweb.co.in/remove-wordpress-logo-admin-bar-pages/
13. Customize the Dashboard
function wpnepal_custom_dashboard_widgets() {
// Quick Press
remove_meta_box('dashboard_quick_press',
'dashboard', 'side');
// WordPress blog
remove_meta_box('dashboard_primary', 'dashboard',
'side');
wp_add_dashboard_widget('custom_help_widget',
'Help and Support', 'wpnepal_custom_dashboard_help');
}
Ref:
• http://codex.wordpress.org/Function_Reference/remove_meta_box
14. Customize the Dashboard
function wpnepal_custom_dashboard_help() {
echo '<p> Your custom message.</p>';
}
add_action('wp_dashboard_setup',
'wpnepal_custom_dashboard_widgets');