WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer
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 '11 at 19:08
They all use the default $help variable. If you echo it then it should still display. – Elliott Sep 13 '11 at 19:32
You shouldn't echo with a filter, you should append or prepend the information you want to add and return it. – helenhousandi Sep 13 '11 at 22:09
@helenhousandi I have edited my answer, does that look the correct way? – Elliott Sep 14 '11 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. – helenhousandi Sep 14 '11 at 14:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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