To make sure your template is ready to go public, run through the following steps before packaging it up:
Remove all the unnecessary files hanging out in your theme's root directory! As I work on a theme, I often copy in files from the default theme in order to quickly reference them. I make sure to name them something like
orig_header.php
, and so on, for quick and easy reference of template tags that I will use in my theme, but those must be cleared out before you package up. Be sure that only the files required to run the theme are left in your directory. Don't forget to test your theme one more times after deleting files to ensure you didn't accidentally delete a file your theme uses!Open up the
style.css
sheet and make sure that all the information contained in it is accurate. I had you fill this out in the beginning of Chapter 3 when we were setting up our development theme directory, but I'll review it in detail in the following section.Create a
ReadMe.txt
file...