Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Voeg menuscheidingstekens toe aan navigatie

Beschrijving

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).

Beoordelingen

24 februari 2021 1 reactie
Very easy to install and use. A real time-saver.
Lees alle 3 beoordelingen

Bijdragers & ontwikkelaars

“Voeg menuscheidingstekens toe aan navigatie” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

“Voeg menuscheidingstekens toe aan navigatie” is vertaald in 1 taal. Dank voor de vertalers voor hun bijdragen.

Vertaal “Voeg menuscheidingstekens toe aan navigatie” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

2.1.3

  • Fix post title comparison for correct output of HR tag.

2.1.2

  • Fix version number. Sorry!

2.1.1

  • Add plugin assets for plugin repository. (Not part of functional code.)

2.1.0

  • Add filters for customisation of HTML output.

2.0.1

  • Confirms compatibility up to WordPress 5.3.2.

2.0.0

  • Confirms functionality up to WordPress 5.2.0.
  • Use short syntax for PHP arrays.
  • Code tidying (no functional changes).
  • Demands PHP 5.6.

1.2.0

  • Add CSS class name to the menu separator HTML tag.
  • Confirmation of compatibility up to WordPress 4.9.8.

1.1.4.1

  • Confirmation of compatibility with WordPress 4.7.4.

1.1.4

  • Bevestiging van compatibiliteit met WordPress 4.7.
  • Verwissel de variabele “sleutel” voor inline tekstdomein sleutels, zoals aanbevolen door het WordPress vertaalteam.
  • Geen functionele veranderingen.

1.1.3

  • Bevestiging van compatibiliteit met WordPress 4.6.

1.1.2

  • Verwijder onnodige expliciete vertalingen voor de naam en beschrijving van de plugin uit de PHP broncode.

1.1.1

  • Ontbrekende tekstdomeindefinitie toevoegen voor lokalisatie.

1.1

  • Plugin lokalisatie toevoegen.
  • Voeg WordPress versiecontroles toe.

1.0

  • Eerste openbare versie.