Dennis Ploetner
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Language Switcher] Improve I18N Issues (Based on 2.6.0)Great catch, thanks a lot! Do you want to do a PR to the GitHub repository?
https://github.com/lloc/Multisite-Language-SwitcherForum: Reviews
In reply to: [Multisite Language Switcher] Fantastic pluginThank you @mattv! Very kind 🙂
Forum: Plugins
In reply to: [MslsMenu] Not working with Twenty Twenty-ThreeHello,
great catch! I will try to find a way.
Cheers,
DennisForum: Reviews
In reply to: [Multisite Language Switcher] Superb!Thank you very much!! I’m glad you like the plugin. 🙂
Forum: Plugins
In reply to: [Multisite Language Switcher] How to modify hreflang for specific siteI just created a pull-request here: https://github.com/lloc/Multisite-Language-Switcher/pull/250
Please, have a look and comment there so I can merge it and push it into the next version.Forum: Plugins
In reply to: [Multisite Language Switcher] How to modify hreflang for specific siteI see. There is only a $language parameter for this specific hook. I will add the blog_id too.
Forum: Plugins
In reply to: [Multisite Language Switcher] woocommerce issuesIt should but I can run some tests in order to understand what the issue could be.
Forum: Plugins
In reply to: [NSFW] [Multisite Language Switcher] alt-text on images?The links to the tied contents get a title-attribute like coming from the description-field (or the language code as a fallback if there is nothing set) as you can see for example at msls.co.
There is a hook
msls_output_getfor developers if you need more control here: https://msls.co/developer-docs/hook-reference/Forum: Plugins
In reply to: [Multisite Language Switcher] Missing blavatar icon in “my sites” dropdownThanks for catching this error. I will correct this!
Forum: Plugins
In reply to: [Multisite Language Switcher] WP 6.3.1 compatibilityThanks for your message. Yes it is. I just pushed the next version to the plugin directory.
Forum: Plugins
In reply to: [MslsMenu] Enable and disable menu entriesHello,
the “Reference user” is probably the solution to your problem.
REFERENCE USER
This is an important but somewhat overseen field.
The easiest (but not the only) way to connect websites is by the user. There is no problem if you have just one user that accesses all the websites. But this option is helpful if you want to connect a subset or have more than 1 admin.
Just set who is the reference for the connections and you are done.
Read one here: https://msls.co/user-docs/settings-in-the-administration-menu/
The code can be placed anywhere in the function.php file. It will get an array and should return this array. The values can be modified as you like.
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/