Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

My Sites Sort and Filter

Beskrivning

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.

Skärmdumpar

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

Installation

  1. Simply download, install and activate.

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

Vanliga frågor

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

Recensioner

5 december 2018 1 svar
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!
Läs 1 betyg

Bidragsgivare och utvecklare

”My Sites Sort and Filter” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”My Sites Sort and Filter” har översatts till 1 språk. Tack till översättarna för deras bidrag.

Översätt ”My Sites Sort and Filter” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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