Title: XHTML5 Support
Author: Weston Ruter
Published: <strong>28. september, 2009</strong>
Last modified: 12. februar, 2010

---

Søk i utvidelser

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

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

# XHTML5 Support

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

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

 * [Detaljer](https://nb.wordpress.org/plugins/xhtml5-support/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/xhtml5-support/#reviews)
 * [Utvikling](https://nb.wordpress.org/plugins/xhtml5-support/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/xhtml5-support/)

## Beskrivelse

_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);`

## Vurderinger

Det er ingen omtaler av denne utvidelsen.

## Bidragsytere og utviklere

«XHTML5 Support» er programvare med åpen kildekode. Følgende personer har bidratt
til denne utvidelsen:

Bidragsytere

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

[Oversett «XHTML5 Support» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/xhtml5-support)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/xhtml5-support/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/xhtml5-support/), 
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/xhtml5-support/)
med [RSS](https://plugins.trac.wordpress.org/log/xhtml5-support/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 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

 *  Versjon **0.2.4**
 *  Sist oppdatert **16 år siden**
 *  Aktive installasjoner **Færre enn 10**
 *  WordPress-versjon ** 2.7 eller nyere **
 *  Testet opp til **2.9.2**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/xhtml5-support/)
 * Stikkord
 * [HTML5](https://nb.wordpress.org/plugins/tags/html5/)[xhtml](https://nb.wordpress.org/plugins/tags/xhtml/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/xhtml5-support/advanced/)

## Vurderinger

No reviews have been submitted yet.

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

[Se alle omtalene](https://wordpress.org/support/plugin/xhtml5-support/reviews/)

## Bidragsytere

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

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/xhtml5-support/)