-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Jerel Yoshida edited this page Mar 18, 2026
·
1 revision
Navigate to Appearance > Mega Menu Ajax to configure the plugin.
The plugin automatically detects all registered menu locations in your theme. Each location can be configured independently.
Toggle mega menu functionality for each menu location.
When enabled, sub-menus are loaded on demand via AJAX when users hover over parent items. This reduces initial page load time.
Configure page preloading behavior for faster navigation.
| Setting | Description | Default |
|---|---|---|
| Enable Preload | Enable page preloading on hover | Off |
| Delay (ms) | Milliseconds to wait before preloading | 50 |
| Preload CSS | Preload CSS files from target page | On |
| Preload JS | Preload JavaScript files from target page | Off |
| Preload Images | Preload images from target page | On |
Configure animation effects for sub-menu display.
| Animation | Description |
|---|---|
| Fade | Sub-menus fade in/out |
| Slide | Sub-menus slide down/up |
| Fade + Slide | Combined fade and slide effect |
| None | No animation (instant show/hide) |
Configure mobile breakpoint behavior.
| Setting | Description | Default |
|---|---|---|
| Mobile Breakpoint | Screen width for mobile view | 768px |
| Mobile Toggle | Show hamburger menu on mobile | On |
Each menu location has its own settings:
[✓] Primary Menu
[✓] Enable AJAX Sub-Menu Loading
[✓] Enable Preloading
- Delay: 50ms
- [✓] Preload CSS
- [ ] Preload JS
- [✓] Preload Images
Enable debug mode to see console logs:
- Add to
wp-config.php:define('WP_DEBUG', true);
- Open browser DevTools (F12)
- Check Console for
[MegaMenuAjax]messages