Build a WordPress Theme in 60 Seconds

Tutorial Difficulty Level    

Creating a basic WordPress theme can be easier than you might think. Here’s how, in (about) 60 seconds!

Via an FTP client, create a folder in “wp-content/themes”, for example “sixtysecondtheme”.

Add some basic HTML to index.html (or use the template file found here)

and some CSS to style.css (or use the template file found here)

and add any images your theme requires to an images folder. To the top of your style CSS file add a comment specifying the theme’s name. This is important.

Rename “index.html” to “index.php” then (re)open it for editing.

Replace the template’s static content with PHP snippets that will call dynamic content in from WordPress. It’s going to look something like this:

Now create a file named “functions.php” and use the wp_enqueue_style() function to load your theme’s style sheets.

 

Now you can activate your new simple blog theme! You can also carry out these steps offline and zip up the files as, in this case, sixtysecondtheme.zip. This file can then be uploaded and activated on ANY WordPress installation. This is how you make and distribute a basic theme.