AlanWho

Mar 19, 2006

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!

Sep 05, 2005

Blogger Solves Global Energy Crisis

Lets all become Jews!

No - I am not a jew. But if I was a jew and you were a jew the world could save a lot of energy. Why?

Well look at where we are right now in the world. The media both offline and online is full of people whining about "The price of oil bla bla" ... "The price of electricity that. Moan. Moan. Moan."

Well instead of moaning, yours truly has THE solution.

Just so we are clear, let me re-type my first line:

Lets all become Jews

Why?

Read the rest of this page »