WordPress WordPress Theme Development Starting a WordPress Theme Setting Up A WordPress Theme Folder

Kevin Roosey
Kevin Roosey
2,716 Points

Wordpress development file problems

I'm trying to get my files on wordpress however when I upload them to wordpress it says I need a parent theme however I have no clue how to go about doing that

Genesis Murillo
Genesis Murillo
9,119 Points

Are you creating a child theme or your own theme? Usually, when creating a child theme and I am missing the Template name is the stylesheet comment is when I get the error.

If you are getting the error with your own theme that you have created from scratch, this might help by adding it to the top of your style.css, it worked for me:

/*
Theme Name: Treehouse Portfolio
Author: Genesis
Author URI: http://genesismurillo.com
Description: A post modern, simple, responsive portfolio theme designed in WordPress
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, white, light, one-column, two-columns
*/

The code can also be found here and it has and example of template for a child theme: https://codex.wordpress.org/Child_Themes

And this is for theme development: https://codex.wordpress.org/Theme_Development

Sorry if I am completely wrong;