Code Monkey home page Code Monkey logo

wordplate-boilerplate's Introduction

WordPlate Boilerplate

The website is built with a mordern WP development stack (WordPlate).

Features

  • Sass for stylesheets
  • Modern JavaScript
  • Laravel Mix for compiling assets and concatenating and minifying files
  • Browsersync for synchronized browser testing
  • Blade as a templating engine
  • Bootstrap 4

Requirements

Make sure all dependencies have been installed before moving on:

  • WordPress >= 5.4
  • PHP >= 7.2.0 (with php-mbstring enabled)
  • Composer
  • Node.js >= 8.0.0
  • Yarn

Theme setup

Edit public/theme/sitename/app/setup.php to enable or disable theme features, setup navigation menus, post thumbnail sizes, and sidebars.

Theme development

  • Setup vhost with a domain (for example: sitename.test)
  • Update BROWSER_SYNC_HOST to the same value with the domain above (http://sitename.test)
  • composer install - Install PHP packages
  • npm install - Install Node packages
  • npm run watch — Compile assets when file changes are made, start Browsersync session
  • npm run dev — Compile and optimize the files in your assets directory
  • npm run prod — Compile assets for production

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.