Title: Theme compatibility?
Last modified: August 19, 2016

---

# Theme compatibility?

 *  [momojojo](https://wordpress.org/support/users/momojojo/)
 * (@momojojo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/theme-compatibility/)
 * What is required for themes for the latest version of WordPress? What files are
   imperative to a working theme? I’ve used the files that I have always used in
   earlier versions, and when I preview self-made themes in my dashboard, I get 
   a completely blank theme on my site.

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/theme-compatibility/#post-1253265)
 * > What files are imperative to a working theme?
 * At the very minimum, a WordPress Theme consists of two files:
    style.css index.
   php
 * [http://codex.wordpress.org/Theme_Development](http://codex.wordpress.org/Theme_Development)
 *  Thread Starter [momojojo](https://wordpress.org/support/users/momojojo/)
 * (@momojojo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/theme-compatibility/#post-1253267)
 * Maybe I am doing something else wrong.
    I have index, style, header, footer, 
   and comments. Could there be an error in my coding? My index is the same index
   that comes in the WP download. I have checked to make sure all of my coding is
   closed appropriately, etc.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/theme-compatibility/#post-1253272)
 * Sounds like there’s an error in your coding. Try checking header.php.
 *  Thread Starter [momojojo](https://wordpress.org/support/users/momojojo/)
 * (@momojojo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/theme-compatibility/#post-1253287)
 * Hmm. I uploaded it without my header, and I received this message during the 
   preview :
 * Error!
    the template St2 does not exists, note that templates are case sensitive
   and you must write the name exactly as it is
 * & thanks esmi for helping me!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/theme-compatibility/#post-1253311)
 * You can’t just delete header.php unless you’re incorporating that code in your
   index.php file. The fact that you’re getting a completely blank screen when you
   try to preview your theme suggests that the error is fairly early in the template
   loading process. So looking for a coding problem in header.php is a good place
   to start.
 *  Thread Starter [momojojo](https://wordpress.org/support/users/momojojo/)
 * (@momojojo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/theme-compatibility/#post-1253558)
 * If I posted my coding here, could any take a look at it and see if they find 
   anything? I`ve been looking for a while, now.
 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/theme-compatibility/#post-1253559)
 * You don’t want to post that much code here. Post it to the [wordpress pastebin](http://wordpress.pastebin.com/).
 *  Thread Starter [momojojo](https://wordpress.org/support/users/momojojo/)
 * (@momojojo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/theme-compatibility/#post-1253571)
 * [http://wordpress.pastebin.com/m68e926f](http://wordpress.pastebin.com/m68e926f)
 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/theme-compatibility/#post-1253573)
 * That’s not PHP source. Its generated code. The PHP would be much more helpful.
   But… maybe that is your source and you don’t have any PHP in it? Either way, 
   I don’t really see much to suggest that WordPress has anything to do with page,
   which might be your problem. Are you following the guidelines for creating a 
   theme?
 * However, I do see some curly quotes in there. Those will blow out your page. 
   Look at lines 9 and 10, maybe other places as well.
 * If you pasted the entire page source you have another problem too. The page doesn’t
   fully load. You are missing closing tags for `</body>` and `</html>` maybe others
   too.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Theme compatibility?’ is closed to new replies.

 * 9 replies
 * 3 participants
 * Last reply from: [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/theme-compatibility/#post-1253573)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
