{"repo":"Kevinlearynet/basic-wp","free":true,"listed":false,"github":"https://github.com/Kevinlearynet/basic-wp","clone":"git clone https://github.com/Kevinlearynet/basic-wp.git","description":"Enterprise WordPress theme with all the modern benefits of a theme framework, but much simpler to work with long-term.","language":"PHP","stars":45,"topics":["browsersync","hmr","javascript","modules","twig","wordpress","wordpress-development","wordpress-theme"],"license":null,"category":"self-hosted-apps","readme_excerpt":"Minimal WordPress Theme Starting point for building custom WordPress themes that are lean and minimal, which has many advantages over working with a theme framework. It uses modern web development approaches and patterns, some of which are contrarian but have been proven to be highly effective in practice. Modern Features - Watch that compiles and reloads in under 100ms - SASS + BEM pattern styling - Native ES modules - Composer package management - Twig view templating - View/controller pattern - Namespaced PHP for isolation - Built-in support for ACF: - Global context variables for common WordPress data: site url , site description , site url , theme dir , theme url , primary nav , acf , the title() , the content() View context is deliberately kept sparse, during a site build you'll add what you specifically need for a particular site. Having a lean context for your views will help with both performance and workflow. Install & Setup After cloning the repository you'll need to install all npm and composer dependencies by running the following commands from the theme's root directory: 1. npm i 1. composer install This will install JS modules for compiling static assets (JS and SCSS), and also the templating engine (Twig) for PHP. Environment ( .env ) Make a copy of the .env.example file to create your own .env file, then set the LOCALHOST URL to the URL for your localhost site. This allows you to work with whatever localhost system you prefer: WPEngine's Local, Kinsta's DevKi","default_branch":null,"files":null,"tree":[],"storefront":"/r/Kevinlearynet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Kevinlearynet/basic-wp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}