There are some reason we need to add automatically default content in WordPress Post. The main reason for us is, re write some content again and again, It’s really pain.
Justin Tadlock has been create some function and this function will be add extra content automatically when you started create new post.
First, open your functions.php and re write this code below
add_filter( 'default_content', 'my_editor_content' );
function my_editor_content( $content ) {
$content = "If you enjoyed this post, make sure to subscribe to my rss feed.";
return $content;
}
On the code above you’ll find standard text at there “If you enjoyed this post, make sure to subscribe to my rss feed”, you can change everything you need to put and save your code.
The starting write fresh content, and the text will be add automatically. That’s it, now you understand How To Set default Content in WordPress editor
Photos from http://www.flickr.com/photos/usacehq/5164275757/




Pingback: Tweets that mention How To Set default Content in WordPress editor # WordPress Tricks & Tips -- Topsy.com