Skip to content
This repository was archived by the owner on Mar 17, 2019. It is now read-only.

Gulp tasks with sample assets structure which can be use as a starting point for a WordPress theme.

License

Notifications You must be signed in to change notification settings

pradent/gulp-wordpress-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gulp WordPress Starter

Gulp tasks with sample assets structure which can be use as a starting point for a WordPress theme. Configure as required and integrate in your own workflow.

Features

WordPress

  • Generates .pot file from the text-domains used in Theme's PHP files using gulp-wp-pot
  • Adds theme information to the style.css header

CSS

Javascript

  • Concatinates multiple files into one JS file using gulp-concat
  • Minifies the JS file
  • Lints JS code // Todo

Images

Usage

Make sure you have Node and Gulp installed.

Clone and Install Dependencies

git clone https://github.com/Pradent/gulp-wordpress-starter MyTheme
cd MyTheme
npm install

Configs

  • Configure your text-domain information in config.json file.
  • Optionally, you could also change the paths from that same file.

Build Manually

gulp

Watch Changes Automatically

gulp watch

Add more tasks

  • Create yourtask.js in tasks directory
  • Add your task name to default.js

About

Gulp tasks with sample assets structure which can be use as a starting point for a WordPress theme.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published