Sometimes you may have a lot of admin menu items based on your WordPress installation, with this plugin you only need to type a few letters of the item name that you look and voila!
有时,根据您的WordPress安装,您可能会有很多管理菜单项,使用此插件,您只需要键入一些您要查找的项目名称字母即可,瞧!
Using a custom jQuery expression that extends the “contains” to a case insensitive the plugin add a class ‘filtered’ for non-match elements and perform actions based on 2 simple rules:
使用自定义jQuery表达式将“内容”扩展为不区分大小写的插件,插件为不匹配的元素添加“过滤”类,并根据2条简单规则执行操作:
1. For parent menu item matching the item keeps visible.
1.对于与父菜单项匹配的项,该项保持可见。
2. For child menu item matching the item keeps highlighted and their parent visible, keeping the rule #1 for the rest of parent menu items.
2.对于与子菜单项匹配的子菜单项,该选项将始终突出显示,并且其父项可见,从而使其余父菜单项的规则#1保持不变。 p>
Credit for the expression:
该表达式的信用:
https://stackoverflow.com/questions/187537/is-there-a-case-insensitive-jquery-contains-selector/36392273
https://stackoverflow.com/questions/187537/is-there-a-case-insensitive-jquery-contains-selector/36392273 p>