In this video, learn how and where you can find functions in a parent theme.
- [Instructor] We found our pluggable function, … 2019 the posts navigation. … Let's go ahead and plug this function. … We're going to start by copying the entire function. … Copy everything between the if and endif. … So that'll be just this. … And let's go ahead and copy the comment as well. … So I'll copy this … and I'm going to paste it … into our child themes functions.php file. … I'll open this up … and we'll post it right beneath … our function to enqueue styles. … Now that we have this duplicate code … in our child themes functions.php, … let's change something and see what happens. … But before we do, … let's take a look at the posts pagination … on WordPress.org. … If I go to WordPress.org, … I can find any of the functions built into WordPress. … And the posts pagination … is where WordPress is printing those links. … It basically determines what WordPress uses … to create those previous and next links … at the bottom of a page of posts. … And if we scroll down, … we can see all of the parameters of that function. …
- Setting up your development environment and editor
- Picking a parent theme
- Creating a child theme
- Including style sheets
- Creating and modifying styles
- Modifying functions
- Hooking functions
- Creating and modifying template files
- Adding menus and functionality
- Migrating theme files to a live WordPress site
Skill Level Intermediate
Using the exercise files1m 13s
1. Building on a Solid Foundation
2. Creating a Child Theme
3. Child Themes and CSS
4. Working with Function Files
5. Working with Template Files
6. Add New Functionality
7. Wrapping Up
Next steps1m 4s
- 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.