To create a wordpress theme the easiest way is proably to use the default theme and make a copy. Then you can change and build from there.
The first step
I’ll assume you have a WordPress installation of your own, on your host or your server. You also need an texteditor to write code in (don’t have an editor? check out open-source-editor.com for links to editors). Your themes are located in /wp-content/themes/.
The first thing I want to do is to create a new folder in /wp-content/themes and give it the name I want to use on the theme (no spaces or capital letters).
As you might see from the image above I’m working on a project called Tysslinge Företagare and I therefore name my theme and its folder “tysslinge”.
The next step is to copy all the files in the default theme.
And paste them in the folder “xxx”
WordPress will not understand that this is a new theme yet. You want to open style.css and change these rows:
- Theme Name: (use the same name as the folder you created)
- Theme URI: (the site using the theme)
- Description: (description of the theme)
- Version: (version, maybe not very important if it’s just your own)
- Author: (you)
- Author URI: (your site)
Have a look at mine:
If you are going to use the code from the default theme be sure to give credit to Michael Heilemann fro creating the theme, “Kubrick”.
Time to activate and use the new theme so you can work with it. Login to your wordpress themes admin-panel. Click on “Appearance” in the left menu.
You’ll see that the defalt theme is activated, but under “Available themes” you can find your new theme. Click on “Activate” below the theme-icon.
The site should now show your own theme when you pay it a visit :) Ok, it looks just like the default layout-theme, but now you have a guide to play with and work from. If an error should occur you can just go back to the default theme again. And I will keep writing and show you how to make it look just like you want it to!








