I need to edit the "Help" section of the "Page" page in the Admin panel. Since wordpress doesn't allow multiple line breaks I need to make sure the user knows that if they add the "
" tag in the HTML section they will achieve the line break so I figure what better place to add this than the help section. I can't seem to find the Page file though. Directory Help?

1 Answer 1


You can add the custom help by adding a hook to the page load e.g. page-new.php would become load-page-new.php

function custom_help_page() {

function custom_page_help($help) {
  $custom =  "<h5>Custom Help</h5>
              <p>Custom help content</p>";
  return $custom.$help; 

add_action('load-page-new.php','custom_help_page'); //New page
add_action('load-page.php','custom_help_page'); //Page, edits, updates etc.

If you don't want the default help to still display, simply remove echo $help;

Edited to return rather echo the values.

  • Well I still want the help information that is there, I just want to add to the test. Where is help variable for "Pages" located?
    – Howdy_McGee
    Sep 13, 2011 at 19:08
  • They all use the default $help variable. If you echo it then it should still display.
    – Elliott
    Sep 13, 2011 at 19:32
  • 1
    You shouldn't echo with a filter, you should append or prepend the information you want to add and return it. Sep 13, 2011 at 22:09
  • 1
    @helenhousandi I have edited my answer, does that look the correct way?
    – Elliott
    Sep 14, 2011 at 8:09
  • Yes, that's much more correct :) I'd also use a less-generic function name for namespacing, usually just myprefix_ or something. Sep 14, 2011 at 14:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.