该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

My Sites Sort and Filter

描述

This plugin helps you find sub-sites in the My Sites dropdown on large WordPress multisite installations. It sorts sites alphabetically and allows you to filter as you type.

This plugin was forked from code by Kailey Lampert and Eric Juden.

Please submit issues before giving a negative rating so I have the opportunity to fix them. Thank you.

GitHub repo: https://github.com/cloudverve/my-sites-sort-filter

Requirements

  • WordPress 4.7 or higher
  • PHP 5.4 or higher
  • WordPress Multisite

Features

  • Sorts My Sites list alphabetically
  • Adds a filter-as-you-type search input to the My Sites dropdown
  • Supports multiple color schemes (including Dark Mode)

GDPR Safe

This plugin does not use or track any user data, either from visitors or users of WP Admin.

屏幕截图

  • Sorted My Site List with Filter Input
  • Filter-as-you-type Example
  • Ectoplasm Theme
  • Example with Dark Mode

安装

  1. Simply download, install and activate.

Once activated, it automatically sorts sites and adds a filter search input. No configuration needed.

常见问题

Can I change the number of sites that triggers the filter search input to appear?

By default, the filter search field appears when there are greater than 10 sites in your My Sites list. To change this, you can define the following constant in wp-config.php (replace 5 with the number of your choice):

define( 'MSSF_MINIMUM_SITES', 5 );

评价

2018 年 12 月 5 日 1 回复
This plugin works great. I looked all over for a solution to the extra-long multisite "my sites" menu problem but couldn't find anything else that worked as was also current. I like how this filter option still allows you to access the site sub-menus whereas some of the other suggested solutions just use overflow: scroll which hides the sub-menus. Thanks!
阅读所有1条评价

贡献者及开发者

“My Sites Sort and Filter” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「My Sites Sort and Filter」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“My Sites Sort and Filter”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.1

  • Updated dependencies
  • Bumped WordPress compatibility to 5.0

1.1.0

  • Added Russian translations
  • Added missing string translations for other languages
  • Reduced minimum requirements to PHP 5.4 and WordPress 4.7

1.0.0

  • Initial release