plugin-icon

Voeg menuscheidingstekens toe aan navigatie

Allow separator (HR / line) and unlinked, text-only entries in WordPress' classic navigation menus.
Waardering
5/5
Versie
2.1.3
Actieve installaties
1K
Laatst bijgewerkt
Dec 2, 2025
Voeg menuscheidingstekens toe aan navigatie

Allow separator (HR / line) and unlinked, text-only entries in WordPress’ classic navigation menus.

Block editor

This plugin does not support the Block Editor or the navigation block. It is intended for use with the classic menus (e.g. wp_nav_menu).

Usage

  1. Upload de map met plugins naar de map /wp-content/plugins/
  2. Activeer de plugin via het ‘Plugins’ menu in WordPress
  3. Edit your menu in the “Appearance” section of WordPress Admin. Add a custom link entry, then use --- (three dashes) as link text for a horizontal line or use # as a URL for an unlinked menu entry.

Filters

Version 2.1.0 of the plugin added two filters, with which developers can customise the output.

  • mhm-menu-separator/separator allows customisation of a separator output. Receives the arguments '<hr class="mhm-menu-separator">' (the uncustomised HTML) and $item (the menu item).
  • mhm-menu-separator/title allows customisation of an unlinked menu entry. Receives the arguments $item->post_title (the plain, unlinked menu item text) and $item (the menu item).
Gratisop Business abonnement
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Getest tot
WordPress 6.9.0
Deze plugin kan worden gedownload, zodat je hem op je kan gebruiken.