Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

What would be the best way to add some basic HTML to the page overview (edit.php)? Basically I want to add some text, like a meta box, to explain some things about the page system to my multisite users.

Found the answer thanks to the solution provided by OleVik. Here's a few more resources on the topic:

How to show an urgent message in the WordPress admin area Plugin API/Action Reference/admin notices

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I use a version of the following, to add text to the top of the Page (edit.php?post_type=page):

// Show message when viewing pages
function page_AdminMessage()
{
    showMessage("You are now viewing the Pages", false);
}
if ($_GET['post_type'] == 'page') {
    add_action('admin_notices', 'page_AdminMessage');
}

Which just needs to be added into functions.php.

share|improve this answer
    
Thanks, this is what I was looking for :-) –  Marc Jan 17 '12 at 8:19

Your Answer

 
discard

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.