Join Carrie Dils for an in-depth discussion in this video Working with functions, part of WordPress Themes: Customizing Themes with Genesis.
- [Instructor] If the style sheet is the beautiful face…of your web site, think of functions.php as a heart.…If you've read many WordPress or Genesis…tutorials online, you may have gotten the instruction…to put some bit of code into functions.php.…Why is that?…Well, the function file behaves a little bit like…a WordPress plugin, adding features and functionality…to your site.…We can use it to call existing WordPress functions…or even create our own.…Like the stylesheet, it's fine to edit this file directly,…but you might wonder where's the best place…to put your customizations?…At the top, at the bottom?…Well, let's take a look.…
So we're in the functions.php file…of the Genesis sample theme.…After a little documentation at the top of the file,…the first thing we do is initialize the Genesis framework…here on line 14, or, as the comment says, start the engine.…After that, we're doing various theme setup functions,…like including some theme defaults, adding our localization,…adding in some helper functions,…those customizer files that we looked at earlier, etc.…
- 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.