Josh Lee
The best framework for content marketing
Very developer-friendly
The most WordPress-y
SEO Metadata
Multi-column Layouts
Page Templates
Widget Areas
(find all of these in the WordPress.org plugin directory)
Functional Templating (no code duplication)
Easy to turn off or modify built-in features
Incredible code reusability
Child Themes
Hooks & Filters
Debugging
Undocumented Hooks
Functional Templating
A child theme lets you override specific files from a theme without modifying the original theme
This is very useful for modifying CSS
style.css
functions.php
templates
/*
Theme Name: Bootstrap Genesis
Theme URL: http://ironcodestudio.com/bootstrap-genesis-theme/
Description: Bootstrap Genesis Child Theme.
Author: salcode
Author URI: http://ironcodestudio.com/
Version: 0.8.2
Template: genesis
*/
(Refers to the folder name of the parent theme)
Not all base themes will support overriding PHP functionality
A page is requested
The scripts are printed in the page header
The main “loop” for the page is run
A filter is like a hook, except that you can manipulate incoming data and return a new result
Genesis uses hooks to build up the page template and render the results of the loop
Now you can modify templates without overriding them
No longer necessary to duplicate entire templates or manage nested sub-templates just for small changes.
Call genesis() at the end of a php file with action hooks and filters.