Skip to content

nirmalkc/Wordpress-Bootstrap-Sass-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress Starter theme with SASS

These are the instructions and folder structure, to setup a boilerplate for developing a CMS website with wordpress using sass architecture. This folder structure is valid only while using underscores.me generated theme.

Pre-requesties

You will need to have the following tools installed in your machine to run NPM as well as GRUNT tasks.

  1. node.js
  2. Ruby

Steps to install and setup

  1. Go the root directory of this repository and give the below command.
npm install
  1. Download the underscores theme (without sassify in the advanced options) from underscores.me. Extract the downloaded folder to "mytheme" folder.

  2. Install wordpress and create a theme directory where you may need to copy your files through a grunt task.

  3. Change "mytheme" folder name to whichever name you would prefer. If you do so, please change the destination path in the Gruntfile.js appropriately.

  4. Open GruntFile.js and change the wordpress theme staging directory folder to wherever you want it to be.

wptheme_staging: '<path>'

Should be changed to

wptheme_staging: '<your wordpress installation theme directory>'
  1. Open "package.json" file and change the name and description.

  2. Open command prompt and run the command "npm install", this will download all the required node modules to the root.

  3. Delete the "delete-me.txt" file inside the "mytheme" folder.

  4. Go to the repository root folder and run grunt. The grunt tasks should be completed successfully.

  5. You can browse through the wordpress admin page and change theme to the one which you have copied to the theme directory.

  6. Now you are set to start developing the wordpress theme.

Custom Fonts

Icon Fonts

Responsive mixins

About

A starter kit for a CMS website using bootstrap.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published