Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Basics of Unique Theme Development | WordCamp London | 21st March 2015

The Basics of Unique Theme Development | WordCamp London | 21st March 2015

Many WordPress websites use hand-crafted themes intended solely for one website. Creating a WordPress theme from scratch can seem daunting at first, but it is not as tricky as you may think. The talk is aimed at people who want to create a one-off theme for a single website (eg. a client project, personal blog), rather than building a theme for distribution. It will require previous knowledge of WordPress, HTML, CSS and basic familiarity with PHP.

Samantha Miller

March 21, 2015
Tweet

More Decks by Samantha Miller

Other Decks in Programming

Transcript

  1. What is a ‘unique’ theme? 1. Designed and built for

    one purpose 2. Part of a bespoke build
  2. What are the advantages? 1. You’re not restricted 2. Lean

    code 3. You know your own code is not malicious 4. It’s fun!
  3. What are the disadvantages? 1. Need to know HTML, CSS,

    basic PHP, maybe Javascript/jQuery 2. Takes time to build 3. Needs fully testing
  4. Approach 1. Don’t overthink it 2. Start with a clean

    slate 3. Don’t reinvent the wheel 4. Start small
  5. Basics of a theme 1. Style.css header comments 2. Headers

    and footers 3. Functions.php 4. Everything else depends on the project
  6. Build from the ground up 1. Break down design 2.

    Functionality 3. Mark-up & style 4. Enhance