• Posted: 2010-09-10
  • Author: Filip Stefansson
  • Tags:

Edit the help dropdown

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
<?php
add_action('load-page-new.php','add_custom_help_page');
add_action('load-page.php','add_custom_help_page');
function add_custom_help_page() {
   //the contextual help filter
   add_filter('contextual_help','custom_page_help');
}
function custom_page_help($help) {
   //keep the existing help copy
   echo $help;
   //add some new copy
   echo "&lt;h5>Custom Features&lt;/h5>";
   echo "&lt;p>Content placed above the more divider will appear in column 1. Content placed below the divider will appear in column 2.&lt;/p>";
}
?>

Instructions:

The help-dropdown in the Admin Panel can be a useful asset to those who aren’t experst on how to use WordPress. You can easily customize it for a client or such.


Related links:
http://www.smashingmagazine.com/2009/12/14/advanced-power-tips-for-wordpress-template-developers-reloaded/
Share this snippet

If you like this snippet, share it with friends!