Dropdown multisite selector

Por alordiel
(19 avaliações)
Baixar

Hospedagem WordPress com plugin Dropdown multisite selector

Onde hospedar o plugin Dropdown multisite selector?

Este plugin pode ser hospedado em qualquer servidor que tenha WordPress configurado. Recomendamos optar por uma hospedagem confiável, com servidores otimizados para WordPress, como o serviço de hospedagem de sites da MCO2.

Hospedando o plugin Dropdown multisite selector em uma empresa de hospedagem seguro

A MCO2, além de configurar e instalar o WordPress na versão mais atual para seus clientes, oferece o plugin WP SafePress, um mecanismo exclusivo que assegura e aumenta a performance do seu site simultaneamente.

Por que a Hospedagem WordPress funciona melhor na MCO2?

A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização de imagens, proteção da página de login, bloqueio de atividades maliciosas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São recursos que potencializam seu WordPress para a máxima segurança e o máximo desempenho.

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.

Capturas de tela

The admin part

<ol>
<li>The front end - widget area + shortcode in post</li></ol>

The admin part

  1. The front end - widget area + shortcode in post

Plugins semelhantes

Redirecionamento
(667 avaliações)

Gerencie redirecionamentos 301, monitore erros 404 e melhore seu site, sem precisar entender de Apache ou Nginx.

Code Snippets
(460 avaliações)

Uma maneira fácil, limpa e simples de aprimorar seu site com code snippets.

301 Redirects – Easy Redirect Manager
(549 avaliações)

Manage 301 & 302 redirects. Simple redirection & redirects validation. Includes redirect stats & 404 error log.

User Switching
(234 avaliações)

Instant switching between user accounts in WordPress.

Page Links To
(149 avaliações)

Lets you make a WordPress page (or port or other content type) link to a URL of your choosing (on your site, or on another site), instead of its norma …

LoginWP (Formerly Peter's Login Redirect)
(442 avaliações)

Redirect users to different locations after they log in, log out and register based on different conditions.