Static menus | inventivo

plugin banner

Save WordPress menus as static files for faster page loading times.

Author:Nils Harder (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:7.1
Plugin version:1.0.0
Added to WordPress repository:30-10-2018
Last updated:31-08-2026
Rating, %:0
Rated by:0
Plugin URI:https://www.inventivo.de/webseiten/wordpress-...
Total downloads:1 749
Active installs:10+
plugin download
Click to start download

PLEASE NOTE: As of version 1.0.0 the static menu files are written to wp-content/uploads/inventivo-static-menus. Earlier versions wrote them to a /static/ folder in the document root, which is not writable on every server. If your theme includes those files, update the path after the upgrade.

Static menus – WordPress Plugin

This plugin saves every WordPress menu as a static HTML file in the folder wp-content/uploads/inventivo-static-menus. 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:

The filename is created from the menu location plus .html, for example primary.html. Please note for upgrades from version 0.0.4: without WPML the old files carried the literal suffix ICL_LANGUAGE_CODE in their name, so both the folder and the filename change with this version.

This plugin is tested with WordPress native menus and Max Megamenu Plugin.

Visit our website in order to see the plugin in action.

Our plugins are mall and simple:
– Responsive – fits to all screens
– Easy configuration
– Lightweight code

Get your Static Menus Plugin now!

How it works:

  1. Upload the Plugin
  2. Activate the Plugin
  3. Configure the plugin to fit to your needs.

ChangeLog