Title: HTML5 pushState
Author: lontongcorp
Published: <strong>15 de febrer de 2013</strong>
Last modified: 16 de febrer de 2013

---

Buscar complements

![](https://ps.w.org/pushstate/assets/banner-772x250.png?rev=668727)

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/pushstate_aed0db.svg)

# HTML5 pushState

 Per [lontongcorp](https://profiles.wordpress.org/lontongcorp/)

[Baixar](https://downloads.wordpress.org/plugin/pushstate.1.0.2.zip)

 * [Detalls](https://ca-valencia.wordpress.org/plugins/pushstate/#description)
 * [Ressenyes](https://ca-valencia.wordpress.org/plugins/pushstate/#reviews)
 *  [Instal·lació](https://ca-valencia.wordpress.org/plugins/pushstate/#installation)
 * [Desenvolupament](https://ca-valencia.wordpress.org/plugins/pushstate/#developers)

 [Suport](https://wordpress.org/support/plugin/pushstate/)

## Descripció

Ajaxify wordpress with HTML5 pushState based on History.js by [Benjamin Lupton](http://github.com/balupton/history.js).

Support for HTML5 modern browser only, focus on mobile and not breaking SEO rank.

Take an advantages from History.js, visited contents saved into browser’s so it 
will find and display it directly, no repeating request to server even have anchor(#).

Bundled with jQuery scrollTo plugin for user experiences and used to read and scroll
to anchor.
 Using jQuery AJAX methods, some plugins that used javascript will not
work. And due to AJAX methods, this will not working with cross-domain (subdomain)
calls.

No Jetpack API (or similar) integrations for now, so it just get whole page/post
request and filtering the content to show in the body.

### Early Version

This is just a preliminary version as I can see no real pushState implementation
for wordpress yet.

#### Conflicts

Some known not works with:

 * WP SyntaxHighligher
 * Some eCommerce plugins (WooCommerce, eShopping, etc)’s plugins
 * News-Ticker
 * … please let me know …

## Instal·lació

 1. Download from wordpress plugins or upload to your server “/wp-content/plugins/”
    manually as usual
 2. Activate and go the [Settings](https://ca-valencia.wordpress.org/wp-admin/options-general.php?page=pushstate)
    link
 3. Put the container DOM ( “body”, “#container_id”, “.some-classes” )

Tested on TwentyTwelve themes, with “#content” container

## Ressenyes

No hi ha ressenyes per a este complement.

## Col·laboradors i desenvolupadors

«HTML5 pushState» és programari de codi obert. La següent gent ha col·laborat en
este complement.

Col·laboradors

 *   [ lontongcorp ](https://profiles.wordpress.org/lontongcorp/)

[Traduïx «HTML5 pushState» a la teua llengua.](https://translate.wordpress.org/projects/wp-plugins/pushstate)

### T’interessa el desenvolupament?

[Revisa el codi](https://plugins.trac.wordpress.org/browser/pushstate/) , dona una
ullada al [repositori SVN](https://plugins.svn.wordpress.org/pushstate/) o subscriu-
te al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/pushstate/)
per [RSS](https://plugins.trac.wordpress.org/log/pushstate/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.0.2

 * Improved performances
 * Add more options
 * Custom loading image (remove default)
 * Loading image position, relative to DOM as CSS background
 * Javascript on-complete callback
 * Avoid pushState from feed links

#### 1.0.1

 * Add parseURI from Steven Levithan <stevenlevithan.com>
 * Avoid pushState from links:
    - any login page
    - wp-admin
    - any pictures (jp*g|png|gif|bmp|css|js)
 * Change name to “HTML5 pushState (on Settings menu and others)

#### 1.0.0

First Release

## Meta

 *  Versió **1.0.2**
 *  Última actualització **fa 13 anys**
 *  Instal·lacions actives: **10+**
 *  Versió de WordPress: ** 3.0 o posterior **
 *  Provat fins a **3.5.2**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/pushstate/)
 * Etiquetes
 * [ajax](https://ca-valencia.wordpress.org/plugins/tags/ajax/)[HTML5](https://ca-valencia.wordpress.org/plugins/tags/html5/)
   [themes](https://ca-valencia.wordpress.org/plugins/tags/themes/)
 *  [Vista avançada](https://ca-valencia.wordpress.org/plugins/pushstate/advanced/)

## Valoracions

 4.5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/pushstate/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/pushstate/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/pushstate/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/pushstate/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/pushstate/reviews/?filter=1)

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

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

## Col·laboradors

 *   [ lontongcorp ](https://profiles.wordpress.org/lontongcorp/)

## Suport

Tens alguna cosa a dir? Necessites ajuda?

 [Vore els fòrums de suport](https://wordpress.org/support/plugin/pushstate/)

## Donar

T’agradaria donar suport al progrés d’este complement?

 [ Dona a este complement ](http://www.lontongcorp.com/2013/02/15/wordpress-html5-pushstate/)