Turbolinks for WordPress
CoffeeScript PHP
Switch branches/tags
Nothing to show
Latest commit b8f5bd8 Oct 29, 2012 @adampope adampope remove space
Failed to load latest commit information.
assets Dont want the coffee original Oct 29, 2012
.DS_Store First version Oct 29, 2012
readme.md remove space Oct 29, 2012


WP Turbolinks

An implementation of the new Rails 4.0 feature, Turbolinks, for WordPress.


"Turbolinks makes following links in your web application faster. Instead of letting the browser recompile the JavaScript and CSS between each page change, it keeps the current page instance alive and replaces only the body and the title in the head."


Download a zip of the repository and put in a wp-turbolinks directory inside wp-content/plugins.

Go to the plugins page and activate it.


For Turbolinks to work you have to write your JavaScript in a certain way, in particular, document ready events have to be idempotent. There are several articles popping up describing the problem and potential solutions to them. This article from Yehuda Katz sums it up pretty well: https://plus.google.com/106300407679257154689/posts/A65agXRynUn.

Please make sure you read about the pros and cons of Turbolinks before installing it on your site. You may have to make significant changes to your JavaScript for it to work well.


Version: 1.0

Written by Adam Pope of Storm Consultancy - http://www.stormconsultancy.co.uk

Storm Consultancy are a web design and development agency based in Bath, UK.

If you are looking for a Bath WordPress Developer, then get in touch!


This is based off of the work by @dhh on the original Turbolinks gem for Rails.


We have also included the jQuery.Turblinks plugin by kossnocorp