Skip to content

secretstache/wp-starter-theme

Repository files navigation

COMPANY_NAME

COMPANY_NAME is a custom theme created for COMPANY_NAME built on top of Sage. It contains both functional and presentable layers, implements custom admin and public experience, builds assets and views, uses Blade templating engine to render front-end and provides an ability to do more.

Main Concepts

  • Built on top of Sage
  • Uses SSM Core package
  • Contains both functional and presentable layers of the project
  • Gets ACF fields data from View Composers and controllers and uses it to render frontend UI
  • Uses Blade templating engine to render views
  • Uses Composer to manage dependencies
  • Uses Yarn to compile assets, optimize images, concatenation / minification
  • Uses SASS as CSS-preprocessor

Installation

  1. Clone the repository to /wp-content/themes/
  • git clone REPOSITORY_URL
  1. cd to theme’s folder
  2. Run composer update && composer install - ignore warnings
  3. Run yarn install
  4. Run yarn build
  5. Activate the theme
  6. Install required plugins

Folders Walkthrough

app/

  • responsible for the basic theme setup

    Examples: setup.php, filters.php

config/

  • responsible for the theme configuration

    Examples: app.php, view.php

resources/

  • contains assets and presentable UI elements

    Examples: templates/, modules/, assets/

About

Wordpress Starter Theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •