Dennis Ploetner
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Language Switcher] Get ID associated post/pageThe classes are now namespaced but I’m not sure if that language code works (is it en_GB or en_US?):
$linked_post = ''; if ( get_locale() == 'de_DE') { $mslsOption = new \lloc\Msls\MslsOptions(); $linked_post = $mslsOption->en_GB; }- This reply was modified 6 years, 4 months ago by Dennis Ploetner.
Forum: Plugins
In reply to: [Multisite Language Switcher] XAMPP change portOk, excellent!
Forum: Plugins
In reply to: [Multisite Language Switcher] XAMPP change portI have no idea what the problem is here. The Multisite Language Switcher works only in a multisite env and would not change the main settings for the installations. Try to refresh the permalinks or move the folder of the plugin to another name… this should do the trick because it deactivates the plugin.
If not I guess this has to do with some .htaccess …
Forum: Plugins
In reply to: [Multisite Language Switcher] page open in a new tabYou could use the filter msls_output_get and add the
target="_blank"to the HTML.Forum: Plugins
In reply to: [MslsMenu] No settings for configuration are shownVersion 2.2 is compatible with MSLS 2.4.*
Forum: Plugins
In reply to: [Multisite Language Switcher] MSLS not work with woocommerce categoriesHello Stephane,
sorry, there is still an open issue with woocommerce categories: https://github.com/lloc/Multisite-Language-Switcher/issues/118
Cheers,
DennisForum: Plugins
In reply to: [Multisite Language Switcher] update to 2.4.4 in WP 5.4 : critical errorThe version in trunk was not aligned with the tagged version 2.4.4 … I pushed 2.4.5 into the directory to resolve the issue when the primary blog is not part of the blog collection.
Forum: Plugins
In reply to: [MslsMenu] No settings for configuration are shownCould you provide a screenshot? You can also mail it to re@lloc.de.
Forum: Plugins
In reply to: [Multisite Language Switcher] “Alternate” tags missing on homepageThe upcoming version 2.4.4 offers a better solution for the hreflang links that should work good for you. You could test the dev version on Github: https://github.com/lloc/Multisite-Language-Switcher
- This reply was modified 6 years, 5 months ago by Dennis Ploetner.
Forum: Plugins
In reply to: [Multisite Language Switcher] Link between different Post TypesNo there is still no linking between different post types. But it is interesting and could be discussed here: https://github.com/lloc/Multisite-Language-Switcher/issues
Forum: Plugins
In reply to: [Multisite Language Switcher] Toolset Types compatibilityI don’t know how this plugin creates custom taxonomies and custom post types. If it creates them in with the WordPress API then you’re good with the Multisite Language Switcher.
Forum: Plugins
In reply to: [Multisite Language Switcher] “Alternate” tags missing on homepageThe plugin doesn’t change the <html> or the <meta> in question. This could come from the theme (just a long shot).
I will look for a solution for tags. Maybe I can create something useful in the blog-collection.
Forum: Plugins
In reply to: [Multisite Language Switcher] “Alternate” tags missing on homepageVersion 2.4.3 is now in the plugin directory. You could probably use also a more generalized version for the filter:
function my_msls_head_hreflang( $language ) { return str_replace( '_', '-', $language ); } add_filter( ‘msls_head_hreflang’, ‘my_msls_head_hreflang’ );Cheers!
Forum: Plugins
In reply to: [Multisite Language Switcher] Not compatible with wordpress 5.4?Version 2.4.3 should fix also that issue.
Forum: Plugins
In reply to: [Multisite Language Switcher] “Alternate” tags missing on homepageI can confirm that I tracked down the bug and I’ll deploy very soon the next update.