Custom wp_welcome_panel for every role or custom dashboard

Where is the “Welcome Panel”? The WordPress dashboard (which houses the “Welcome Panel”) basically is the ~/wp-admin/index.php When does it show? As you can see when looking at the source, there’s the following check: if ( has_action( ‘welcome_panel’ ) && current_user_can( ‘edit_theme_options’ ) ) How to bypass the needed capability? Make it available for everyone! … Read more

How do I disable dashboard update notifications for subscribers?

you can include some custom css in your functions.php that hides the update_nag (notifications) element dependent on user capability: add_action(‘admin_head’,’admin_css’); function admin_css() { if(!current_user_can(‘administrator’))//not and admin { echo ‘<style>’; echo ‘.update_nag{display:none}’; echo ‘</style>’; } }

Dashboard says “no posts found” even though there are some posts

Try the fix posted here: http://sourceforge.net/tracker/?func=detail&aid=3485384&group_id=315685&atid=1328061 It worked for me. translations.php line 726 Change this: $pattern = ‘/LIMIT\s*(\d+)((\s*,?\s*)(\d+))(;{0,1})$/is’; to this: $pattern = ‘/LIMIT\s(\d+)((\s*,?\s*)(\d+)*);{0,1}$/is’; Removing the extra parentheses allows “LIMIT 0, 10” to become “TOP 10”. With the extra parentheses, the “0” is used instead.

Disable “Blogroll” or “WordPress Dashboard News” section in WordPress v.4.1?

If you want to remove metaboxes from the dashboard page you can add this to functions.php function remove_dashboard_widgets () { remove_meta_box(‘dashboard_quick_press’,’dashboard’,’side’); //Quick Press widget remove_meta_box(‘dashboard_recent_drafts’,’dashboard’,’side’); //Recent Drafts remove_meta_box(‘dashboard_primary’,’dashboard’,’side’); //WordPress.com Blog remove_meta_box(‘dashboard_secondary’,’dashboard’,’side’); //Other WordPress News remove_meta_box(‘dashboard_incoming_links’,’dashboard’,’normal’); //Incoming Links remove_meta_box(‘dashboard_plugins’,’dashboard’,’normal’); //Plugins remove_meta_box(‘dashboard_right_now’,’dashboard’, ‘normal’); //Right Now remove_meta_box(‘rg_forms_dashboard’,’dashboard’,’normal’); //Gravity Forms remove_meta_box(‘dashboard_recent_comments’,’dashboard’,’normal’); //Recent Comments remove_meta_box(‘icl_dashboard_widget’,’dashboard’,’normal’); //Multi Language Plugin remove_meta_box(‘dashboard_activity’,’dashboard’, ‘normal’); … Read more

Remove Visual Composer Tab from Dashboard Menu [closed]

It is not easy to find it out, but it is pretty easy if you know how. Add this following code to your themes functions.php. function custom_menu_page_removing() { remove_menu_page(‘vc-welcome’); //vc } add_action( ‘admin_init’, ‘custom_menu_page_removing’ ); (Previously been admin_menu, now is admin_init) This is how to find out for the next time: If you want to … Read more

Custom Role does not have access to dashboard

You have to give the capability a true or false, like this: add_role(‘user’, ‘User’, array( ‘read’ => true )); To fix it, first remove the role and than re-add it again. remove_role(‘user’); add_role(‘user’, ‘User’, array(‘read’ => true)); http://codex.wordpress.org/Function_Reference/add_role

How can I change the dashboard appearance?

I use a custom include file that I created to modify the dashboard. Some of the hooks and filters are commented out by default but most of the stuff is here to remove menus, change wp logos, remove meta boxes, remove dashboard widgets, etc… <?php /* File: cleanup-dashboard.php Description: Clean up and customize the dashboard … Read more

Hide dashboard from non-admin users

As far as ease of use, especially for WordPress Admins not too firm in PHP, I second brasoflo’s plugin recommendation (Adminimize). For the sake of completeness, this is how it’d be done programmatically: /* Remove the “Dashboard” from the admin menu for non-admin users */ function wpse52752_remove_dashboard () { global $current_user, $menu, $submenu; get_currentuserinfo(); if( … Read more