Title: Dropdown multisite selector
Author: alordiel
Published: <strong>14. januára 2014</strong>
Last modified: 26. marca 2025

---

Vyhľadať plugin

![](https://s.w.org/plugins/geopattern-icon/dropdown-multisite-selector.svg)

# Dropdown multisite selector

 Od [alordiel](https://profiles.wordpress.org/alordiel/)

[Stiahnuť](https://downloads.wordpress.org/plugin/dropdown-multisite-selector.zip)

 * [Podrobnosti](https://sk.wordpress.org/plugins/dropdown-multisite-selector/#description)
 * [Recenzie](https://sk.wordpress.org/plugins/dropdown-multisite-selector/#reviews)
 *  [Inštalácia](https://sk.wordpress.org/plugins/dropdown-multisite-selector/#installation)
 * [Vývoj](https://sk.wordpress.org/plugins/dropdown-multisite-selector/#developers)

 [Podpora](https://wordpress.org/support/plugin/dropdown-multisite-selector/)

## Popis

With this plugin you can create fully configurable dropdown field which select options
would work as links and will redirect the user to the selected one. It was originally
built for multisite for faster navigation between each sub-site, but currently it
also supports custom links as options from the dropdown.

#### There are three options:

 * manually configure the number of the options from the dropdown element – pick
   up a name of your option and the relevant url where the user will be redirected
   after choosing it;
 * get any list of all sites from WordPress Multisite network – this one picks the
   names of all your sites that are in the multisite network and adds them to the
   select element;
 * get the same list as previous one but only with the site where the current logged-
   in user is registered;

#### You can manage:

 * Your label for the name of the select option or leave it without label
 * Your first select option (‚Select branch‘, ‚Select country‘, ‚Choose Side‘)
 * Sorting of your custom list (alphabetic sorting + reverse sorting (your last 
   entries will become first in the dropdown))

Once you have saved your settings you can see the result using this shortcode [dms]
or use the widget.

#### Shortcodes

[dms] – Using this shortcode will generate the same dropdown as the one you have
configured in the admin settings panel.

[dms_manual name=““ placeholder=““ target=““ options=““] – Use this one your own
dropdown that has nothing to do with the settings you have set. The arguments of
this shortcode are:
 * name – the label of the select option (leave empty for no
label) * placeholder – the first option that is shown in the select menu (like: „–
Select –„) * target – could be „default“ or „blank“. This is the target of the link–„
blank“ is to be open in new window * options – name-link pairs, should be placed
as : „url1|name1, url2|name2, url3|name3“

An example:
 [dms_manual name=“Label“ placeholder=“–Select–“ target=“blank“ options
=“Trusted search engine|https://duckduckgo.com, Tracking search engine|https://google.
bg“]

If you would more functionality, please contact me to check if I can implement it.
Also thanks to everyone giving me hints how to improve this plugin.

#### Filters in the code

Here are some filters that you can use to modify the results from the code:
 * `
dms_sites_arguments` – to control the attributes used in the function `get_sites()`
when ‚Show all sites in the WMN‘ option is selected. * `dms_multisite_pairs` – filter
the results returned from `get_sites()`. * `dms_users_sites` – control the sites
when ‚Show only the sites where the user is registered‘ option is selected.

## Obrázky

 * [[
 * The admin part
    1. The front end – widget area + shortcode in post

## Inštalácia

#### From your WordPress dashboard

 1. Visit ‚Plugins > Add New‘
 2. Search for ‚Dropdown Multisite Selector‘
 3. Activate Dropdown Multisite Selector from your Plugins page. To start building 
    your dropdown go to Settings -> Dropdown multisite.

#### From WordPress.org

 1. Download ‚Dropdown Multisite Selector‘.
 2. Upload the ‚dropdown-multisite-selector‘ directory to your ‚/wp-content/plugins/‘
    directory, using your favorite method (ftp, sftp, scp, etc…)
 3. Activate it from your Plugins‘ page.

## Recenzie

![](https://secure.gravatar.com/avatar/3b4f4f9440f2bb2a0c8bc0704607d582a144e438a06531f02308e65bae05ee3e?
s=60&d=retro&r=g)

### 󠀁[Very nice plugin](https://wordpress.org/support/topic/very-nice-plugin-1030/)󠁿

 [Coequipier.com](https://profiles.wordpress.org/mouveo/) 12. júla 2023

Does exactly what I needed! Thank you!

![](https://secure.gravatar.com/avatar/eea8e8b36980f791f34dc4ec92fbab8311a1010ec35e89bf63695f91785a4b6c?
s=60&d=retro&r=g)

### 󠀁[very usefull piece of software](https://wordpress.org/support/topic/very-usefull-piece-of-software/)󠁿

 [Damiaan van Vliet](https://profiles.wordpress.org/damnsharp/) 29. januára 2021

This DMS plug-in is a very useful piece of software! With a PHP code I’ve used in
a PHP widget the user can see a drop-down of all the sub sites he’s member of. A
plug-in with a minimal but with the most practical options. And.. swift support 
of the creator, thanks @alordiel!

![](https://secure.gravatar.com/avatar/0cecb225b7bb7b9ec688c1a13deafc8a974643f9b0d2bb7bf42e3b932c3540d8?
s=60&d=retro&r=g)

### 󠀁[Very fast Support and Fix and working in 5.4.1+ and DIVI](https://wordpress.org/support/topic/very-fast-support-and-fix-and-working-in-5-4-1-and-divi/)󠁿

 [toremo](https://profiles.wordpress.org/toremo/) 10. júna 2020

Thanks for that great plugin which helps a lot in listing all subsites in a Multisite.
Using the Shortcode in Menu plugin the [dms] shortcode can be inserted easily without
any coding experience to one of the menus on your site. Great work, clean code and
very fast response time (in less than 2 hours later it was fixed! and refactored
after reporting a bug). This also shows that a plugin which shows a label banner
that it might not be maintained anymore might still be very very active and in use
and maintained by the developer and it would be strongly advised to contact a developer
before NOT using a „yellow bannered (by wp org)“ plugin. Thanks a lot and keep up
that good work and fast response times.

![](https://secure.gravatar.com/avatar/01eeae7aea5468422e4b4c3ec123d172d275de13704cc4dc92a23cad8e05472d?
s=60&d=retro&r=g)

### 󠀁[Works Great!](https://wordpress.org/support/topic/works-great-6087/)󠁿

 [DestinationUkiyo](https://profiles.wordpress.org/duluna/) 15. septembra 2019

This plugin is super convenient for staying organized with my blog rolls! Thank 
you!

![](https://secure.gravatar.com/avatar/edef0fd3e1d8c02466b2f6db352f172441521b403267854e791cc6c606f90dba?
s=60&d=retro&r=g)

### 󠀁[Thank you](https://wordpress.org/support/topic/thank-you-1318/)󠁿

 [BeHeard](https://profiles.wordpress.org/beheard/) 21. apríla 2017

No too much to say – Works exactly as required PERFECT for my needs.

![](https://secure.gravatar.com/avatar/4947bf48e41bf96276581f5591421e263efd3e570c539eb42cfdde967a05495f?
s=60&d=retro&r=g)

### 󠀁[Simple and effective](https://wordpress.org/support/topic/simple-and-effective-688/)󠁿

 [maiden_taiwan](https://profiles.wordpress.org/maiden_taiwan/) 24. januára 2017

Exactly what my site needed.

 [ Prečítať všetkých 19 recenzií ](https://wordpress.org/support/plugin/dropdown-multisite-selector/reviews/)

## Prispievatelia a vývojári

“Dropdown multisite selector” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu
prispeli nasledujúci ľudia.

Prispievatelia

 *   [ alordiel ](https://profiles.wordpress.org/alordiel/)

„Dropdown multisite selector“ bol preložený do 2 jazykov. Ďakujeme [prekladateľom](https://translate.wordpress.org/projects/wp-plugins/dropdown-multisite-selector/contributors)
za ich príspevky.

[Preložiť „Dropdown multisite selector“ do vašho jazyka.](https://translate.wordpress.org/projects/wp-plugins/dropdown-multisite-selector)

### Máte záujem o vývoj?

[ Prehľadávajte zdrojový kód](https://plugins.trac.wordpress.org/browser/dropdown-multisite-selector/),
preskúmajte [SVN repozitár](https://plugins.svn.wordpress.org/dropdown-multisite-selector/),
alebo sa prihláste na odber [vývojárskeho logu](https://plugins.trac.wordpress.org/log/dropdown-multisite-selector/)
cez [RSS](https://plugins.trac.wordpress.org/log/dropdown-multisite-selector/?limit=100&mode=stop_on_copy&format=rss).

## Zoznam zmien

#### 0.9.4

 * Date: 25 March 2025
 * Security patch

#### 0.9.2

 * Date: 20 Jan 2024
 * Security patch

#### 0.9.2

 * Date: 03 Apr 2023
 * [Fix] PHP8 deprecation notice
 * [Fix] PHP8 fatal error on saving a content with [dms] shortcode (solved by @zodiac1978)

#### 0.9.1

 * Date: 10 Apr 2022
 * [Fix] issue with dms_manual shortcode

#### 0.9.0

 * Date: 10 Apr 2022
 * Some more code refactored and organized
 * [Added] Numeric sorting
 * [Fix] for the [dms_manual] not working

#### 0.8.6

 * Date: 10 Feb 2022
 * Applying the sorting fix for the all options (not only WMN)

#### 0.8.5

 * Date: 09 Feb 2022
 * Fix sorting to respect utf8 characters

#### 0.8.4

 * Date: 10 Nov 2021
 * Applying changes from /trunk (deleted old files and folders)

#### 0.8.3

 * Date: 10 Nov 2021
 * merged pull request from Github by @andykillen (filter ‚dms_sites_arguments‘ 
   was never actually saved)
 * https://github.com/alordiel/dropdown-multisite-selector/pull/14
 * spelling and typos in the readme

#### 0.8.2

 * Date: 27 Jan 2021
 * Fixe typo and adding one more parameter to the get_sites() function

#### 0.8.1

 * Date: 27 Jan 2021
 * Increased the limit of sites for the WMN from 100 to 1000
 * Merged pull request (thanks to @lisandi https://github.com/alordiel/dropdown-
   multisite-selector/pull/10)

#### 0.8.0

 * Date: 27 Jan 2021
 * Added alphabetic sorting for the blog names when WMN options are used
 * Removed deprecated function to support PHP 7.4
 * Plugins script and style will now be included on the DMS settings page
 * Some small code improvements and styling

#### 0.7.0

 * Date: 09 Jun 2020
 * Thanks for Github issues and code suggestions to: @toremo & @Zodiac1978
 * And huge „Excuse me“ to all that have waiting on update and making code compatible
   with WP 5.x.x
 * This updated includes:
 * Added dependency on jQuery for the plugin’s script
 * Added filter `dms_sites_arguments` – to control the attributes when ‚Show all
   sites in the WMN‘ is selected
 * Added filter `dms_multisite_pairs` – change the results returned from `get_sites()`
 * Added filter `dms_users_sites` – control the sites when ‚Show only the sites 
   where the user is registered‘ is selected
 * Code styling according WordPress CodeSniffer standards
 * Small code fixes and code clean up
 * Added default styles to admin button

#### 0.6.4

 * fixed bug with redirect on target blank when option without value is selected.

#### 0.6.3

 * fixed issue with WordPress repository and the last commit

#### 0.6.2

 * fixed issue with including a php files and trailing slashes for XAMPP and may
   be some Windows‘ server systems

#### 0.6.1.

 * Implementing better security
 * Folder restructuring
 * Code refactoring

#### 0.6

 * Added some sorting options for the custom list of options
 * Small refactoring and security
 * The „Add more“ button was removed and option to add new row after each row was
   added
 * CSS & JS tweaks in the admin side

#### 0.5

 * Fix Deprecated function wp_get_sites
 * Fix Widget without save button (now plugins like Dynamic Widgets should work)
 * Added shortcode with attributes

#### 0.4.1

 * Fix with some svn issues

#### 0.4

 * Fix: some php Notice messages were fixed
 * Added: option to choose the name of your first option from the select field (
   thanks for the idea @Ruth Maude)
 * Removed: the requirement for label name. Now you can build select option only
   with the selects‘ element (Option name and url) without label.

#### 0.3.3

 * Fix: Oops, the previous one didn’t worked as expected 🙁 Hope this one fix the
   problem

#### 0.3.2

 * Fix: issues when updating from 0.1 to any higher version (thanks for reporting
   @jfullerton)

#### 0.3.1

 * Fixed: not working if on the page there are two ore more select fields (thanks
   for reporting @Steve Borsch)

#### 0.2

 * Widget option added
 * added option for automatically generated option’s list of all sites connected
   in the current WordPress Multisite Network
 * added option for automatically generated option’s list of all sites connected
   in the current WMN where the logged in user is registered.
 * fix problem with loading the js before the jquery
 * code refactoring

#### 0.1

 * Start : )

## Meta

 *  Verzia **0.9.4**
 *  Posledná aktualizácia **Pred 1 rok**
 *  Aktívne inštalácie **1 000+**
 *  Verzia WordPress ** 3.8 alebo novšia **
 *  Testované do verzie **6.7.5**
 *  Verzia PHP ** 7.4.0 alebo novšia **
 *  Jazyky
 * [Bulgarian](https://bg.wordpress.org/plugins/dropdown-multisite-selector/), [English (Canada)](https://en-ca.wordpress.org/plugins/dropdown-multisite-selector/),
   a [English (US)](https://wordpress.org/plugins/dropdown-multisite-selector/).
 *  [Preložte do vášho jazyka](https://translate.wordpress.org/projects/wp-plugins/dropdown-multisite-selector)
 * Značky
 * [dropdown menu](https://sk.wordpress.org/plugins/tags/dropdown-menu/)[multisite](https://sk.wordpress.org/plugins/tags/multisite/)
   [redirect](https://sk.wordpress.org/plugins/tags/redirect/)
 *  [Rozšírené zobrazenie](https://sk.wordpress.org/plugins/dropdown-multisite-selector/advanced/)

## Hodnotenia

 5 out of 5 stars.

 *  [  19 5-star reviews     ](https://wordpress.org/support/plugin/dropdown-multisite-selector/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/dropdown-multisite-selector/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/dropdown-multisite-selector/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/dropdown-multisite-selector/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/dropdown-multisite-selector/reviews/?filter=1)

[Pridať moju recenziu](https://wordpress.org/support/plugin/dropdown-multisite-selector/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dropdown-multisite-selector/reviews/)

## Prispievatelia

 *   [ alordiel ](https://profiles.wordpress.org/alordiel/)

## Podpora

Máte čo povedať? Potrebujete pomoc?

 [Zobraziť fórum podpory](https://wordpress.org/support/plugin/dropdown-multisite-selector/)