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.