13. What is a Theme?
A WordPress Theme is a collection of files
that work together to produce a
graphical interface with an underlying
unifying design for a weblog. These files
are called template files.
— http://codex.wordpress.org/Themes
14. What is a Theme?
★ A directory/folder of files in wp-content/themes
19. What is a Theme?
★ A directory/folder of files in wp-content/themes
★ Two necessary files
★ style.css
★ index.php
★ the rest make sense as you go
21. style.css
/*
Theme Name: Twenty Thirteen
Theme URI: http://wordpress.org/themes/twentythirteen
Author: the WordPress team
Author URI: http://wordpress.org/
Description: Much longer than this ;)
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, ETC
Text Domain: twentythirteen
*/
22. style.css
/*
Theme Name: Twenty Thirteen
Theme URI: http://wordpress.org/themes/twentythirteen
Author: the WordPress team
Author URI: http://wordpress.org/
Description: Much longer than this ;)
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, ETC
Text Domain: twentythirteen
*/
45. functions.php
★ Tiny, theme-specific plugin
★ Should only have things that are theme-specific
★ Telling WordPress what features you support and
how you support them