描述
AJAX Page Loader is a lightweight plugin that dynamically loads page content via AJAX with an integrated loading indicator.
安装
- 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.
常见问题
-
How do I use the plugin?
-
Call the JavaScript method
AjaxPageLoader.loadPage(url)(where url is the page you want to load) from your theme or custom scripts. -
Where is the loading indicator?
-
The plugin injects a simple loading indicator into your page. You can style it further by targeting the
#loadingelement in your CSS.
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0.0
- Initial release.