Wednesday, July 14, 2010

Checklist for creating a basic Wordpress theme

Here's a quick checklist of the things to do before finalizing a Wordpress theme when uploading it to a site:

  • Add the Header API action hook
  • Add the Footer API action hook
  • Image paths in the header and footer file should use the 'template_directory' template tag.
  • Link the stylesheet with the 'stylesheet_url' template tag
  • Change the template name and details in style.css
  • Ensure the sidebar names in fuctions.php match the sidebar names specified in index.php, single.php, and page.php
  • Edit out unnecessary bits in single.php

No comments:

Post a Comment

Only comments in English will be considered. Thank you!