Join Carrie Dils for an in-depth discussion in this video Registering a widget area, part of WordPress Themes: Customizing Themes with Genesis.
- [Instructor] Previously we looked at…creating a custom front page for our Genesis sample theme…and we didn't really do anything too interesting for it.…We really just laid the framework.…Now I would like to come in and show you…how you could register a widget area…and then display it on the front page.…So there's going to be several steps involved.…First, in functions.php, we're going to write the code…that actually registers or creates the widget area…and then we're going to come into front page php…and write a function that adds in the display of that.…
Now I've got some snippets here ready to go.…There's a lot of typing…and I didn't want to make you watch all of my typing.…So, we're going to do a little copy pasting…and you will also have access to this snippets.txt…in your exercise file.…So I'm going to come over to functions.php,…and head down to the bottom of the file…and here on line 173,…I'll just go ahead and paste this in.…So let me walk through this.…So, we've got a function called genesis register sidebar…
- 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.