From the course: WordPress: Workflows
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Testing our theme with extreme content - WordPress Tutorial
From the course: WordPress: Workflows
Testing our theme with extreme content
- [Instructor] The beauty of having a local installation of your website is that you can do things you normally wouldn't do on a live site. One of those things is pushing our child theme to the limits to see if and when it breaks. While we should always develop with real content, it's worth testing with extreme outliers when it comes to content, widgets and menus. That's because we never know exactly how a theme, or any software we build, will be used. Especially if a wide audience of people is using it. So we want to plan for as many scenarios as possible. Extreme content will help us do that. One of the best ways to test extreme content is to use WordPress's own theme unit test, which you can download from the WordPress Codex. This is an XML file that will install a number of posts, pages and other content, as well as make some changes to the settings and menus. Let's go ahead and download that now. In order to do…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
What is a child theme?2m 12s
-
(Locked)
Setting up a local dev environment2m 33s
-
(Locked)
Defining our child theme4m 44s
-
(Locked)
Migrating a live site to local2m 59s
-
(Locked)
Testing our theme with extreme content5m 9s
-
(Locked)
How to handle new content locally1m 11s
-
(Locked)
Moving our child theme live3m 16s
-
(Locked)
Wrapping up1m 7s
-
-
-
-