How to Make Your Own Theme – PART 7

Now that we’ve covered the basics, it’s time to step into new territory and do some experimenting of your own. For this particular theme, I will continue the customization by modifying the following template files:

  • single.php – This template tells WordPress how to display single posts.
  • searchform.php – This custom template, referenced in sidebar.php, integrates with WordPress’ search function and lets you style it as you’d like. I added a “size=12″ element to the search box to help it fit inside the column.
  • page.php – This template tells WordPress how to display individual pages.
  • search.php – This template tells WordPress how to display your search results.
  • comments.php – This rather intimidating looking template tells WordPress how to display your comments. Just take your time going through it, things aren’t so scary as they may seem at first :)
  • archives.php – This template tells WordPress how to display the archive results.

There’s a whole lot more work that I’ll be doing on this particular theme, but for the sake of keeping things basic, I’ll talk about that in future tutorials. I’ll be creating templates for individual posts, etc and adding more dynamic elements within the template. For now, though, we’ll just keep things basic.

Looking for quality WordPress Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , | Posted under WordPress | RSS 2.0

Author Spotlight

TJ Marsh

TJ Marsh

My name is Tj Marsh. I spend about 16 hours a day on the internet. Running my company and helping out here at Arvixe. I live in the good ole Arizona where it gets ridiculously hot. I love WordPress and a lot of other open source software along with coding.

Leave a Reply

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


7 × = 21

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>