One of the themes that is an exclusive download to all you good-looking people that purchased The Book is the All AJAX theme. The idea behind it is that the page never1 reloads. Whenever an "internal" link is clicked, the main content area replaces itself with content that is fetched via Ajax. So posts, pages, search results, and everything else loads right there on the same page. This gives your visitors a smooth, "app-like" experience.
1 The page still reloads for the submission of a comment.
The All AJAX theme always worked, but it has undergone an update to be much mo' better. Shout out to Stewart Heckenberg for contributing to this, this new version is a combo effort of his work and mine. Here is what is now better:
- Scripts properly loaded in the footer
- Back button works, which users will expect it to
- Hash-tag URL structure enforced when entering via a "deep link"
- Detection of internal links smarter
The idea is to give a simple framework in case you wanted to do this same kind of thing in your own custom WordPress theme. I feel like this is a fairly easy theme to start from, with it's über basic design. The original idea was based on a client request where there was a music player in the sidebar. They wanted it so a user could play a song in the music player, and have it not stop as they clicked around other links.
How to get it
We have a brand new downloading system here for the book and it's related materials. Everyone who has previously purchased the book has access to it. Read the instructions here.