WordPress HTML5 PushState

Enables HTML5 pushState for wordpress to get contents through AJAX without breaking SEO rank

Enables HTML5 pushState for wordpress to get contents through AJAX without breaking SEO rank

Descriptions




AJAXify wordpress with HTML5 pushState based on History.js by Benjamin Lupton.

This is just a preliminary version as I can see no real pushState implementation for wordpress yet. Support for HTML5 modern browser only, focus on mobile and not breaking SEO rank.

Bundled with jQuery scrollTo plugin for user experiences. Using jQuery AJAX methods, some plugins that used javascript will not work unless they update it to use “live” event handlers or put inline in the body though not always will work properly.

Some known not works:

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

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.

Download

 

Latest Version 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

Leave a Reply