Adds AJAX requests to Thematic navigation so you can navigate your site without full page refreshes. Only the content data is loaded. Uses jquery-pjax.
Thematic PJAX makes WordPress dynamic and adds PJAX to the Thematic Theme Framework. PJAX "loads html from your server into the current page without a full page load. It's AJAX with real permalinks, page titles, and a working back button that fully degrades." Browsing just "feels faster" and makes mixing and matching static and dynamic site elements a breeze. By default, PJAX loads content asynchronously within the
#main div, providing load once static functionality to the header and the footer.
Why Thematic PJAX?
Standing on the shoulders of giants
Thematic is a popular CMS/theme framework made by the same team that develops WordPress, the world's most popular web publishing software. By embracing convention over configuration, Thematic provides an extensible foundation and rich canvas to begin any WordPress project.
A Thematic child theme, Thematic PJAX is a drop in solution to creating asynchronous WordPress layouts. It looks and feels just like any Thematic project. However, as designed, content is dynamically loaded, while header and footer sections remain static, perfect for dynamic single page style layouts, all without the mess of
#! hashbang URIs. Finally, page templates, widgets, and custom functions all work as expected.
- Install Thematic.
Download and extract thematic-pjax in the WordPress
- Add custom functionality in
functions.phpand style to taste within
- PJAX functionality is controlled by the Thematic navigation menu. To override this behavior, modify
- Activate the Thematic PJAX theme in the WordPress Dashboard.
License and Attribution
MIT/X11 - See LICENSE