The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

WordPress Broken Theme, Template is Missing Error

  • Anonymous
    # May 17, 2013 at 6:41 pm

    I just started learning WordPress today and am trying to add a new theme. I added this to the top of my style.css file

    Theme Name: WordPress Theme
    Theme URI:
    Description: Fully Responsive WordPress Theme
    Version: 1.0
    Author: Jarolin Vargas
    Author URI:
    Tags: responsive, theme, template

    and added this to index.php file to link the style.css sheet.

    # May 17, 2013 at 6:45 pm

    Must be `style.css`.

    # May 17, 2013 at 6:48 pm

    @TheDoc it had something to do with it. I simply moved the styles.css to the same directory the index.php file was and it shows up in wordpress. But now it’s all just blank. Nothing is showing.

    # May 17, 2013 at 6:52 pm

    I’m saying the file name must be style.css, not styles.css

    # May 17, 2013 at 6:54 pm

    @TheDoc I do have it as style.css i just wrote it like that here without realizing.

    # May 17, 2013 at 6:57 pm

    The `style.css` file (not “styles.css”) must be in the theme folder `wp-content/themes/**your-theme**/style.css`.

    # May 17, 2013 at 6:59 pm

    @AlenAbdula That’s what i did and wordpress recognized it. But then this is what i get

    # May 17, 2013 at 7:06 pm

    We need more information. How did you set up your theme/templates?

    # May 17, 2013 at 9:45 pm

    @AlenAbdula i actually created the entire theme as an HTML template and then decided to make it a wordpress theme.

    # May 17, 2013 at 10:30 pm

    I understand. But without seeing the code. It’s hard to diagnose the problem. I’ve [created the most basic starter theme]( based off HTML 5 Boilerplate for you, if you are just starting out, keep it simple.

    Refer to [WordPress Template hierarchy]( and copy the index.php to fit whatever template you are targeting.

    Hope that helps


Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed