Join Morten Rand-Hendriksen for an in-depth discussion in this video Create and preload style sheets, part of WordPress: Building Progressive Themes with WP Rig.
- [Instructor] Seeing how modular style sheets … are called at individual template level, … I'm sure that one of the first questions you have is … how do I hook into this feature and add my own custom … modular style sheets. … The best way to explain this is through a practical example. … In my browser, I've navigated to a single page, … and I want to create a stylistic change that only appears … on single pages. … Now if we look closely, you'll see the plug in … I have on my sites that shows which template file … I'm currently using is telling me even though … I'm on a page, I'm still using index.phps my template. … That's because wprig only has one template file … out of the box, and that is index.php. … And index.php is used to display everything. … The front page, whole pages, archives, … everything is run off that one single template file. … However, if you go into wprig, you'Ll see there's a folder … called optional that contains optional template files … you can use if you want to, …
- Setting up a WordPress theme development environment
- Installing WP Rig
- Building, activating, and testing a new progressive theme
- Editing CSS
- Using web fonts
- Editing existing templates
- Adding advanced features
- Translating a theme
Skill Level Beginner
WP Rig: A primer2m 5s
1. Configure a Development Environment for WP Rig
2. Install and Configure WP Rig
4. PHP and WordPress Templates
6. Extending WP Rig: A Practical Example
7. Going Further with WP Rig
- 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.