Title: XHTML5 Support
Author: Weston Ruter
Published: <strong>September 28, 2009</strong>
Last modified: February 12, 2010

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/xhtml5-support.svg)

# XHTML5 Support

 By [Weston Ruter](https://profiles.wordpress.org/westonruter/)

[Download](https://downloads.wordpress.org/plugin/xhtml5-support.zip)

 * [Details](https://wordpress.org/plugins/xhtml5-support/#description)
 * [Reviews](https://wordpress.org/plugins/xhtml5-support/#reviews)
 * [Development](https://wordpress.org/plugins/xhtml5-support/#developers)

 [Support](https://wordpress.org/support/plugin/xhtml5-support/)

## Description

_This plugin is developed at [Shepherd Interactive](http://www.shepherd-interactive.com/)

for the benefit of the community. No support is available. Please post any questions
to the [support forum](https://wordpress.org/tags/xhtml5-support?forum_id=10).

Allows templates to serve XHTML5 markup by adding the necessary JavaScript shim 
for IE7+, and for IE6 by converting all new elements to `div`s and `span`s 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);`

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“XHTML5 Support” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ Weston Ruter ](https://profiles.wordpress.org/westonruter/)

[Translate “XHTML5 Support” into your language.](https://translate.wordpress.org/projects/wp-plugins/xhtml5-support)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/xhtml5-support/), check
out the [SVN repository](https://plugins.svn.wordpress.org/xhtml5-support/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/xhtml5-support/)
by [RSS](https://plugins.trac.wordpress.org/log/xhtml5-support/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2010-02-12: 0.2.4

 * Removed `pre` from the list of new HTML5 block elements

#### 2010-01-22: 0.2.3

 * Preventing behavior when at a “/wp-*” url
 * Preventing `xhtml5support_filter_html_type` if `empty($_SERVER['HTTP_ACCEPT'])`

#### 2009-09-28: 0.2.2

 * Initial release

## Meta

 *  Version **0.2.4**
 *  Last updated **16 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 2.7 or higher **
 *  Tested up to **2.9.2**
 * Tags
 * [HTML5](https://wordpress.org/plugins/tags/html5/)[xhtml](https://wordpress.org/plugins/tags/xhtml/)
 *  [Advanced View](https://wordpress.org/plugins/xhtml5-support/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/xhtml5-support/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/xhtml5-support/reviews/)

## Contributors

 *   [ Weston Ruter ](https://profiles.wordpress.org/westonruter/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/xhtml5-support/)