Mai Load More
Load more posts functionality for Mai Theme.
by BizBudding · github.com/maithemewp/mai-load-more · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/maithemewp/mai-load-more/archive/refs/heads/main.zipFrom the readme
Mai Load More
A WordPress plugin for Mai Theme v2 (requires Mai Engine plugin) that adds "Load More" functionality to content archives and Mai Post Grid blocks. This plugin replaces traditional pagination with an AJAX-powered load more button, providing a smoother user experience.
Features
- Archive Support: Replaces pagination on configured archive pages with a load more button
- Mai Post Grid Support: Adds load more functionality to Mai Post Grid blocks using the mai-grid-load-more class
- AJAX Loading: Seamless content loading without page refreshes
- Loading States: Visual feedback during content loading with spinner animation
- Responsive Design: Automatically loads more posts with the same layout/configuration as the current posts
- Performance Optimized: Efficient query handling and minimal server load
Requirements
- WordPress 6.8 or higher
- PHP 8.2 or higher
- Mai Theme (Mai Engine)
Installation
1. Upload the mai-load-more folder to your /wp-content/plugins/ directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Configure the plugin to work with your archives and Mai Post Grid blocks (see Usage section below)
Usage
Archive Pages
The plugin ca