WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

XHTML5 Support

Allows templates to serve XHTML5 markup by adding the necessary JavaScript shim for IE7+ and by converting all new elements to divs and spans with app

This plugin is developed at Shepherd Interactive for the benefit of the community. No support is available. Please post any questions to the support forum.

Allows templates to serve XHTML5 markup by adding the necessary JavaScript shim for IE7+, and for IE6 by converting all new elements to divs and spans with class names that contain the original HTML5 element name prefixed by "html5-", for example: <article> becomes <div class="html5-article"> and <time> becomes <span class="html5-time">

If the browser supports XHTML, the content is served with the application/xhtml+xml MIME type. This can be disabled by placing remove_filter('option_html_type', 'xhtml5support_filter_html_type') in functions.php.

Note that print stylesheets do not get applied to IE7+ even with the shim, so if you are relying on the ability for IE users to print properly-styled pages, you must force the IE6 renaming behavior for all versions of IE by doing update_option('xhtml_support_add_msie_shims', false);

Tags: , ,

Requires: 2.7 or higher
Compatible up to: 2.9.2
Last Updated: 2010-2-12
Downloads: 499

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0