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.

I know it is possible to change the "Enter Title Here". But is there’s a function to add text (“how to...”, “simple rules to post...”) inside the post text/input area! Any help?

share|improve this question

2 Answers 2

You can use Qtip to write your how to...”, simple rules to post..." and it will show on hover for each element

$("jqueryselector").qtip({
   content: 'I\'m at the top right of my target',
   position: {
      corner: {
         target: 'topRight',
         tooltip: 'bottomLeft'
      }
   }
})

Update:

even simpler you can use "Jquery Form Field Default Value plugin"

Demo

Usage:

$("#myfield").DefaultValue("My Default Value..");
share|improve this answer
    
Not out side, but actually inside the post. Similar to the "Enter Title Here" solution. –  PauloP May 6 '11 at 14:16
    
ok then i updated my answer –  Bainternet May 6 '11 at 14:50

Add some custom javascript to the admin area, using wp_enqueue_script().

$(document).ready(function() {
    $('#input-id').attr('placeholder', 'Did you try Google first?');
});

The placeholder attribute does not work in Internet Explorer yet. You could fall back on a jQuery placeholder plugin if needed.

share|improve this answer
    
Thanks. But no js, I was thinking only in standard WP php methods. –  PauloP May 6 '11 at 14:15

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.