Pre-Written Text On The WordPress ‘Write’ Page

I wanted to have some text at the bottom of e
WordpressHero › Edit — WordPressvery page and thus have it prewritten in the ‘Write‘ section of my admin section of my WordPress blod. I did not want to have to go through the rigmoral of entering the same text everytime that I wanted to write a new post. I asked myself:

How could I do this?

Step 1: Editing the ‘wp-admin/edit-form-advanced.php‘ file.

The file that needs to be edited is ‘edit-form-advanced.php‘ in the ‘wp-admin‘ folder. The line in question is 100. I looked for the following portion of code on line 100 of the ‘edit-form-advanced.php‘ file:

<?php echo $content ?>

For the sake of this example, the text, I want to have pre-written in the ‘Post’ field in the ‘Write’ page is “I AM AMAZING!“. In order to achieve my objective I simply alter the above code to the following:

<?php echo $content ?>

Step 2: Save and upload.

I then saved my changes and uploaded the changed ‘edit-form-advanced.php‘ file to my webserver in the ‘wp-admin‘ folder, and perfection is mine!

3 Comments Add Your Own Comment

(March 8th, 2009 at 1:01 pm )

Hi, great tutorial!
Can I also put html ?

Big problem :
i don’t find in

I have wordpress 2.71

(December 3rd, 2010 at 12:50 pm )

It is always not safe to edit the wordpress core files. There is another way explained by Justintadlok here :

(December 18th, 2011 at 12:38 pm )

Best Tips to Secure WordPress Blog/Site here

Add Your Own Comment Fields marked * are required.