Building a WordPress theme

Below I've outlined the process I take when converting a custom design to a WordPress theme. With modern tools available like Roots Sage, TailwindCSS and Gutenberg, creating bespoke WordPress themes has not only become easier and quicker but also better for the user and Developer.

The process

  1. Scan through the final designs extracting:

    • Base styles
    • Brand styles
    • Grid system
    • Unique content blocks.
  2. Clone the custom-sage theme, create a local WordPress website with docker and ensure WordPress is up to date.
  3. Install ACF Pro and ensure it's up to date.
  4. Configure tailwind.config.js to generate utility classes based on brand styles extracted from the designs in step 1.
  5. Create header & footer elements and implement global ACF options.
  6. Iterate through and create a custom Gutenberg block for each unique content block extracted in step 1.
  7. Iterate through each custom Gutenberg block and make them responsive.
  8. Test all blocks, including the header and footer, on all modern browsers including IE 11, Firefox, Chrome, Safari & Android.
  9. Optimise website to achieve < 2 seconds load time on each page.
  10. Setup staging website for the client to experiment with their new theme & provide them with a handover document to give a run down of how the theme was made and how to use it, example.