Wordpress - Custom Dashboard Widget


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.