Wordpress: Default Post
If you should come in the situation that you always need the same post over and over again, e.g. if you use wordpress as a CMS then I have a useful trick for you.
We have to edit the function “the_editor“, which is defined at general-template.php!
Open the file and find the function; now inside the function find
textarea class='mceEditor' $rows cols='40' name='$id' tabindex='2' id='$id'>%s
Straight after the %s add the text that is supposed to be your default post. If it’s a complex string you can safe the text in a variable e.g. $defaulttext = “here goes my php code”; and simply add $defaulttext after %s, but before the closing textarea tag!
