Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Modernizr for WordPress

Skildring

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/

Installasjon

  1. Upload modernizer/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the «Plugins» menu in WordPress
  3. Implement the required features as documented on http://www.modernizr.com/docs/

Omtalar

17. februar 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>
Les alle 5 omtalar

Bidragsytarar og utviklarar

“Modernizr for WordPress” is open source software. The following people have contributed to this plugin.

Contributors

“Modernizr for WordPress” er omsett til 1 språk. Takk til omsetjarane for bidraga deira.

Omset “Modernizr for WordPress” til ditt eige språk.

Interested in development?

Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.

Endringslogg

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