This plugin saves every WordPress menu as a static HTML file in the folder /static in your server root directory. Whenever you save a menu the HTML files are recreated. Including the menus as static files saves time for rendering the menus which results in faster page loading times.
This is an example for including the files in your WordPress Theme:
<?php require_once ( $_SERVER['DOCUMENT_ROOT']."/static/primary.html" ); ?>
The filename is created from menu location + .html
This plugin is tested with WordPress native menus and Max Megamenu Plugin.
Visit our website in order to see the plugin in action.
Small and simple:
- Responsive - fits to all screens
- Easy configuration
- Lighweight code
Get your copy of the Static menus Plugin now!
- WordPress 3.0 and later
- Tested up to 5.2.2
Use WordPress' Add New Plugin feature, searching "Static menus | inventivo", or download the archive and:
- Unzip the archive on your computer
- Upload
inventivo-static-menus
directory to the/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
- Save any WordPress menu
- Include the file(s) from /static directory in you WordPress Theme
Add additional notes about how to deploy this on a live system
- WordPress - The famous Open Source CMS Software
For the versions available, see the tags on this repository.
- Nils Harder inventivo
- License: GPL2
- License URI: https://www.gnu.org/licenses/gpl-2.0.html
INSTALLING THIS PLUGIN ALONE DOES NOT MAKE YOUR SITE GDPR COMPLIANT. PLEASE CONSULT A LAWER IF YOU ARE NOT SURE WHAT TO DO.