Add highlighting to new Admin Dashboard Menu Item

The probability is high that no hook will exist for that… But it can be solved with jQuery: add_action( ‘admin_head-post.php’, ‘wpse_58567_highlight_menu_item’ ); function wpse_58567_highlight_menu_item() { global $post; if( 69 != $post->ID ) return; ?> <script type=”text/javascript”> jQuery(document).ready( function($) { $(‘#toplevel_page_post-post-69-action-edit’).removeClass(‘wp-not-current-submenu’).addClass(‘current’); $(‘#toplevel_page_post-post-69-action-edit’).find(‘a:last’).addClass(‘current’); }); </script> <?php }

Add column to pages table

Also an tutorial with an solution for page and post to add thumbnail in a column: http://wpengineer.com/1960/display-post-thumbnail-post-page-overview/ Change the content from thumbnail to your content and remove the hooks for post: // for posts // add_filter( ‘manage_posts_columns’, ‘fb_AddThumbColumn’ ); // add_action( ‘manage_posts_custom_column’, ‘fb_AddThumbValue’, 10, 2 ); // for pages add_filter( ‘manage_pages_columns’, ‘fb_AddThumbColumn’ ); add_action( ‘manage_pages_custom_column’, … Read more

How to Add Admin Bar and Admin Menu or Submenu Notification Bubbles?

You just create the bubble (circle) with CSS, and have text site on top of it. Example CSS span.mbe-update-bubble{ position: absolute !important; top: 6px !important; left: 6px !important; -webkit-border-radius: 10px !important; -khtml-border-radius: 10px !important; -moz-border-radius: 10px !important; border-radius: 10px !important; background: #ccc !important; color: #464646 !important; width: 10px !important; height: 10px !important; padding: 3px !important; … Read more

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