Include Preset Text In WordPress Posts
Pre-Written Text On The WordPress ‘Write’ Page
I wanted to have some text at the bottom of every 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:
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:
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!