Lazy Loading and Navigation
Lazy Loading and Navigation
Description
AJAX Page Loader is a lightweight plugin that dynamically loads page content via AJAX with an integrated loading indicator.
Installation
- Upload the
lazy-loading-and-navigationfolder to your/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- To initiate an AJAX page load, call the function
AjaxPageLoader.loadPage('your-url')in your custom JavaScript code.
Faq
Call the JavaScript method AjaxPageLoader.loadPage(url) (where url is the page you want to load) from your theme or custom scripts.
The plugin injects a simple loading indicator into your page. You can style it further by targeting the #loading element in your CSS.
Reviews
Changelog
1.0.0
- Initial release.