Skip to content

A WordPress plugin that sorts multisite dropdown site list alphabetically and adds a filter box.

License

Notifications You must be signed in to change notification settings

cloudverve/my-sites-sort-filter

Repository files navigation

Author WordPress Release GitHub License WordPress Downloads WP Engine Twitter

WordPress My Sites Sort and Filter Plugin

Description

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.

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)

Requirements

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

Installation & Configuration

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

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: define( 'MSSF_MINIMUM_SITES', 5 ); (replacing 5 with the number of your choice).

Screenshot

Demonstration

Analytics