Using AJAX to load WordPress pages

I am trying to get it so that when the link is clicked in my WordPress template, it will load the contents of this page using AJAX without changing the page. It should 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 or point me in the right direction.

Thanks,

Wade

+4
source share
3 answers

This plugin works and tells you how it works: WordPress> AJAX 1.5 Page Loader WordPress Plugins

+2
source

I was not able to get this plugin "AJAX Page Loader 1.5" to work with the latest version of Wordpress (currently 3.1.2) .. so I did MUCH dig and found this tutorial " How to AJAXify WordPress Theme ", which was super easy to follow and worked like a charm!

+11
source

If you have access to jQuery, you can start by checking out their AJAX API Reference . There are also many examples!

0
source

Source: https://habr.com/ru/post/1306627/


All Articles