Add menu separators to navigation

Description

Add customisation to allow line and text-only entries to the output of WordPress’ wp_nav_menu function.

Edit your menu in the “Appearance” section of wp-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.

Installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Reviews

Read all 2 reviews

Contributors & Developers

“Add menu separators to navigation” is open source software. The following people have contributed to this plugin.

Contributors

“Add menu separators to navigation” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Add menu separators to navigation” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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

  • Confirmation of compatibility with WordPress 4.7.
  • Swap out “key” variable for inline text domain keys, as recommended by the WordPress Translation team.
  • No functional changes.

1.1.3

  • Confirmation of compatibility with WordPress 4.6.

1.1.2

  • Remove unnecessary explicit translation entries for plugin name and description from the PHP source code.

1.1.1

  • Add missing text domain definition for localization.

1.1

  • Add plugin localization.
  • Add WordPress version checks.

1.0

  • Initial public version.