Alan's current Twitter status:Is gonna win big this week.
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:
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:
<div>
<textarea rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="5" id="content">
<? php echo $content ?>
I AM AMAZING!
</textarea>
</div>
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:
<div>
<textarea rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="5" id="content">
<? php echo $content ?>
I AM AMAZING!
</textarea>
</div>
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!

I wanted to just show my ‘website news’ category in the root of my Wordpress installation. But by default index.php shows the latest posts from all categories, this was not what I wanted. So how could I get what I want?
Continue reading Show Only 1 Wordpress Category In ‘index.php’