{"id":43516,"date":"2016-05-04T07:16:31","date_gmt":"2016-05-04T07:16:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/mhm-menu-separator\/"},"modified":"2025-12-02T16:11:53","modified_gmt":"2025-12-02T16:11:53","slug":"mhm-menu-separator","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/mhm-menu-separator\/","author":5101522,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.3","stable_tag":"trunk","tested":"6.9.0","requires":"5.0","requires_php":"5.6","requires_plugins":null,"header_name":"Add menu separators to navigation","header_author":"Say Hello GmbH","header_description":"","assets_banners_color":"a0a6a8","last_updated":"2025-12-02 16:11:53","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/mhmli","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/mhm-menu-separator\/","header_author_uri":"https:\/\/sayhello.ch\/","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":15843,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"1.0":{"tag":"1.0","author":"markhowellsmead","date":"2016-05-04 07:16:31"},"1.1":{"tag":"1.1","author":"markhowellsmead","date":"2016-05-04 07:52:23"},"1.1.1":{"tag":"1.1.1","author":"markhowellsmead","date":"2016-05-04 07:57:06"},"1.1.2":{"tag":"1.1.2","author":"markhowellsmead","date":"2016-05-04 08:53:14"},"1.1.3":{"tag":"1.1.3","author":"markhowellsmead","date":"2016-09-14 06:34:26"},"1.1.4":{"tag":"1.1.4","author":"markhowellsmead","date":"2016-12-19 14:16:31"},"1.1.4.1":{"tag":"1.1.4.1","author":"markhowellsmead","date":"2017-04-21 09:36:35"},"1.2.0":{"tag":"1.2.0","author":"markhowellsmead","date":"2018-11-19 09:39:32"},"2.0.0":{"tag":"2.0.0","author":"markhowellsmead","date":"2019-05-20 08:48:01"},"2.0.1":{"tag":"2.0.1","author":"markhowellsmead","date":"2020-01-06 15:06:57"},"2.1.1":{"tag":"2.1.1","author":"markhowellsmead","date":"2021-01-27 16:29:11"},"2.1.2":{"tag":"2.1.2","author":"markhowellsmead","date":"2021-01-27 16:31:05"},"2.1.3":{"tag":"2.1.3","author":"markhowellsmead","date":"2021-09-09 12:22:30"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2463741,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2463741,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2463741,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500-rtl.png":{"filename":"banner-1544x500-rtl.png","revision":2463741,"resolution":"1544x500","location":"assets","locale":""},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2463741,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250-rtl.png":{"filename":"banner-772x250-rtl.png","revision":2463741,"resolution":"772x250","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2463741,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.1.4.1","1.2.0","2.0.0","2.0.1","2.1.1","2.1.2","2.1.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1865,1753,215498,2749,2857],"plugin_category":[43],"plugin_contributors":[84231],"plugin_business_model":[],"class_list":["post-43516","plugin","type-plugin","status-publish","hentry","plugin_tags-menu","plugin_tags-navigation","plugin_tags-sayhellogmbh","plugin_tags-separator","plugin_tags-wp_nav_menu","plugin_category-customization","plugin_contributors-markhowellsmead","plugin_committers-markhowellsmead"],"banners":{"banner":"https:\/\/ps.w.org\/mhm-menu-separator\/assets\/banner-772x250.png?rev=2463741","banner_2x":"https:\/\/ps.w.org\/mhm-menu-separator\/assets\/banner-1544x500.png?rev=2463741","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/mhm-menu-separator\/assets\/icon.svg?rev=2463741","icon":"https:\/\/ps.w.org\/mhm-menu-separator\/assets\/icon.svg?rev=2463741","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Allow separator (<code>HR<\/code> \/ line) and unlinked, text-only entries in WordPress' classic navigation menus.<\/p>\n\n<h3>Block editor<\/h3>\n\n<p><strong>This plugin does not support the Block Editor or the navigation block<\/strong>. It is intended for use with the <a href=\"https:\/\/codex.wordpress.org\/WordPress_Menu_User_Guide\">classic menus<\/a> (e.g. <code>wp_nav_menu<\/code>).<\/p>\n\n<h3>Usage<\/h3>\n\n<ol>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Edit your menu in the \u201cAppearance\u201d section of WordPress Admin. Add a custom link entry, then use <code>---<\/code> (three dashes) as link text for a horizontal line or use <code>#<\/code> as a URL for an unlinked menu entry.<\/li>\n<\/ol>\n\n<h3>Filters<\/h3>\n\n<p>Version 2.1.0 of the plugin added two filters, with which developers can customise the output.<\/p>\n\n<ul>\n<li><code>mhm-menu-separator\/separator<\/code> allows customisation of a separator output. Receives the arguments <code>'&lt;hr class=\"mhm-menu-separator\"&gt;'<\/code> (the uncustomised HTML) and <code>$item<\/code> (the menu item).<\/li>\n<li><code>mhm-menu-separator\/title<\/code> allows customisation of an unlinked menu entry. Receives the arguments <code>$item-&gt;post_title<\/code> (the plain, unlinked menu item text) and <code>$item<\/code> (the menu item).<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>2.1.3<\/h4>\n\n<ul>\n<li>Fix post title comparison for correct output of HR tag.<\/li>\n<\/ul>\n\n<h4>2.1.2<\/h4>\n\n<ul>\n<li>Fix version number. Sorry!<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Add plugin assets for plugin repository. (Not part of functional code.)<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Add filters for customisation of HTML output.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Confirms compatibility up to WordPress 5.3.2.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Confirms functionality up to WordPress 5.2.0.<\/li>\n<li>Use short syntax for PHP arrays.<\/li>\n<li>Code tidying (no functional changes).<\/li>\n<li>Demands PHP 5.6.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Add CSS class name to the menu separator HTML tag.<\/li>\n<li>Confirmation of compatibility up to WordPress 4.9.8.<\/li>\n<\/ul>\n\n<h4>1.1.4.1<\/h4>\n\n<ul>\n<li>Confirmation of compatibility with WordPress 4.7.4.<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>Confirmation of compatibility with WordPress 4.7.<\/li>\n<li>Swap out \u201ckey\u201d variable for inline text domain keys, as recommended by the WordPress Translation team.<\/li>\n<li>No functional changes.<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Confirmation of compatibility with WordPress 4.6.<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Remove unnecessary explicit translation entries for plugin name and description from the PHP source code.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Add missing text domain definition for localization.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Add plugin localization.<\/li>\n<li>Add WordPress version checks.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial public version.<\/li>\n<\/ul>","raw_excerpt":"Allow separator (HR \/ line) and unlinked, text-only entries in WordPress&#039; classic navigation menus.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/43516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=43516"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/markhowellsmead"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=43516"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=43516"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=43516"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=43516"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=43516"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=43516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}