Title: Add menu separators to navigation
Author: Mark Howells-Mead
Published: <strong>04.05.2016</strong>
Last modified: 02.12.2025

---

Шукати плагіни

![](https://ps.w.org/mhm-menu-separator/assets/banner-772x250.png?rev=2463741)

![](https://ps.w.org/mhm-menu-separator/assets/icon.svg?rev=2463741)

# Add menu separators to navigation

 Від автора [Mark Howells-Mead](https://profiles.wordpress.org/markhowellsmead/)

[Завантажити](https://downloads.wordpress.org/plugin/mhm-menu-separator.zip)

 * [Деталі](https://uk.wordpress.org/plugins/mhm-menu-separator/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/mhm-menu-separator/#reviews)
 * [Розробка](https://uk.wordpress.org/plugins/mhm-menu-separator/#developers)

 [Підтримка](https://wordpress.org/support/plugin/mhm-menu-separator/)

## Опис

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](https://codex.wordpress.org/WordPress_Menu_User_Guide)(
e.g. `wp_nav_menu`).

### Usage

 1. Upload the plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘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).

## Відгуки

![](https://secure.gravatar.com/avatar/467cbd88f443b49699c3c35b95940d8f28584d1fd1505d90925a7d3d10b50b5c?
s=60&d=retro&r=g)

### 󠀁[Fantastic](https://wordpress.org/support/topic/fantastic-2735/)󠁿

 [siljerud](https://profiles.wordpress.org/siljerud/) 24.02.2021 1 reply

Very easy to install and use. A real time-saver.

![](https://secure.gravatar.com/avatar/ad4c663dfec95b9a11e9e6384e8440f339d0064892ae0df8df1301932e7d8ac1?
s=60&d=retro&r=g)

### 󠀁[Wow, I love WordPress](https://wordpress.org/support/topic/wow-i-love-wordpress/)󠁿

 [holgerhubbs](https://profiles.wordpress.org/holgerhubbs/) 01.07.2017

I need something, I search for it and boom… it’s here! Thank you for this plugin,
exactly what I wanted.

![](https://secure.gravatar.com/avatar/4715841d6f90c891467d66d4a0f0bffea756c0fc58d03e9d2dc797b50c85d73e?
s=60&d=retro&r=g)

### 󠀁[Works as it says](https://wordpress.org/support/topic/works-as-it-says-2/)󠁿

 [mikechalmers](https://profiles.wordpress.org/mikechalmers/) 25.01.2017

Worked well right away. Thanks

 [ Прочитати всі 3 відгуки ](https://wordpress.org/support/plugin/mhm-menu-separator/reviews/)

## Учасники та розробники

“Add menu separators to navigation” — проект з відкритим вихідним кодом. В розвиток
плагіну внесли свій вклад наступні учасники:

Учасники

 *   [ Mark Howells-Mead ](https://profiles.wordpress.org/markhowellsmead/)

“Add menu separators to navigation” було перекладено на 1 локалізацію. Дякуємо [перекладачам](https://translate.wordpress.org/projects/wp-plugins/mhm-menu-separator/contributors)
за їх роботу.

[Перекладіть “Add menu separators to navigation” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/mhm-menu-separator)

### Цікавитесь розробкою?

[Перегляньте код](https://plugins.trac.wordpress.org/browser/mhm-menu-separator/),
перегляньте [сховище SVN](https://plugins.svn.wordpress.org/mhm-menu-separator/)
або підпишіться на [журнал розробки](https://plugins.trac.wordpress.org/log/mhm-menu-separator/)
за допомогою [RSS](https://plugins.trac.wordpress.org/log/mhm-menu-separator/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

#### 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

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

## Мета

 *  Версія **2.1.3**
 *  Останнє оновлення **6 місяців тому**
 *  Активних встановлень **900+**
 *  Версія WordPress ** 5.0 або вище **
 *  Tested up to **6.9.0**
 *  Версія PHP ** 5.6 або вище **
 *  Мови
 * [English (US)](https://wordpress.org/plugins/mhm-menu-separator/) і [German (Switzerland)](https://de-ch.wordpress.org/plugins/mhm-menu-separator/).
 *  [Перекладіть на свою мову](https://translate.wordpress.org/projects/wp-plugins/mhm-menu-separator)
 * Позначки
 * [menu](https://uk.wordpress.org/plugins/tags/menu/)[navigation](https://uk.wordpress.org/plugins/tags/navigation/)
   [sayhellogmbh](https://uk.wordpress.org/plugins/tags/sayhellogmbh/)[separator](https://uk.wordpress.org/plugins/tags/separator/)
   [wp_nav_menu](https://uk.wordpress.org/plugins/tags/wp_nav_menu/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/mhm-menu-separator/advanced/)

## Оцінки

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/mhm-menu-separator/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/mhm-menu-separator/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/mhm-menu-separator/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/mhm-menu-separator/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/mhm-menu-separator/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mhm-menu-separator/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/mhm-menu-separator/reviews/)

## Учасники

 *   [ Mark Howells-Mead ](https://profiles.wordpress.org/markhowellsmead/)

## Підтримка

Є що сказати? Потрібна допомога?

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/mhm-menu-separator/)

## Пожертвування

Ви хотіли б підтримати розвиток цього плагіна?

 [ Пожертвувати на розвиток плагіна ](https://www.paypal.me/mhmli)