From the course: WordPress and Genesis: Building Child Themes from Scratch
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Solution: Build out functions.php
From the course: WordPress and Genesis: Building Child Themes from Scratch
Solution: Build out functions.php
- At this point, if you've been following along with me and doing the challenges, you should have a function.php file that's ready to go. You'll have your setup function complete with some theme constants defined. Adding theme support for the items we want and removing those default items that we don't want. Additionally, we've included a widget areas files in which all of our widget areas get registered. With these things in place, we're ready to move forward.
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
-
-
-
-
-
Add theme support options4m 35s
-
Remove Genesis defaults4m 53s
-
Register widget areas4m 28s
-
Challenge: Build out functions.php38s
-
Solution: Build out functions.php30s
-
Set up your front page to check for active widget areas3m 1s
-
Display active widget areas on your front page5m 5s
-
Challenge: Build out front-page.php42s
-
Solution: Build out front-page.php47s
-
-
-
-
-