Title: Dennis Ploetner's Replies - page 4 | WordPress.org

---

# Dennis Ploetner

  [  ](https://wordpress.org/support/users/realloc/)

 *   [Profile](https://wordpress.org/support/users/realloc/)
 *   [Topics Started](https://wordpress.org/support/users/realloc/topics/)
 *   [Replies Created](https://wordpress.org/support/users/realloc/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/realloc/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/realloc/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/realloc/engagements/)
 *   [Favorites](https://wordpress.org/support/users/realloc/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 46 through 60 (of 2,033 total)

[←](https://wordpress.org/support/users/realloc/replies/page/3/?output_format=md)
[1](https://wordpress.org/support/users/realloc/replies/?output_format=md) [2](https://wordpress.org/support/users/realloc/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/realloc/replies/page/3/?output_format=md)
4 [5](https://wordpress.org/support/users/realloc/replies/page/5/?output_format=md)…
[134](https://wordpress.org/support/users/realloc/replies/page/134/?output_format=md)
[135](https://wordpress.org/support/users/realloc/replies/page/135/?output_format=md)
[136](https://wordpress.org/support/users/realloc/replies/page/136/?output_format=md)
[→](https://wordpress.org/support/users/realloc/replies/page/5/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] i wanted to add x-default tag to every page of my website](https://wordpress.org/support/topic/i-wanted-to-add-x-default-tag-to-every-page-of-my-website/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/i-wanted-to-add-x-default-tag-to-every-page-of-my-website/#post-18143303)
 * For the question that started the thread: MSLS will add “alternate” links for
   the “hreflang” in the header. As an example, the output at [https://msls.co/](https://msls.co/):
 *     ```wp-block-code
       <link rel="alternate" hreflang="de" href="https://msls.co/de/" title="Deutsch" /><link rel="alternate" hreflang="en" href="https://msls.co/" title="English" />
       ```
   
 * You can customize the outcome by using filter-hooks:
 * **For a single result with no translation**
 *     ```wp-block-code
       add_filter( 'mlsl_output_get_alternate_links_default', function( string $default ) {    // your code here    return $default;} );
       ```
   
 * **For an array of contents including the current content**
 *     ```wp-block-code
       add_filter( 'mlsl_output_get_alternate_links_arr', function ( array $arr ) {    // your code here    return $arr;} );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Hreflang tag issues](https://wordpress.org/support/topic/hreflang-tag-issues/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/hreflang-tag-issues/#post-18137671)
 * Hey, thanks for the message. Can you elaborate a bit what you’d like to achieve?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] New Japanese Posts Overwriting Previous Posts](https://wordpress.org/support/topic/new-japanese-posts-overwriting-previous-posts/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/new-japanese-posts-overwriting-previous-posts/#post-18135169)
 * I would need more information. How is your setup, which version uses it? How 
   are the languages set?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Wrong links for Archive pages and Custom Slugs](https://wordpress.org/support/topic/wrong-links-for-archive-pages-and-custom-slugs-2/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/wrong-links-for-archive-pages-and-custom-slugs-2/#post-18135147)
 * Thanks a lot!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Hreflang Missing Return Links](https://wordpress.org/support/topic/hreflang-missing-return-links/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/hreflang-missing-return-links/#post-18129244)
 * I’m not sure that I get the problem correctly. The code generated by MSLS in 
   the HTML header is wrong or incomplete? Any suggestions how I can/should improve
   the output?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Languages invisble on main site](https://wordpress.org/support/topic/languages-invisble-on-main-site/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/languages-invisble-on-main-site/#post-18129228)
 * It should also show admins. The filter `msls_get_users` can be used to change
   the user-query: [https://msls.co/developer-docs/hook-reference/](https://msls.co/developer-docs/hook-reference/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Too much escaping](https://wordpress.org/support/topic/too-much-escaping/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/too-much-escaping/#post-18129214)
 * I believe that this issue should be solved with the last version. Thanks for 
   pointing it out!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Wrong links for Archive pages and Custom Slugs](https://wordpress.org/support/topic/wrong-links-for-archive-pages-and-custom-slugs-2/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/wrong-links-for-archive-pages-and-custom-slugs-2/#post-18129210)
 * Hey, let’s have proper issue tracking on GitHub: [https://github.com/lloc/Multisite-Language-Switcher](https://github.com/lloc/Multisite-Language-Switcher)
   
   I will clean there a bit up in the next days, but the plan is, to use the infrastructure
   there to manage the requests that will lead to code changes even better.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Multisite Language Switcher] Such a useful plugin, and top-rate support](https://wordpress.org/support/topic/such-a-useful-plugin-and-top-rate-support/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/such-a-useful-plugin-and-top-rate-support/#post-18088012)
 * Thank you! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Incorrect class for Welsh flag](https://wordpress.org/support/topic/incorrect-class-for-welsh-flag/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/incorrect-class-for-welsh-flag/#post-18086125)
 * I see. I will, right away, correct it and send a new version online. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Arab League Flag – how to provoke link with Arabic?](https://wordpress.org/support/topic/arab-league-flag-how-to-provoke-link-with-arabic/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/arab-league-flag-how-to-provoke-link-with-arabic/#post-18086116)
 * Happy, you like it! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Wrong links for Archive pages and Custom Slugs](https://wordpress.org/support/topic/wrong-links-for-archive-pages-and-custom-slugs-2/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wrong-links-for-archive-pages-and-custom-slugs-2/#post-18085930)
 * I will check this again, but there is also a workaround for cases where the switcher
   just fails. There is a hook named `msls_options_get_permalink`. Read on here:
   [https://msls.co/developer-docs/hook-reference/](https://msls.co/developer-docs/hook-reference/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Incorrect class for Welsh flag](https://wordpress.org/support/topic/incorrect-class-for-welsh-flag/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/incorrect-class-for-welsh-flag/#post-18085916)
 * Hey, thanks for your message. I just looked the language code up, and it seems
   that `cy` would be the correct code for **Welsh**: [https://translate.wordpress.org/locale/cy/](https://translate.wordpress.org/locale/cy/)
 * Is your language code somehow set to `gb_WLS`? The _flags.php_ file is autogenerated.
   It uses input from the core and applies the exceptions from one of my build scripts.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Arab League Flag – how to provoke link with Arabic?](https://wordpress.org/support/topic/arab-league-flag-how-to-provoke-link-with-arabic/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/arab-league-flag-how-to-provoke-link-with-arabic/#post-18085888)
 * Thanks for pointing this out. I will look into this and try to reproduce it. 
   In the meanwhile, you could use the labels instead of flags in the WordPress 
   admin, which might be more accurate.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Href Lang Tag issue](https://wordpress.org/support/topic/href-lang-tag-issue/)
 *  Plugin Author [Dennis Ploetner](https://wordpress.org/support/users/realloc/)
 * (@realloc)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/href-lang-tag-issue/#post-18071240)
 * The title might not be needed, but is an excepted attribute: [https://www.w3schools.com/tags/tag_link.asp](https://www.w3schools.com/tags/tag_link.asp)
 * You could use the ‘mlsl_output_get_alternate_links_arr’ to clean it, but I don’t
   think it is worth it. You may make a feature request, if you still believe, that
   an additional filter is needed: [https://github.com/lloc/Multisite-Language-Switcher/issues](https://github.com/lloc/Multisite-Language-Switcher/issues)

Viewing 15 replies - 46 through 60 (of 2,033 total)

[←](https://wordpress.org/support/users/realloc/replies/page/3/?output_format=md)
[1](https://wordpress.org/support/users/realloc/replies/?output_format=md) [2](https://wordpress.org/support/users/realloc/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/realloc/replies/page/3/?output_format=md)
4 [5](https://wordpress.org/support/users/realloc/replies/page/5/?output_format=md)…
[134](https://wordpress.org/support/users/realloc/replies/page/134/?output_format=md)
[135](https://wordpress.org/support/users/realloc/replies/page/135/?output_format=md)
[136](https://wordpress.org/support/users/realloc/replies/page/136/?output_format=md)
[→](https://wordpress.org/support/users/realloc/replies/page/5/?output_format=md)