Categories
programming

My First Word Press Plugin—dna.php

It’s not too fancy and it doesn’t really do anything important, but yesterday I created my first plugin for Word Press. It’s a small php file that puts random Douglas Adams quotes on the background of Word Press admin pages. If you’d like to install it follow these simple instructions:

  1. Download dna.php.txt and rename to dna.php.
  2. Upload it to your plugins directory. (/wp-content/plugins)
  3. Next activate it from your plugins menu. You’ll probably want to disable the Hello Dolly plugin if it’s activated since both use the same screen space (Disclaimer: This script was based on hello.php)

This is an image of the script in action:

dna.php in action

Good luck.

One reply on “My First Word Press Plugin—dna.php”

What I want to do on my blog, is every few hours take the oldest post and move it to the
front of the queue, all automatically. Anyone know if there is a plugin that can do this or
a simple way to set up another plugin to do this (use my own feed perhaps)?
Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *