Support » Fixing WordPress » Word Press theme / help

  • Well I’m working on my first Word Press theme and I want to make sure that I have every element covered so if I go to sale it, the buyer gets what they are paying for. The theme I’ve created can be seen at http://wp.techguymike.com.

    The pages that are in the theme include:

    • comments-popup.php
    • comments.php
    • footer.php
    • functions.php
    • header.php
    • index.php
    • searchform.php
    • sidebar.php
    • single.php
    • style.css

    From what I can tell, these are pretty much the essential files for a Word Press theme. Is there any files I am missing or should include? Are there any extra files that I should include? Also, how should I go about checking to make sure people can ad widgets if they want?

    Thanks – Mike

Viewing 4 replies - 1 through 4 (of 4 total)
  • that’s the basic things you need for a theme but I think if you want widgets you have to have the function file too but I’m not sure I don’t use widgets tried but it didn’t work

    He has it – if you read the list.

    Basically, a theme should work with an index and a stylesheet.
    Theme_Development
    The more files – more flaxibility in customization. I always like to have an archive.php for monthly and category archives, in that way I can customize the index.
    more: Template_Hierarchy

    I would add 404.php as well. You can see an example on the default WP theme. This is extremely useful, as it will load in the event of a 404 rather than the index. This could confuse some readers and they may try accessing the missing page again, only to be redirected again, et cetera.

    Also, page.php for any pages they may make. I’ll post again if I think of any. :]

    Thread Starter tutorialstuff

    (@tutorialstuff)

    Thanks for the info everyone! I will read those articles soon. Also, I had planned on adding the 404 page but just haven’t done it yet but thanks for the pointer!

    -Mike

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Word Press theme / help’ is closed to new replies.