/wordpress-theme-boilerplate

🦩 Super Simple, Sass-Friendly Wordpress Theme🦩

Primary LanguageSCSS

🦩 Super Simple, Sass-friendly Wordpress Theme Boilerplate 🦩


This is a barebones theme consisting of mostly empty default (index.php), header, footer, front-page, home & 404 page templates.


Do This First:

  • put .gitignore in root dir
  • rename the theme directory
  • search for <theme> & replace it with your theme name
  • search for <company> & replace it with the name of the company
  • search for <author> & replace it with your name/email/github
  • delete vendor scripts, vendor css files & theme supports you don't need/want
  • delete the example page template if you don't need it (page-templates/example-template.php)
  • commit your initial code before installing node modules and compiling css
  • add your favicons/site.manifest files to the root or delete the links in the header
  • rewrite readme

Notes:

  • this theme has a preconfigured .gitignore file
  • this theme compiles css using
    npm run start
  • all css compiles to style.css
  • the 'Roboto' google font is enqueued by default
  • changes made directly to style.css will not persist
  • all css & sass code should go in the sass directory
  • all sass files are imported into /assets/sass/style.scss
  • this theme supports a primary menu and a footer menu
  • support for an example custom post type is commented out in functions.php
  • this theme supports an advanced custom fields site options page (see functions.php)