Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS WordPress Broken Theme, Template is Missing Error

  • This topic is empty.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #44856
    Anonymous
    Inactive

    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.

    #135489
    TheDoc
    Member

    Must be `style.css`.

    #135490
    Anonymous
    Inactive

    @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.

    #135491
    TheDoc
    Member

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

    #135493
    Anonymous
    Inactive

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

    #135494
    Alen
    Participant

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

    #135495
    Anonymous
    Inactive

    @AlenAbdula That’s what i did and wordpress recognized it. But then this is what i get http://www.reallycoolstuff.net/wordpress/

    #135496
    Alen
    Participant

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

    #135499
    Anonymous
    Inactive

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

    #135500
    Alen
    Participant

    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)
  • The forum ‘CSS’ is closed to new topics and replies.