WP Manifestindependent plugin directory
manifest / seo / sitemap-from-menu-wp

Sitemap From Menu

Make simple sitemap page from selecting menu and add extra pages by pageId inWordPress

by Mayur Oza · github.com/mayuroza3/sitemap-from-menu-wp · 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/mayuroza3/sitemap-from-menu-wp/archive/refs/heads/master.zip

Generates a beautifully optimized front-end HTML sitemap using a selected WordPress navigation menu.

Description

Sitemap From Menu allows you to effortlessly generate a clean, semantic HTML frontend sitemap simply by selecting any WordPress natural navigation menu. With Native Block Editor support, Elementor compatibility, robust A11y enhancements, and Enterprise-ready configurations, creating a fully extensible frontend sitemap has never been easier.

Core Features

  • Elementor Widget Support: Drag-and-drop the sitemap widget visually in Elementor with full custom controls directly from the builder.
  • Native Gutenberg Block: Add and configure the sitemap visually straight from your block editor.
  • Clean & Hierarchical: Generates a clean, hierarchical HTML sitemap natively tied to your WordPress menu tree.
  • Theme-Compatible Output: Works flawlessly with any theme (No forced inline CSS).
  • Collapsible Trees: Add interactive JS toggles seamlessly to expand/collapse multi-level nesting cleanly.
  • Columns Grid Layout: Choose between Single Column, 2 Columns, 3 Columns, or Auto-Grid interfaces natively inside settings.
  • Accessibility Ready: (Optional) Wrap sitemap inside semantic <nav> structures holding valid Aria properties.
  • Schema.org Rich Data: (Optional) Wrap nodes inside SiteNavigationElement configurations to elevate Search Engine optimization capabilities intrinsically without bloating footprints.
  • Robust Exclusions: Filter unwanted entries by CSS classes, Page IDs, or URL strings securely and natively.
  • Sort Functionality: Toggle between hierarchical presentation or flat A-Z alphabetical rendering.
  • Translation Ready: Fully translatable and i18n compliant codebase built using standard OOP patterns.

Installation

  1. Upload the sitemap-from-menu folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Navigate to Settings -> Sitemap From Menu to configure the plugin globally.
  4. Go to any Page/Post Editor and add the native Sitemap From Menu Block directly.
  5. Alternatively, use the [sitemap_from_menu] shortcode anywhere you need to output the sitemap.

Frequently Asked Questions

Do I need a specific theme to use this?

No, the plugin outputs clean, semantic unordered lists mimicking standard HTML formats inheriting theme fonts inherently.

Is the shortcode block editor compatible?

Not only does the shortcode work gracefully inside older Classic environments, but the plugin strictly includes a fully Native Server-Rendered Block perfectly compliant with modern Gutenberg environments.

Can I append pages not in the menu?

Yes! Via the plugin settings page securely passing comma-separated Page/Post IDs appends them explicitly safely.

Does this compete with XML Sitemaps?

Not at all. This solely renders an HTML interface for humans to interact cleanly. Your SEO plugin still securely handles XML transmissions separately.


Changelog

2.2.0

  • Improved compatibility with the latest WordPress 7.0.
  • Versioned transient cache keys for reliable clearing under external object caching (Redis/Memcached).
  • Cleaned up and polished code comments.
  • Added Elementor custom widget support with drag-and-drop capability.

2.1.0

  • Introduced Native Gutenberg Block.
  • Added Accessibility (A11y) wrappers with semantic landmarks.
  • Introduced Schema.org SiteNavigationElement markup.
  • Added Collapsible Interactive Menu Trees with lightweight JS toggle.
  • Added CSS Grid configuration options (Columns, Grids).
  • Added URL String, Page ID, and CSS Class Exclusion constraints.
  • Added Alphabetical sorting filters.

2.0.0

  • Complete structural modernization.
  • Implemented clean Object-Oriented PHP architecture.
  • Integrated WordPress Settings API for the configuration dashboard.
  • Switched to single-array options and transient caching.

1.0.0

  • Initial release.