SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2007
    Posts
    182
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Required template files to make a theme?

    From my understanding, to create a theme, you will need a minimum of 2 files:

    1. style.css
    2. index.php


    I was wondering..

    If you know how you want your (categories, single post, tags, static, archives) page to appear and you've already created all those files, how would you then write the code for index.php?

    Imagine if you've created a template file for every page (even a custom home page where visitors will land), knowing how you want that page to display, how would you then create the index.php file?
    Jaysone

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,590
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    This may not help, but one way to go about it is just to duplicate the Classic Theme in the themes folder and modify what's there as needed. It's worth looking at that folder anyway, as it shows some of the files needed to make up a theme.

  3. #3
    SitePoint Member
    Join Date
    Jun 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This may not be what you're looking for, but if you do a google search on "blank wordpress themes" you can find the framework to build your own theme.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •