Rafi Yagudin - @rafiki_rafi
Hail from Boston, MA (Go Pats!)
Hacking WP since 2010
Author of two plugins: SmartPost & QuickPost
I have a fear of Mr. Potato Head
Thankful to not be in Boston right now
WordPress Novices? (zero-experience)
WordPress intermediates?
(You know the difference between Pages and Posts, but what the heck is a custom field?)
WordPress Experts? (devs, admins, etc.)
What are you looking to get out this meetup?
Extras: Hooks & Filters (time-dependent)
Overview of Themes - what is a theme?
Customizing - why should we customize?
Important files to consider:
A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme.
Child themes are the recommended way of modifying an existing theme.
Important steps in creating a child theme:
A child theme consists of at least one directory (the child theme directory) and two files (style.css and functions.php), which you will need to create:
Let's make some Child Theme modifications...
What's an action hook?
What's a filter?
Actions are triggered by specific events that take place in WordPress, such as publishing a post, changing themes, or displaying an administration screen. An Action is a custom PHP function defined in your plugin (or theme) and hooked, i.e. set to respond, to some of these events.
Filters are functions that WordPress passes data through, at certain points in execution, just before taking some action with the data (such as adding it to the database or sending it to the browser screen). Filters sit between the database and the browser (when WordPress is generating pages), and between the browser and the database (when WordPress is adding new posts and comments to the database); most input and output in WordPress passes through at least one filter. WordPress does some filtering by default, and your plugin can add its own filtering.
Lets get some burritos!