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.
2. I’m Hardeep Asrani
➤ Pirate at ThemeIsle.com
➤ WordPress Plugin/Theme Developer
➤ Part of WordPress Theme Review & Support Team
➤ Part of Kanpur FOSS Community
And I’m Wapuu Saa!
33. 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 prefixes 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.
36. 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