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

---

Search plugins

![](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

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

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

 * [Details](https://xho.wordpress.org/plugins/pushstate/#description)
 * [Reviews](https://xho.wordpress.org/plugins/pushstate/#reviews)
 *  [Installation](https://xho.wordpress.org/plugins/pushstate/#installation)
 * [Development](https://xho.wordpress.org/plugins/pushstate/#developers)

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

## Description

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 …

## Installation

 1. Download from wordpress plugins or upload to your server “/wp-content/plugins/”
    manually as usual
 2. Activate and go the [Settings](https://xho.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

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“HTML5 pushState” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “HTML5 pushState” into your language.](https://translate.wordpress.org/projects/wp-plugins/pushstate)

### Interested in development?

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

## Changelog

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

 *  Version **1.0.2**
 *  Last updated **13 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/pushstate/)
 * Tags
 * [ajax](https://xho.wordpress.org/plugins/tags/ajax/)[HTML5](https://xho.wordpress.org/plugins/tags/html5/)
   [themes](https://xho.wordpress.org/plugins/tags/themes/)
 *  [Advanced View](https://xho.wordpress.org/plugins/pushstate/advanced/)

## Ratings

 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/)

## Contributors

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

## Support

Got something to say? Need help?

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

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.lontongcorp.com/2013/02/15/wordpress-html5-pushstate/)