Dennis Ploetner
Forum Replies Created
-
Did you see my answer short before your second message? 🙂 Does this help you or do you need assistance with the callback code?
Hello Mark,
it is possible to adjust this with code. There is a filter that will be called short before the output of those links:
$arr = (array) apply_filters( 'mlsl_output_get_alternate_links_arr', $arr );Hope this helps!
Forum: Plugins
In reply to: [Multisite Language Switcher] Issue with primary/mobile menuYou might use the widget or the block in these two menus. It depends on how the theme works (which I don’t know).
As far as I can see on your website: You can insert something like this before every element or the complete output:<li class="menu-item menu-item-type-custom menu-item-object-custom">and close it after with
</li>Read on here: https://msls.co/user-docs/settings-in-the-administration-menu/
Forum: Plugins
In reply to: [Multisite Language Switcher] Constant FILTER_SANITIZE_STRING is deprecatedThanks, I will be back next week and can then have a look into the issue.
Forum: Reviews
In reply to: [Multisite Language Switcher] Plugin not showing under settings menuThanks for contributing to open source. I believe you didn’t read the documentation: msls.co
Forum: Plugins
In reply to: [Multisite Language Switcher] There was a conflict with other pluginHello, thanks for pointing that out. I will try to install it on one of my test sites and see if I can fix it soon.
Forum: Plugins
In reply to: [Multisite Language Switcher] Constant FILTER_SANITIZE_STRING is deprecatedYes, sure and thank you for pointing me to that issue.
Cheers!
Forum: Plugins
In reply to: [Multisite Language Switcher] Switcher as dropdown?Yeah html only. Let me know if you find a more appealing solution.
Forum: Plugins
In reply to: [Multisite Language Switcher] Switcher as dropdown?Yes, I wrote once a small add-on for that use-case: https://wordpress.org/plugins/mslsselect/
Thanks for testing that. I’m quite busy right now, would be nice if you can help: https://github.com/lloc/Multisite-Language-Switcher
Forum: Plugins
In reply to: [Multisite Language Switcher] Spacing between flags in language switcherYou can set any html-element before and after every item In the plugin options.
Read on here: https://msls.co/user-docs/settings-in-the-administration-menu/Without knowing any detail that I can miss here: MSLS can use different reference-users too connect the sites that need tied together. I don’t know if Multi Networks could help additionally: https://ploetner.io/de/von-multisites-zu-multi-networks/ (Post is in German and Italian only)
Forum: Plugins
In reply to: [Multisite Language Switcher] No flags appearing in the dropdownYou could.have a look how your Menu is made and use those css classes. Often you will see a menu like this made with html lists and all the magic happens because of the underlying css. Let me know if you want to try alone and I check your result…
Forum: Plugins
In reply to: [Multisite Language Switcher] Remove hreflangYou can remove the output in the header by using the filte.msls_head_hreflang.. Read on here https://msls.co/developer-docs/hook-reference/
Forum: Reviews
In reply to: [MslsMenu] Einrichtung Schwierig für WP-AnfängerJa, stelle Deine Fragen am besten per E-Mail (re@lloc.de) oder in einem separaten Thread. Deine Unterstützung nehme ich gerne an. Aktuell gibt es fuer den deutschsprachigen Raum tatsächlich nur diese Seite hier, an der noch einiges verbessert werden muss: http://msls.co/de/