I’m trying to integrate PJAX into my WordPress install, and here’s the code I am using for it:
<script src="js/jquery.pjax.js"></script>
<script type="text/javascript">
$(function(){
// pjax
$('ul a').pjax('#middlewrap')
})
</script>
I am just following the demo they have on the PJAX demo page, but replacing the container they used (#main) with the one for my WordPress theme, which was #middlewrap.
I don’t see any weird errors on the console, but it doesn’t work either. Appreciate any help!
look here: https://github.com/nikolas/pjax-menu hope it helps 🙂
EDIT : http://wordpress.org/extend/plugins/pjax-menu/