From the course: WordPress: Customizing Themes with Genesis
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Solution
(upbeat music) - [Instructor] My challenge to you was to find all of the hooks located within the Genesis Standard loop. And I hinted that you would use the framework, itself, to find the answer. So from within the Genesis Framework, let's go to the lib folder, structure and open up loops.php. We've spent some good time in this file so far. So the first thing I want to do is identify that genesis_standard_loop, and here it is, and let's go through and count. Basically we're looking for every instance of do_action. So here we've got do_action genesis_before_while. Next up we've got genesis_before_entry. Our third action is genesis_entry_header. Number four is genesis_before_entry_content. And let's see, here's a fifth one, genesis_entry_content. A sixth one, genesis_after_entry_content. Seven, genesis_entry_footer. And 8th action, genesis_after_entry. And 9th one, genesis_after_endwhile, and then bonus points if…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
The core of Genesis Framework3m 42s
-
(Locked)
Template files in Genesis Framework2m 26s
-
(Locked)
The child theme template structure4m 42s
-
(Locked)
The WordPress loop2m 53s
-
(Locked)
The Genesis loop2m 16s
-
(Locked)
Action hooks and filters in WordPress4m 6s
-
(Locked)
Action hooks and filters in Genesis2m 39s
-
(Locked)
Challenge23s
-
(Locked)
Solution1m 40s
-
(Locked)
-
-
-