Rajeeb Banstola introduces himself and shares tips for improving a WordPress theme development workflow. This includes using tools like starter themes, task runners like Gulp, LiveReload, deploying with Git and PHPloy, CSS preprocessors, Git shortcuts, offline documentation, easy POT files, and Vagrant for local environments. The document recommends these techniques to save time and improve efficiency when developing WordPress themes.
13. Problems with Current
Approach to Developing New
Theme
Coding from Scratch
1. Repetitive
2. Time Consuming
Using finished theme
1. Undoing old work
2. Often ends up with
codes you don’t need
for new theme
18. Gulp
Built On:
Task Runners Come to
Rescue here!
▸ Uses npm packages
to run tasks
▸ Create Tasks in
Gulpfile.js
▸ Add Gulp packages in
Package.json
19. Gulp Styles Task Example
1. Complies SCSS
2. Runs through
autoprefixer (
CanIUse.com
Database )
3. Minifies CSS
4. Renames the file
20. Gulp Scripts Task Example
1. Concat files at
given directory
2. Minifies the
concatenated file
3. Renames the file
47. Special thanks to all the people who made and released these awesome
resources for free:
▸ Simple line icons by Mirko Monti
▸ E-commerce icons by Virgil Pana
▸ Streamline iconset by Webalys
▸ Presentation template by SlidesCarnival
▸ Photographs by Death to the Stock Photo (license)
▸ Photographs by Unsplash (license)
Credits