In this video, learn how to add a new template for a specific piece of content.
(upbeat music) … - [Instructor] Here's where the 404 page started, … and here's my finished 404 page. … I started by finding the right template. … And we can use the template hierarchy to do so. … There's a 404.php in the template hierarchy, … and our parent theme already has that file. … All we have to do is copy it over. … Then, I wanted to search for a nice image. … I love using Unsplash since everything there … is royalty free. … You can use any images without any stipulations. … I found this image, … which I then imported into an image editing program … like Photoshop to remove the background, resize it, … and crop off the edges. … We're going to use this image on the right-hand side, … so the line of text isn't so long. … Speaking of which, this is very boring text, … so let's reword this. … So I'll go to my code. … Let's take a look at 404.php. … And I reworded it to, you know, … "We couldn't find the page you were looking for," … and "It probably got lost in the baking supplies." …
- 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.