Building a WordPress Theme from Scratch
$9.99
Minimum price
$14.99
Suggested price

Building a WordPress Theme from Scratch

A Step-By-Step Guide to Getting Your Design into WordPress

About the Book

Quickly learn WordPress Theme development with this easy to follow, step-by-step guide.

Does working in technology ever feel like you've been dropped into the middle of the forest with no map, no signposts and no help and told to "just figure it out"? Ever wonder where you should begin to get up and running as quickly as possible? Does it feel like the natives aren't really interested in helping you as you're just starting out?

When travelling to a new country, learning to cook or even learning a new language, you don't need an encyclopedia, you need a good guidebook. When learning a new technology, it's also important to have a step-by-step guide to show you were to begin, that can show you the most needed tasks, required concepts and a breakdown that simply explains how it all works. While anyone could "figure it out", usually that's not the most efficient way to learn a new skill or get started building something real.

Your guide book is here.

With Building a WordPress Theme from Scratch, you'll learn:

  • How to get your designs and functionality into WordPress
  • An understanding how WordPress themes work so you can edit existing themes to your liking
  • How to use the latest WordPress features in getting everything to work perfectly
  • That you don't have to "just figure it out" and you can save time by getting right to the "Ah-Ha" moments

This book is a step-by-step guide to building a theme from the ground up with the latest WordPress version. We will be starting at nothing and I'll show you line by line how to build in everything you need to make a fully functional and usable WordPress theme from scratch. Whether you're looking to sell the theme or use it for client work, you'll be learning important concepts like:

  • What files are required in your theme and which should be!
  • How to best segment your design for ease and reuse
  • How to get data from WordPress and into your theme
  • Gotchas around how WordPress builds HTML pages from your theme and how to work around them
  • Understanding how to get control over WordPress to make your designs look and work great

You must already know HTML and CSS but, this book is written for someone with zero WordPress and PHP knowledge. If you're a designer that wants to use the power of WordPress for your websites or a developer that has a HTML and CSS design that you need to skin WordPress with, this book will get you started and finished with as little confusion as possible.

This is a Beta Book

This book is under heavy development and the price is lower than it will be once it's complete. Please feel free to buy it now and let me know how it can be improved. Once it's finished, you'll get all changes and additions absolutly free. I thank you so much for supporting me so early in the process.

About the Author

Joseph Erickson
Joseph Erickson

I'm a web developer and have been doing web programming for over 15 years. When I started, there was no CSS and JavaScript was something you avoided because it barely worked in any browser. My how far we've come.

I'm the CTO of CRE Planning and Development, creators of the RuskinARC Historic Property Management platform. That application is developed in PHP with a MySQL back-end and is used by Miami Beach, FL, Oak Park, IL and Tulsa OK, among others.

I have also been teaching and tutoring programming in groups and one-on-one sessions for over five years. I've taught wide ranging concepts like WordPress development, Ruby on Rails, Java and application development and planning. My style is very informal and focused on getting novices up to speed and building real applications and sites as quickly as possible and in a way that's fully repeatable by them on their own. Many of my students have gone on to build interesting applications and launch themselves into programming careers of their own. I'm now translating those skills into book writing and plan to write focused books to get beginners learning new and valuable skills up and running.

Table of Contents

  • Introduction
  • WordPress Data
    • Template Tags
    • Information About the Website
    • Information About the Page
  • Beginnings of a Theme
    • Required Files
  • Filling Out Our Theme
    • Language Attributes
    • Meta Tags
    • Adding WordPress Classes to Your Theme
    • Linking Posts
  • Adding Specialized Templates to Our Theme
    • Headers and Footers
    • Default Template
    • Adding a Post Template
    • Adding an Archive Template
  • Navigation
    • Functions.php
    • Navigation
  • Widget Areas
    • Widget Philosophy
    • Defining Widget Areas
    • Showing Widget Areas
    • Widgets
  • Comments
    • Displaying Comments
    • Other Comment Options
  • Cleaning Up
    • The Recap
    • Small Additions
  • More to Come

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub