Ajax and wordpress
Ajax and wordpress
Out of context: Reply #3
- Started
- Last post
- 16 Responses
- EdTheDuck1010
just make the title the normal permalink, then put some jQuery on to pull through the href of the link (making the page only show content) and then return false so the link isn't followed.
Something like:
$('a.title').click(function(){
$.get($(this).attr('href'), function(data) {
// do what you want with data here
});
});that's off the top of my head so may be a little off but the idea is there.