All posts tagged Child Themes

Introduction to WordPress Child Themes

Introduction to WordPress Child Themes – Presentation Transcript

Introduction to WordPress Child Themes Level: Beginner”

What is a Child Theme – WordPress child theme is a theme that inherits the functionality of another theme, called the parent theme, and allows you to modify, or add to, the functionality of that parent theme. – Source: http://codex.wordpress.org/Child_Themes

Why use a Child Theme? – Child themes are the recommended way of making modifications to a theme.

Child Theme File Structure? –

WordPress Child Themes are located in /wp-content/themes/like any other WordPress Theme.

They’re activated from the WordPress admin like any other theme.

Child Themes always have a style.css file and may often include a functions.php file.

style.css is the only file required for a child theme.

The Child Theme CSS File
/*Theme Name: Twenty Ten 1.2 Child Theme URI: http://wordpressannarbor.com/Description: Child theme for the Twenty Ten by WordPress Author: Declan ONeill. Author URI: http://wordpressannarbor.com/. Template: twentyten. Version: 1.0*/

Theme Name: Twenty Ten 1.2 Child Theme [Required]

Theme URI: Webpage [Optional]

Description: Child theme for the Twenty Ten by WordPress [Optional]

Author URI: Author Webpage. [Optional]

Author: Author name. [Optional]

Template: Directory name of parent theme. Case-sensitive. [Required]

Thank You! Questions? Declan O’Neill / www.cake.ie