Unlock your potential with a Pro Membership
Here is where you propel your career forward. Come join us today. Learn more.
Load the Minified Stylesheet in Genesis
Lab: Automate Asset Versioning – Better Asset Versioning
Video Runtime: 05:04
Now it’s time to port the changes over to the Genesis theme. The code is exactly the same as all that we did was a callback for the "stylesheet_uri"
event filter in order to change the stylesheet’s URL to the minified version. Let’s do the same steps to the Genesis theme.
Break. Go rest your noodle for a couple of minutes.
Episodes
Total Lab Runtime: 02:27:07
- 1 Lab Introductionfree 11:19
- 2 Why is Version Number Necessary?free 16:30
- 3 Version Numbering Schemepro 06:47
- 4 Forget Hard Coding Version Numberpro 15:02
- 5 Forget Hard Coding - Grab Stylesheet's Versionpro 05:19
- 6 Forget Hard Coding - Genesispro 05:17
- 7 Load the Theme's Minified Stylesheetpro 10:23
- 8 Strategy Session: Minified or Full for Theme Versionpro 12:25
- 9 Load the Minified Stylesheet in Genesispro 05:04
- 10 Refactor to Improve Our Codepro 11:20
- 11 Applying It to Scriptspro 18:14
- 12 Apply it to Scripts - Genesispro 09:13
- 13 Convert into Utility File - for Reusepro 14:30
- 14 Wrap it Upfree 05:44