ھي پلگ ان WordPress جي جديد 3 وڏين رليزز سان آزمايو نه ويو آھي. اهو ٿي سگهي ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

Add menu separators to navigation

وضاحت

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

جائزا

24 فيبروري 2021 1 reply
Very easy to install and use. A real time-saver.
1 جُولاءِ 2017
I need something, I search for it and boom... it's here! Thank you for this plugin, exactly what I wanted.
جمع: سڀ 3 تبصرا پڙهو

تعاون ڪندڙ & ڊولپرز

“Add menu separators to navigation” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

واحد: “Add menu separators to navigation” 1 لوڪل ۾ ترجمو ڪيو ويو آهي. ترجمي ڪندڙن جي مهرباني سندن تعاون لاءِ.

ترجمو ڪريو “Add menu separators to navigation” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران 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.