How to hide the tags “all, publish, thrash, draft, pending” for authors posts but not for the administrator?

You need to return the $views for admins, thats why you don’t see anyting. EDIT: IMPORTANT, you are using a action but you need to use filter function remove_edit_post_views ($views) { if (!current_user_can(‘manage_options’)) { unset($views[‘all’]); unset($views[‘publish’]); unset($views[‘trash’]); unset($views[‘draft’]); unset($views[‘pending’]); return $views; } return $views; // this is the missing piece } add_filter(‘views_edit-post’, ‘remove_edit_post_views’); You can … Read more

Add custom row to welcoming in dashboard

Yes it’s quite possible, there’s a filter hook in place so we can add our own links in, adjust the following code as necessary.. add_filter( ‘admin_user_info_links’, ‘custom_admin_user_info_links’ ); function custom_admin_user_info_links( $links ) { $links[] = ‘<a href=”http://www.google.com”>Example link</a>’; //$links[] = ‘<a href=”http://wordpress.stackexchange.com”>Another example</a>’; return $links; } Hope that helps.

Customizing the dashboard page or post overview

I use a version of the following, to add text to the top of the Page (edit.php?post_type=page): // Show message when viewing pages function page_AdminMessage() { showMessage(“You are now viewing the Pages”, false); } if ($_GET[‘post_type’] == ‘page’) { add_action(‘admin_notices’, ‘page_AdminMessage’); } Which just needs to be added into functions.php.

Add dashboard widget to page created with add_menu_page()?

I’ve edited my question to include the fact that I’ve found the answer to my own question here http://www.code-styling.de/english/how-to-use-wordpress-metaboxes-at-own-plugins in case anyone finds the question while searching for a similar solution. The two column variation he includes in his solution no longer seems to work but is a simple thing to override.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)