Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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...
Why you should use a WordPress starter theme?
https://thethemefoundry.com/blog/wordpress-starter-theme/
Use a WordPress st...
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
!
...
Theme Options and the Customizer
Say Thanks to the Settings API
http://codex.wordpress.org/Settings_API
Theme Customizer!
...
Using Options Frameworks
Options Framework Plugin
http://wordpress.org/plugins/options-framework/
Redux Framework
http://r...
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/
• ...
Questions?
Thanks! :)
Upcoming SlideShare
Loading in …5
×

WordPress Theme Development : Best Practices

1,908 views

Published on

WordPress Theme Development : Best Practices presented on "WordPressians 7th Meetup, Dhaka, Bangladesh"

http://wpressians.net/meetup/7th-meetup/

Published in: Technology

WordPress Theme Development : Best Practices

  1. 1. Nazmul Hasan Rupok Web & Mobile Application Developer WordPress Theme Development Best Practices www.rupok.me
  2. 2. • Start with WordPress Codex http://codex.wordpress.org/Theme_Development • Follow WordPress Coding Standards http://codex.wordpress.org/WordPress_Coding_Standards Getting Started
  3. 3. Why you should use a WordPress starter theme? https://thethemefoundry.com/blog/wordpress-starter-theme/ Use a WordPress starter theme SAVE YOUR ASS!
  4. 4. Underscores http://underscores.me/ Use a WordPress starter theme (cont.)
  5. 5. http://roots.io/starter-theme/ Use a WordPress starter theme (cont.)
  6. 6. http://codex.wordpress.org/I18n_for_WordPress_Developers Localization and Internationalization It’s !important
  7. 7. 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
  8. 8. 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
  9. 9. 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
  10. 10. Testing your Theme Always have wp_debug on Theme Unit Test http://codex.wordpress.org/Theme_Unit_Test
  11. 11. 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/
  12. 12. Questions?
  13. 13. Thanks! :)

×