이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Dropdown multisite selector

설명

Do you need a way to give your visitors the option to navigate easily from your site other sites (multisite)?
This plugin will give you the option to configure a small select/dropdown field with fully configurable options and values (urls).

You can choose by 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 a automatically 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 showen 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 : “name1|url1, name2|url2, name3|url3”

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

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

스크린샷

  • The admin part(from version 0.3)
    1. The front end - widget area + shortcode in post(from version 0.3)

설치

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.

후기

2019년 September 15일
This plugin is super convenient for staying organized with my blog rolls! Thank you!
2017년 April 21일
No too much to say - Works exactly as required PERFECT for my needs.
2017년 January 12일
It would be cool if you could have a style-free version so the dropdown inherits styles from its container. I achieved it with Custom CSS though, no biggie. Great plugin! 🙂
2016년 November 28일
Love this plugin, I've been searching for something like this for around two years. Will there be an option to arrange each link in alphabetical order for future updates, as I need to show 40+ targets on the the menu?
모든 16 평가 읽기

기여자 & 개발자

“Dropdown multisite selector”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Dropdown multisite selector”(이)가 1(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Dropdown multisite selector”(을)를 번역하십시오.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하십시오.

변경이력

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: Opps, 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 : )