views:

426

answers:

2

Hi,

I am trying to get it so that when a link is clicked in my WordPress template, it will load that page content with AJAX without changing the page. It needs to load dynamically into my content area depending on which link is clicked.

I have never used AJAX before so I would love it if someone could help me out or point me in the right direction.

Thanks,

Wade

A: 

If you have access to jQuery, you could start by checking out their AJAX API Reference. There are plenty of examples in there, too!

Justin Ethier
+1  A: 

This plugin works and will give clues to how it works: WordPress › AJAX Page Loader 1.5 « WordPress Plugins

songdogtech
Have you tried putting any jQuery in the pages that are being loaded with AJAX? Those pages don't seem to be finding any jQuery I put in.
Wade D Ouellet
With Wordpress, you ned to load jQuery in a certain way: http://codex.wordpress.org/Function_Reference/wp_enqueue_script And I'd use FireBug to see what is loading on your site: http://getfirebug.com/
songdogtech