Posted By

silentpro on 08/19/11


Tagged

php textmate wordpress functions message dashboard widget wp customer


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Kurt


Wordpress - Custom Dashboard Widget


 / Published in: Other
 

  1. /* CUSTOM DEVELOPER MESSAGE */
  2. add_action('wp_dashboard_setup', 'my_custom_dashboard_widgets');
  3.  
  4. function my_custom_dashboard_widgets() {
  5. global $wp_meta_boxes;
  6.  
  7. wp_add_dashboard_widget('custom_help_widget', 'Your Site Support!', 'custom_dashboard_help');
  8. }
  9.  
  10. function custom_dashboard_help() {
  11. echo '<p>ENTER NOTE FOR CUSTOMER HERE <a href="mailto:[email protected]">LINK</a>, OR ADD YOUR CONTACT NUMBER ###-###-####.</a></p>
  12. <img src="'.get_bloginfo('template_url').'/PATHTO/IMG.png" />';
  13. }

Report this snippet  

You need to login to post a comment.