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

For a blog project, I need to be able to attach content to each blog post which isn't visible to the casual reader but to all editors.

Think of it as a collection of reference materials, comments and ideas which I'd like to keep. If possible, then I'd like to see this section along with the normal blog editor (so I can edit both at the same time).

Note that I'd like to create a multilingual blog, but it would be alright if this additional information would show up only in the main language (English) instead of being translated. But it should show up in all language versions.

share|improve this question

I like this idea from wprecipes.com. It is a very lightweight solution.

add_shortcode( 'note', 'sc_note' );

function sc_note( $atts, $content = null ) {
     if ( current_user_can( 'publish_posts' ) )
        return '<div class="note">'.$content.'</div>';
    return '';

It allows you to use the [note]...[/note] shortcode to enter private comments.

share|improve this answer
+1 nice idea. I'd prefer a extra, stand alone field, though. – Aaron Digulla Feb 22 '12 at 8:07

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.