Mobile app version of vmapp.org
Login or Join
Hamaas447

: Simplest way to create a theme I am about to create my first ever WordPress theme, based on the excellent tips provided in this answer. Initially, all I want to do is to modify the CSS only,

@Hamaas447

Posted in: #Wordpress

I am about to create my first ever WordPress theme, based on the excellent tips provided in this answer.

Initially, all I want to do is to modify the CSS only, changing nothing in the .php or other files.

A straightforward approach is to simply ZIP the entire directory structure of wp-content/themes/twentyeleven, rename it, modify the CSS files only, then upload the entire thing as a new theme.

It should work, but it looks to me as very wasteful, since I am essentially duplicating all theme files for a handful of .css files.

Is there a better way to create a theme that is based on an existing theme (e.g. twentyeleven)?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamaas447

1 Comments

Sorted by latest first Latest Oldest Best

 

@Radia820

Great question. You should create a child theme - this allows you to modify only the parts of the parent theme you need to and avoids conflicts when upgrading the theme further down the line (if you're using 2011, watch your dashboard for update notifications).

I would also reccommend you take a look at theme frameworks before you begin.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme