Join Morten Rand-Hendriksen for an in-depth discussion in this video Example: Add footer widgets, part of WordPress: Building Progressive Themes with WP Rig.
- [Instructor] Let's bring everything we've talked about … in this chapter together in a practical example, … so you see how all the pieces fit together … to create a theme. … In this example, I want to add … a new widgetized area to the footer. … To do that, I need to first create … the template markup for the footer, … then I need to create a style sheet … for that widgetized area, … then I need to register that style sheet … so I can call it in conditionally, … and finally, I need to extend … the existing sidebar functionality … so we register a new widgetized area. … Now I've cheated a bit and prepared some of this code … just so you don't have to see me write all of it, … so let me quickly walk you through what I've done so far. … You can see here we're in footer.php, … and all I've done is added this call … to a new file under template-parts on footer … called footer-widgets. … footer-widgets is pretty much a copy of sidebar.php. … Here, we first check to see is_footer_widgets_active()? …
- Setting up a WordPress theme development environment
- Installing WP Rig
- Building, activating, and testing a new progressive theme
- Editing CSS
- Using web fonts
- Editing existing templates
- Adding advanced features
- Translating a theme
Skill Level Beginner
WP Rig: A primer2m 5s
1. Configure a Development Environment for WP Rig
2. Install and Configure WP Rig
4. PHP and WordPress Templates
6. Extending WP Rig: A Practical Example
7. Going Further with WP Rig
- 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.