Šis įskiepis nebuvo išbandytas su 3 vėliausiomis WordPress versijomis. Jis tikriausiai nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

My Sites Sort and Filter

Aprašymas

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.

Ekrano nuotraukos

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

Diegimas

  1. Simply download, install and activate.

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

DUK

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

Atsiliepimai

5 gruodžio, 2018 1 reply
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!
Perskaityti visus atsiliepimus (1)

Programuotojai ir komandos nariai

“My Sites Sort and Filter” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Įskiepis “My Sites Sort and Filter” išverstas į 1 kalbą. Dėkojame vertėjams už jų darbą.

Išverskite “My Sites Sort and Filter” į savo kalbą.

Domina programavimas?

Peržiūrėkite kodą, naršykite SVN repozitorijoje, arba užsiprenumeruokite kodo pakeitimų žurnalą per RSS.

Pakeitimų istorija

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