Grow your CSS skills. Land your dream job.

WordPress Broken Theme, Template is Missing Error

  • # 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: http://reallycoolstuff.net/wordpress
    Description: Fully Responsive WordPress Theme
    Version: 1.0
    Author: Jarolin Vargas
    Author URI: http://domain.com
    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 http://www.reallycoolstuff.net/wordpress/

    # 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](https://github.com/alenabdula/clean_wp) based off HTML 5 Boilerplate for you, if you are just starting out, keep it simple.

    Refer to [WordPress Template hierarchy](http://codex.wordpress.org/Template_Hierarchy) and copy the index.php to fit whatever template you are targeting.

    Hope that helps

    -Alen

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".