Update switcher.php to enable option "Current language first"
-
Tried to create a pull-request on Github, but got a notice that this was just a mirror.
Couldn’t find an other way to do this, so I’ll post it here.I would like to see the following pulled into the plugin! ??
Extended the language switcher to enable the “Current language first” option.
Fount this to be very usefull in multiple projects so I thought I should share this.Edited:
line 25: adding option 'current_first' line 81 - 89: change language orde if current_first option is enabled.
TODO: String translation: “Current language first“.
Dutch translation: “Toon huidige taal als eerste“
More info and pull request: https://github.com/wp-plugins/polylang/pull/1
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Update switcher.php to enable option "Current language first"’ is closed to new replies.