Nazmul Hasan Rupok
Web & Mobile Application Developer
WordPress Theme Development
Best Practices
www.rupok.me
• Start with WordPress Codex
http://codex.wordpress.org/Theme_Development
• Follow WordPress Coding Standards
http://codex.wordpress.org/WordPress_Coding_Standards
Getting Started
Why you should use a WordPress starter theme?
https://thethemefoundry.com/blog/wordpress-starter-theme/
Use a WordPress starter theme
SAVE YOUR ASS!
Underscores
http://underscores.me/
Use a WordPress starter theme (cont.)
http://roots.io/starter-theme/
Use a WordPress starter theme (cont.)
http://codex.wordpress.org/I18n_for_WordPress_Developers
Localization and Internationalization
It’s !important
Organizing Theme Files
!
• Template File Checklist
http://codex.wordpress.org/Theme_Development#Template_File_Checklist
!
• Template Hierarchy
http://codex.wordpress.org/Template_Hierarchy
!
• Stepping Into Templates
http://codex.wordpress.org/Stepping_Into_Templates
!
• Theme Development
http://codex.wordpress.org/Theme_Development
Theme Options and the Customizer
Say Thanks to the Settings API
http://codex.wordpress.org/Settings_API
Theme Customizer!
Since WordPress 3.4
https://codex.wordpress.org/Theme_Customization_API
Using Options Frameworks
Options Framework Plugin
http://wordpress.org/plugins/options-framework/
Redux Framework
http://reduxframework.com/
http://hasin.me/2014/07/16/adding-redux-framework-in-your-wordpress-theme/
Tut
Testing your Theme
Always have wp_debug on
Theme Unit Test
http://codex.wordpress.org/Theme_Unit_Test
Testing your Theme(cont.)
Helpful Plugins
• Log Deprecated Notices
http://wordpress.org/plugins/log-deprecated-notices/
• Theme Check
http://wordpress.org/plugins/theme-check/
• Theme Mentor
http://wordpress.org/plugins/theme-mentor/
• Monster Widget
http://wordpress.org/plugins/monster-widget/
Questions?
Thanks! :)

WordPress Theme Development : Best Practices