3. StyleSheet
• style.css
• The only required file
• Includes Headers that will be used by
WordPress
/*
Theme Name: Custom Theme
Theme URI: http://emmense.com/
Description: A Child Theme of Twenty Ten
Author: Aaron Brazell
Author URI: http://technosailor.com
Version: 1.0
Parent: twentyten
*/
8. Why use a Theme
Framework?
• Themes present content according to the
desires and tastes of the designer
• Frameworks provide an extensible way of
empowering designers within a set of
guidelines.
9. Why use a Theme
Framework?
• Frameworks realize the principle of
separation of content and presentation
• Early Predecessor: CSS Zen Garden
• Change a theme using only CSS. No
markup modifications
14. Use Hooks In Themes
• Let plugin devs build for your template
• Add filters and actions throughout themes
• Examples:
• do_action(‘before_content’);
• apply_filters(‘logo’, ‘logo.jpg’);
15. Internationalize!
• Internationalization (i18n) is important
• Use load_theme_textdomain() in
functions.php
• Utilize __(), _e(), _c() and _x() to provide
translatable strings
• Don’t forget the .po file
• More info: http://codex.wordpress.org/I18n_for_WordPress_Developers