Load the <?php the_permalink(); ?> with an ajax loader
- by fxg
I´m working on a wordpress template.
I´m trying to load the single.php of a post using ajax. I´m doing all the load thru a loader.js file that has this:
// load single project page
$("#project_slider").live("click", function(){
$("#content").hide();
$("#content").load("<?php the_permalink(); ?>", function(){
…