Hardeep will talk about how you can automate tasks in your theme/plugin development process for testing and releasing to remove the hassle of manual testing and focus more on writing good code.
He will talk about how NPM, Grunt, Gulp, Sass and Travis CI with Github can help us automate some of our tasks and improve our development process. Attendees will leave understanding when and why they’d want to use these tools in a WordPress theme-specific context, and how they play together in a real-life workflow.
Make Your CSS Work on all Browsers
# Install PostCSS
$ npm install grunt-postcss --save-dev
# Install WP-CSS
$ npm install grunt-wp-css —save-dev
➤ Add vendor preﬁxes to CSS rules using values from Can I Use.
➤ Enforce consistent conventions and avoid errors in your stylesheets with stylelint.
➤ Write stylesheet according to WordPress CSS coding standards.
Generate Translation (POT) File
Make your theme translatable.
# Check your code for missing or incorrect text-domain in gettext functions
$ npm install grunt-checktextdomain --save-dev
# Geenrate POT File
$ npm install grunt-wp-i18n --save-dev