“The plugin generated 311 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.”
https://www.ads-software.com/extend/plugins/dashboard-tweaks/
]]>I really like having so much control over the admin screen. I’ve been having trouble figuring out a way to fix my site title. I have a really long site title and it is truncated in the admin bar. Can anyone help? Thanks in advance.
https://www.ads-software.com/extend/plugins/dashboard-tweaks/
]]>This piece of code:
function sl_dashboard_tweaks_render() {
global $wp_admin_bar;
$wp_admin_bar->add_menu( array(
'id' => 'wp-logo',
'title' => '<span class="sl-dashboard-logo"></span>',
'href' => is_admin() ? home_url( '/' ) : admin_url(),
'meta' => array(
'title' => __('Visit the Frontend of your website'),
),
) );
$wp_admin_bar->remove_menu('about');
$wp_admin_bar->remove_menu('wporg');
$wp_admin_bar->remove_menu('documentation');
$wp_admin_bar->remove_menu('support-forums');
$wp_admin_bar->remove_menu('feedback');
$wp_admin_bar->remove_menu('view-site');
}
add_action( 'wp_before_admin_bar_render', 'sl_dashboard_tweaks_render' );
removes each of the submenu items, but the drop down is still there. And the warning “Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\test3_3\wp-includes\class-wp-admin-bar.php on line 245” is in the drop down.
Thanks
https://www.ads-software.com/extend/plugins/dashboard-tweaks/
]]>