Skip to content

SahilMepani/zoomforth-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skeleton WP theme

Starter theme to help you jump start coding awesome WordPress themes

Setup

  • Download the MASTER branch. DO NOT CLONE
  • Rename the theme folder to match the project name
  • Create a theme screenshot.png file using screenshot.psd
  • Create favicon.png and favicon.ico files at the root
  • Run node -v anywhere in terminal to check if you have Node.js installed in your system. If not, Download Node.js and install
  • Install all the required packages
    cd /path/to/your/wp-content/themes/theme-name/source
    npm install
  • Update theme name, theme URI and description in sass/style.scss file
  • Compile all the sass and js files using grunt
    cd /path/to/your/wp-content/themes/theme-name/source
    grunt

All the sass files are created inside the source/sass/partials/ folder and its sub-folders.
All the js files are divided into two folders source/js/plugins and source/js/custom.
Grunt will compile all the source/sass/partials/.scss files into a file named style.css and source/js/plugins/.js files into js/plugins.js file and source/js/custom/.js files into js/custom.js file
Run grunt build when pushing it to production

Important Notes

Always use rem units except for breakpoints and line-height. Avoid pixels.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published