In this video, learn how to add, edit, and remove functions to affect the front end.
(bouncy techno music) … - [Instructor] I hope you were able to figure it out. … It can be really tricky to find … the exact function to modify. … Either way, follow along, and I'll show you how to do it. … My first thought is to search by author name, … but unfortunately, we can't search by author name … because it's stored dynamically in the database. … The code that prints this will just reference a variable, … so instead, I'm going to dig into the HTML … and see if there's some sort of identifying HTML … that we can search for. … So, I'll inspect element … and up here I see span class byline. … That seems pretty unique, … so I'm going to use this to search. … I'll copy byline, … go back to my code editor, … and, in my parent theme, … I will search in this directory, … type in byline and click Find All. … And, I only see one result, which is great! … This should be the one. … Let's click into this file. … I see a function that prints an icon, … the author, a link, and a bunch of HTML for formatting. …
- 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.