跳到内容

Static menus | inventivo

v1.0.0

Nils Harder · 2018年10月30日 上架

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

正在使用
10+
评分
暂无
累计下载
1,721
最近更新
2026年8月31日
需要 WordPress 5.0+已测试到 7.1.5PHP 7.4+

贡献者

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums