reformatco / starter-theme

Modern WordPress Starter Theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modern WordPress Starter Theme

Features

  • Uses Timber for theme development, using Twig template engine
  • Gulp build script
    • PostCSS
    • ES6 with Babel
    • Imagemin
    • TailwindCSS
    • PurgeCSS
    • BrowserSync

Installation

  1. composer will install Timber as a dependency instead of a plugin
  2. npm install will install all necessary build dependencies

Development

npm run dev to start BrowserSync server and watch on port 3000

Production

npm run build will package up all resources and minify within dist directory

Nice to haves

  • Infinite scrolling on news pages
  • Lazy loading of images (loading="lazy") fallback to lazysizes

TODO

  • Add ::after pseudo element for 2nd color in each theme
  • Content feature: add toggle for larger photo
  • Image row: different images sizes / acf toggle

About

Modern WordPress Starter Theme


Languages

Language:CSS 37.7%Language:HTML 26.4%Language:JavaScript 19.3%Language:PHP 14.5%Language:Shell 2.2%