Make front end styling easier for child themes on Genesis Framework based on whether JavaScript is enabled or not..
Adds body class to the front end, and script on genesis before which changes the class to js if JavaScript is enabled..
This is how WP does things on the back end, to allow different styles for the same elements depending if JavaScript is active or not..
This plugin is useful if you're using theme of Genesis Framework since it uses the genesis before hook...
Go to the Plugins -> Add New screen and click Upload tab..
Immediately after the body tag is script which replaces no-js with js ..
This plugin recreates the same effect, but for the front end of Genesis Framework child themes...
Shouldn't the script be at the end of the page..
Doing it immediately also reduces flash of styled content, as the page does not load with no-js styles, then switch to js once everything has finished loading...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more