Word Press theme / help (5 posts)

  1. tutorialstuff
    Posted 8 years ago #

    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

  2. kayness87
    Posted 8 years ago #

    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

  3. moshu
    Posted 8 years ago #

    He has it - if you read the list.

    Basically, a theme should work with an index and a stylesheet.
    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

  4. melissanikol
    Posted 8 years ago #

    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. :]

  5. tutorialstuff
    Posted 8 years ago #

    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!


Topic Closed

This topic has been closed to new replies.

About this Topic