Title: Error: &#8220;Template is missing.&#8221;
Last modified: August 18, 2016

---

# Error: “Template is missing.”

 *  [spec](https://wordpress.org/support/users/spec/)
 * (@spec)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/)
 * Im trying to integrate WP into a site I allready created before I decided to 
   use WP… And its a real pain.. 😉
 * Anyway, my new theme gets listed under “Broken Themes” in the Admin Interface.
   Description is “Template is missing.”
 * Index.php and style.css is there…
 * I would like to be able to choose it, to see if anything is working at all… 🙂

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/error-template-is-missing/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-template-is-missing/page/2/?output_format=md)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190198)
 * All you have to do to integrate WordPress into your pre-existing webpage is add
   the Loop to your pre-existing webpage.
 * [http://codex.wordpress.org/The_Loop](http://codex.wordpress.org/The_Loop)
 * For more info, please do a search here for “integrate” or “the loop”.
 *  Thread Starter [spec](https://wordpress.org/support/users/spec/)
 * (@spec)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190199)
 * Yeah, getting there..
 * Still, I cant activate the new theme-thing Im working on to see how it looks,
   cause it claims that “Template is missing.”…
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190229)
 * The template needs to be designed to WordPress specs. It needs to have a specific
   header in the style.css file, it needs to have a few basic files with it, and
   it needs to reside one directory below /themes/, no futher. Ex: /wp-content/themes/
   new-theme/. More info:
    [http://codex.wordpress.org/Theme_Development](http://codex.wordpress.org/Theme_Development)
   [http://codex.wordpress.org/Blog_Design_and_Layout](http://codex.wordpress.org/Blog_Design_and_Layout)
 *  [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190463)
 * I too have been trying to create a new theme entitled “ejm”. I believe I have
   followed the instructions at
 * [http://codex.wordpress.org/Theme_Development](http://codex.wordpress.org/Theme_Development)
   
   [http://codex.wordpress.org/Upgrade_1.2_to_1.5](http://codex.wordpress.org/Upgrade_1.2_to_1.5)
 * In the ejm file, there is an image, comments.php, index.php (that is a direct
   copy of the index in my new default folder) and style.css
 * index.php has been updated to replace `<code><?php echo get_settings('siteurl');?
   >/wp-layout.css` and `<code><?php include(ABSPATH . 'wp-comments.php'); ?>` with
   `
   <code><?php bloginfo('stylesheet_url'); ?>` and `<code><?php comments_template();?
   >`
 * at the top of style.css, I have added the required top section (for this forum,
   I have changed the URLs)
 * >  /*
   >  Theme Name: ejm Theme URI: [http://myblog/](http://myblog/) Description:(
   > this theme was a heavily modified version of pollux) Version: 0.1 Author: ejm
   > Author URI: [http://mydomain/](http://mydomain/) Template: Pollux that was 
   > based on gemini . The images (which must not be altered in any way) used in
   > this theme are strictly for non-commercial use only. . */
 * The theme files are in wordpress/wp-content/themes/ejm
 * This is the message that is in my admin file:
    **ejm Template is missing.**
 * What file(s) have I missed uploading?
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190464)
 * Remove this line from style.css:
 * `Template: Pollux that was based on gemini`
 * I don’t believe “Template:” is to be used as a descriptive tag.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190465)
 * Try deleting the “Template…” line.
 *  [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190472)
 * Thanks guys; that did the trick.
 * The original pollux style sheet had that “template:” descriptive and I had just
   left it in. Now that it is removed the ejm folder is available.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190473)
 * No, the original pollux has this:
    `/*  Template: gemini Theme Name: Pollux Description:
   Warm yellows and browns, ever so slightly inspired by the <a href="http://textpattern.
   com">Textpattern</a> admin interface. Author: not (that) ugly Author URI: http://
   not-that-ugly.co.uk
 * Odyssey interface and Gemini template for WordPress 1.3 designed and built 
    
   by Root [http://www.atthe404.com/blog/](http://www.atthe404.com/blog/). Mutilate
   however you please. Credit not required but always welcome, unless you make the
   thing neon green.  /*
 * which means it doesn’t have its own “main template” (index.php) so it uses the
   gemini’s index.php. All the so-called ‘parasite’ themes are using files from 
   other themes and in that case you _have_ to define which files are to be pulled.
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190474)
 * For clarity the template parameter is used where the CSS resides in one directory
   and the remainder of the files are in another. This would be used where there
   is one theme but multiple styles.
 *  [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190475)
 * I stand corrected moshu. I did not at all understand how that template worked,
   nor did I understand why I had to have the gemini folder in 1.2.2. I just put
   it there when I installed the pollux theme. When I moved the pollux stylesheet
   over, I left the template descriptive there thinking that it was a credit to 
   the original author of the stylesheet template… I guess I added the “gemini” 
   part to it.
 * I’ve now moved the gemini/pollux credit down into the notes below the version
   number
 * Root, thank you for reiterating moshu’s explanation.
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190477)
 * Well I dont want gemini brought into disrepute. 🙂
 *  [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190479)
 * Root; would you like me to remove any mention of gemini on my stylesheet? I haven’t
   examined the gemini stylesheet to see how much of it is still retained on what
   I have now….
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190482)
 * I never mind about this type of thing. It is very kind of folk to back track 
   but it is only a bit of html / css. Do what seems good.
 *  [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190484)
 * I’ll leave the gemini name on then. The things that I have changed are colours,
   images, widths (it’s dynamic width now rather than fixed) but I would never have
   had the patience to do the whole thing from scratch. I’m glad you did though!
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/error-template-is-missing/#post-190485)
 * For dynamic you could have used Maximus. But glad you are satisfied anyway. Good
   luck.

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/error-template-is-missing/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-template-is-missing/page/2/?output_format=md)

The topic ‘Error: “Template is missing.”’ is closed to new replies.

 * 23 replies
 * 9 participants
 * Last reply from: [echoleigh](https://wordpress.org/support/users/echoleigh/)
 * Last activity: [20 years, 11 months ago](https://wordpress.org/support/topic/error-template-is-missing/page/2/#post-190732)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
