Coder Social home page Coder Social logo

julienlucas / wp-starter-theme Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 1.5 MB

Starter Wordpress / SMACSS / Gulp / ES6 / Bootstrap (or Foundation)

PHP 41.67% JavaScript 28.55% CSS 29.78%
starter-theme sass-boilerplate bootstrap-template wordpress-theme wordpress-boilerplate

wp-starter-theme's Introduction

Wordpress Starter Theme

The perfect Wordpress starter theme for me. Lightweight, with SCSS+SMACSS/ES6/Gulp/Bootstrap (or Foundation).

Extra features:

  • Some usefull includes, like a good pagination.php for Wordpress.
  • Some functions in functions.php, like thumbnails support and words excerpt limitation.

Nothing more. Just the indissential (contraction of essential and indispensable).

Installation

Unzip the file in /wp-content/themes

Want to use Bootstrap 3 or 4, or Foundation? Just change the 2 urls of .css and .js file in header.php.

Optimized for production with Gulp Tasks

  • Optimise and recompress images
  • Optimise and minify JS and SCSS scripts
  • Can create font icons

Gulp Installation

We begin by installing Gulp in global mode with -g.

npm install -g gulp

To check if everything is installed and Gulp is active:

gulp -v

How the starter works

Works with SCSS + SMACSS

To organize your Sass project with SMACSS organisation. Inspired by SMACSS from Jonathan Snook. To know more, go to : http://smacss.com

You can use it with any framework like Bootstrap or Foundation.

The SCSS files are located in /scss.

SMACSS is a method for practical structuring, easy maintenability and scalabilty of Styles

  • Layouts
  • Modules

Works with JavaScript

The JavaScript files are located in /js. Add your custom JS and jQuery functions in /js/custom-functions.js

You can use the ES6 syntaxe Babel convert it in ES5 for you via webpack.

Working with Images

The Image files are located in /images

Accepted file formats : - jpg - png - gif - svg

Working with Fonts

The font files are located in /fonts

Working with Icons

The font files are located in /icons You can add .svg icons and than create a font icon using the gulp tasks 'icons'.

Working with Favicon

Multiples favicon sizes prepared for desktop and mobiles The favicons files are located in /favicon

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.