In this video, learn the multiple ways to include parent style sheets in WordPress.
- [Instructor] Now that our child theme loads, … you want to include our parents styled on CSS file. … The convention is to load this file with PHP … through functions.php. … If you've never written PHP code, … this is going to be the scariest part … of creating a child theme. … Most of what we'll be using to customize a theme … is simple CSS code. … But this part requires … you write a few lines of actual PHP code. … Don't worry. … I'll talk you through each line. … We have to start by creating a new file. … I'll go back to Atom … and under topsy turvy cake design, … I'll right-click and say new file. … And I'll call this functions.php. … And before we go any further, … we want to make sure that we have an opening PHP tag … and no white space. … So this is bad and this good. … So you want to have the opening PHP tag … be the very first character. … Then we can go to WordPress.org and copy the necessary code. … We'll go back to the child theme documentation. … And we'll copy this code right here. …
- 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.