Modernizr for WordPress
Modernizr for WordPress
Description
This plugin adds the Modernizr to your WordPress installation.
Modernizr is a small JavaScript library that detects the availability of native implementations for next-generation web technologies, i.e. features that stem from the HTML5 and CSS3 specifications. Many of these features are already implemented in at least one major browser (most of them in two or more), and what Modernizr does is, very simply, tell you whether the current browser has this feature natively implemented or not.
For documentation visit http://www.modernizr.com/docs/
Installation
- Upload
modernizer/to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Implement the required features as documented on http://www.modernizr.com/docs/
Reviews
Worked like a charm!
By roiwerk on March 10, 2018
Worked like a charm! What more should I say.
Excellent, just one mistake:
By waldbach on November 23, 2017
Change in modernizr.php on line 19: modernizr-custom.js to modernizr.js
Otherwise: this saved my day! Thanks!
Doesn't work - Plugin Defunct
By newvibe on February 17, 2017
The 2.8.4 version inserts broken javascript link. I posted a message about this in the support section for the plugin and the author has not responded or fixed the problem. Now, any site that I've added this plugin to can be broken if the user runs an update.
Instead, if you need Modernizr, insert the following into your header.php file just after <?php wp_head(); ?>:
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
Changelog
3.7.1
- Updated Modernizr to version 3.7.0
- Skipped branch 3.6.x
- Skipped release 3.7.0
3.5.0
- Updated Modernizr to version 3.5.0
- Fixed a bug present since version 3.5.0
- Skipped branch 3.4.x
3.3.1.2
- Fixed a bug present since version 3.3.1
3.3.1.1
- Fixed a bug present since version 2.6.1
3.3.1
- Updated Modernizr to version 3.3.1
2.8.4
- Improved deactivating other modernizr versions code. Code by Gal Baras
2.8.3
- Updated Modernizr to version 2.8.3
2.7.0
- Updated Modernizr to version 2.7.0
- Minor code improvement
2.6.3
- Updated Modernizr to version 2.6.3
2.6.2
- Updated Modernizr to version 2.6.2
- Minor code improvement
2.6.1
- Updated Modernizr to version 2.6.1
- Changelog for Modernizr 2.6.1 http://modernizr.com/news/modernizr-260/
2.5.3
- Updated Modernizr to 2.5.3
- Code Optimization
- Readme Update
2.5.2
- Updates Modernizr to 2.5.2
2.5.0
- Updates Modernizr to 2.5.0
2.0.6
- Updated Modernizr to 2.0.6
2.0
- Updated Modernizr to 2.0 (custom built using the default settings
1.0.1
- Fixes a PHP error (thanks Anthony)
1.0.0
- First version, based on Modernizr 1.7