Robert
Robert

Reputation: 816

Ajax wordpress single page

I see thousands of posts that have to do with ajaxing wordpress but none of them actually show you how to implement the single page into it. What im trying to achieve is have the single.php page load into the same page when the permalink in the actual blog section is clicked. Any idea on how I can do this?

Thank you.

Upvotes: 0

Views: 378

Answers (1)

John x
John x

Reputation: 4031

try using load

$('#result').load('/file/you/want/to/load.php');

Upvotes: 2

Related Questions