AJAX Page Loader will load posts, pages, etc. without reloading entire page. This was my first plugin and is still a little quirky. There is problems working on some themes. I am working a little at a time on this but if anyone wants to contribute, feel free.
Description for 1.5:
This is the same plugin as https://wordpress.org/extend/plugins/ajax-page-loader/ . But with more of the bugs worked out.
Version 1.5.2 Adds IE6 compatibility.
Many thanks to Luke Howell, author of the original plugin.
Q: The plugin isn’t working right, HHEEEELLLPPPP!!!!!!!!
A: You may need to use the Theme Support Guide in order to use AJAX Page Loader with your custom theme.
This edit may be required by some users with certain themes that cause AJAX Page Loader to reload the sidebar along with the content.
- Open your theme’s index.php file.
- find the “div” tag that contains the following inside a php tag: ” if (have_posts()) : while (have_posts()) : the_post(); ” .
- Give this “div” tag a unique ID. (Example: div id=”blogcontent”)
- Edit “ajax-page-loader.js” and replace the word “content” inside every single or double quote marks with your new ID.
If you theme’s search function stops working or causes the page to reload, then you’ll need to edit your theme’s “search.php” and “searchform.php” files.
- Edit your theme’s “search.php” file.
- Find the “div” tag that containsthe following inside a php tag:
“if (have_posts()) : “
- Give this “div” the same unique ID as mentioned earlier. (Example: div id=”blogcontent”)
- Now edit your theme’s “searchform.php” file.
- Make sure the “form” tag has the ID of “searchform” .
- Make sure the “input” tag has the ID of “s” .
Version 1.5.2 – Adds IE6 compatibility.
Version 1.5.1 – orrected huge link problem from when I was developing the public package, I’m sooo sorry it took me this LONG to realize that. Revised coding to try to help make sure of compatibility. And changed the plugin link to new site. Also confirmed it works with WP 2.8 .
Version 1.5 – Jumped to 1.5 for the five new changes.
PHP code revised, now supports up to WordPress 2.7 .
Added a “Theme Support” guide to the readme in the FAQ section.
Included current version of jquery: 1.2.6-packed edition. (Now 32k compared to 1.0’s 68k.)
Changed loading.gif to an animated throbber, found in AJAXed WP.
Version 1.0 – First release.