Join Carrie Dils for an in-depth discussion in this video Action hooks and filters in Genesis, part of WordPress Themes: Customizing Themes with Genesis.
- [Carrie] As you've already seen, WordPress core…is full of action and filter hooks…that theme and plug in developers can tap into.…Well Genesis is constructed in a way…that gives us even more flexibility in terms…of how we can customize our themes.…For instance, here we are in the loops.php page…and on line 67, I'm looking at this genesis_standard_loop…and here are kind of the guts of that so to speak.…So say that we were on a single blog page,…what this would output might look something like…this sample post here.…
Now where do all those hooks come into play?…Well with a little bit of markup added, we can see…that that do_action_genesis_before_entry…translates to that spot above the post, while…that genesis_entry_header refers…to the spot right above the title area,…and genesis_entry_content, so forth.…By the way, this visual hook guide,…over at genesistutorials.com is an excellent way…to see where every single hook, and even filters…come out on the page.…And that's what I'm using in this picture here…that you see on the right.…
- Setting the stage for your customization
- Selecting a child theme to customize
- The core of the Genesis framework
- Child theme template structure
- Action hooks and filters in WordPress and Genesis
- Editing theme files
- Editing the style sheet
- Working with functions
- Adding a custom header image
- Registering a widget area
Skill Level Beginner
1. Setting the Stage for Your Customization
2. Explaining Genesis and WordPress
3. Editing Theme Files
4. Working with the Loop
Next steps1m 23s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.