Pre-Written Text On The Wordpress ‘Write’ Page

I wanted to have some text at the bottom of ehttp://wordpresshero.com/wp-admin/post.php?action=edit&post=18&message=4
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 ?>
I AM AMAZING!

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!

  • It is always not safe to edit the wordpress core files. There is another way explained by Justintadlok here : http://justintadlock.com/archi...

  • Hi, great tutorial!
    Can I also put html ?

    Big problem :
    i don't find in
    edit-form-advanced.php

    I have wordpress 2.71

blog comments powered by Disqus