• AlanWho.com Helping Only Cool, Attractive and Intelligent People Win Online!

      • Home
      • About
      • Contact
  • Alan's current Twitter status:Is gonna win big this week.

    • March 19th, 2006

      Include Preset Text In Wordpress Posts

      Bugar all comments
      Add Comment
    • 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:

      <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>
      

      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!

    • 1,046 Views
      Published in Wordpress, Web Development
    • March 19th, 2006

      Show Only 1 Wordpress Category In ‘index.php’

      2 Comments
      Add Comment
    • Wordpress

      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’

    • 869 Views
      Published in Wordpress, Web Development
    • Icons

      • 104 Standard PC Keyboard Key Icons
    • Wordpress Themes

      • 72 Class
    • Photoshop Video Tutorials

      • 10 Photoshop Tool Secrets
      • 10 Secret Photoshop Interface Tips
    • Archives

      • May 2008
      • November 2007
      • October 2007
      • September 2007
      • August 2007
      • July 2007
      • June 2007
      • May 2007
      • April 2007
      • March 2007
      • February 2007
      • October 2006
      • August 2006
      • July 2006
      • May 2006
      • April 2006
      • March 2006
    • Resources

      • Business Growth System
      • Copywriting Confessions
      • Dreamhost Hosting
      • MediaTemple Hosting
      • Spyzooka
    • Categories

      • Ask AlanWho
      • Blog
      • CSS
      • Icons
      • Investigations
      • Make Money Online
      • Photoshop
      • Reviews
      • Wordpress
    • Notorious Posts

      1. 10 Photoshop Tool Secrets
      2. Burning Neon Text Effect
      3. Free MySpace Money Layouts
      4. 104 Standard PC Keyboard Key Icons
      5. Photoshop Artistic Filters
      6. 72 Class - A Theme For Wordpress
      7. 5 Google Adsense Secrets To Increase CTR
      8. 10 Secret Photoshop Interface Tips
      9. Grunge Text Effect Video Tutorial
      10. Create A 3D EBook Box Cover
    • Internet Pals

      • Jay Abraham
      • Gordon Brown P.M.
      • John Carlton
      • Suzanne Cathcart
      • Michael Cheney
      • Arielle Castillo
      • 'David DeAngelo'
      • Franz Ferdinand
      • David Frosdick
      • Aria Giovanni
      • Amal Hantash
      • Paris Hilton
      • Ben Hunt
      • Dean Hunt
      • Jamiroquai
      • Andrew Lock
      • Clayton Makepeace
      • Rich Schefren
      • Gary Smith
      • Marc Thomas
      • Gary Vaynerchuk
      • Andrea Yager
    • © AlanWho Ltd. 2008

      • Top
      • Entries (RSS)
      • Comments (RSS)