Coder Social home page Coder Social logo

boilerpresswp's Introduction

boilerpressWP

A modern, minimal starter theme for WordPress developers.

Features

  • Webpack for task automation
  • Compile SASS to CSS with autoprefixing
  • Minify JS and CSS for production
  • Babel
  • BrowserSync
  • jQuery
  • Bootstrap 4

Installation

  1. Clone the repo.
  2. Run npm install in the theme root folder to install all dependencies.

Folder structure

root
│    .gitignore                  # folders and files ignored by git
│    404.php                     # 404 template
│    footer.php                  # footer template
│    front-page.php              # front page template
│    functions.php               # theme functions
│    header.php                  # header template
│    index.php                   # index template for archives
│    package-lock.json           # automatically generated by npm  
│    package.json                # all npm dependencies and scripts
│    page.php                    # default page template
│    README.md                   # readme file
│    search.php                  # search results template
│    searchform.php              # custom search form template
│    single.php                  # single post template
│    style.css                   # theme stylesheet (theme headers)
│    webpack.config.json         # webpack config
│    wrapper.php                 # wrapper template
└─── dist/                       # created by Webpack automatically
│    └───fonts/                  # fonts
│    └───img/                    # media files
│    └───js/                     # compiled & minified scripts
│    └───css/                    # compiled & minified stylesheets  
└─── inc/             
│    └───assets.php              # enqueue theme assets
│    └───cpt-register.php        # register custom post types & custom taxonomies
│    └───customize.php           # theme customizations
│    └───globals.php             # define theme constants
│    └───helpers.php             # your helper functions
│    └───navigation.php          # custom theme navigation functions
│    └───performance.php         # performace & security fixes
│    └───setup.php               # theme basic setup
│    └───widgets.php             # init widgets
│    └───wrapper.php             # template wrapper class
└─── node_modules/
└─── src/
│    └───fonts/                  # all your fonts go here
│    └───img/                    # all your media files go here
│    └───js/                     # main.js for your custom js code
│    └───sass/                   # all your sass files go here
└─── template-parts/
│    └───loop/                   # loop template parts
│    └───article-meta.php        # article meta
└─── templates/
     └───template-example.php    # custom template example

How to use

  1. watch and compile assets for development
npm run dev
  1. compile assets for build
npm run build

License

GNU General Public License v2 or later [GPL 2.0] http://www.gnu.org/licenses/gpl-2.0.html

boilerpresswp's People

Contributors

tadejf84 avatar

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.