Dennis Ploetner
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Language Switcher] No flags for user in twenty seventeenDo you use the widget? Or where do inserted the code for the flags? Consider MslsMenu if you’d like to have these in your navigation menu: https://it.ww.wp.xz.cn/plugins/mslsmenu/
Forum: Plugins
In reply to: [Multisite Language Switcher] language code appearsHi,
I don’t think that it comes from the Multisite Language Switcher. Deactivate the plugin and check, please.
Cheers,
DennisForum: Plugins
In reply to: [Multisite Language Switcher] How do I link one page to the translated page?Yes, there must be at least one user who can access the two sites.
Forum: Plugins
In reply to: [Multisite Language Switcher] Really Simple SSLNice! Thanks.
Forum: Plugins
In reply to: [Multisite Language Switcher] Really Simple SSLThere should be also an else with the first two parameters of str_replace switched.
Forum: Plugins
In reply to: [Multisite Language Switcher] Really Simple SSLNo code like this should stay in your functions.php. But be careful mine is just an example…
Forum: Plugins
In reply to: [Multisite Language Switcher] Really Simple SSLThat seems to be a bug. Would you mind to open an issue here?
I think that you could in the meanwhile hook into “msls_options_get_permalink” like in the following example:
<?php /** * @param string $postlink * @param string $language * @return string */ function my_msls_options_get_permalink( $url, $language ) { if ( 'de_DE' != $language ) { $url = str_replace( 'https://', 'http://', $url ); } return $url; } add_filter( 'msls_options_get_permalink', 'my_msls_options_get_permalink', 10, 2 );- This reply was modified 9 years, 3 months ago by Dennis Ploetner.
Forum: Plugins
In reply to: [Multisite Language Switcher] Search on categories IDHi,
sorry for the late response. Did you check out the Multisite Language Switcher Website that I mentioned in the readme.txt -> “Installation”?
You might find the last paragraph in the FAQs very useful.
Cheers,
DennisForum: Plugins
In reply to: [MslsMenu] Flag icons below to main menuYou should select the menu where you want to add the output of the switcher. You can find this option in the settings of the Multisite Language Switcher.
Forum: Plugins
In reply to: [MslsMenu] Flag icons below to main menuOK, check out MslsMenu.
Cheers,
Dennis.Forum: Plugins
In reply to: [MslsMenu] Flag icons below to main menuIt seems that you solved this problem, did you?
Forum: Plugins
In reply to: [Multisite Language Switcher] Change url of siteIn that way you just removed the part that is important for a multisite. And yes, the Multisite Language Switcher would not work anymore…
Please read the part “Relocate method” on the page that I indicated before.
Forum: Plugins
In reply to: [Multisite Language Switcher] Change url of siteThe 3rd and 4th input field are there for this. Do you see no fields named “WordPress Address (URL)” and “Site Address (URL)” there?
- This reply was modified 9 years, 3 months ago by Dennis Ploetner.
Forum: Plugins
In reply to: [Multisite Language Switcher] Search on categories IDMSLS stores even for categories the related ID for their counterparts. I’m not sure what you want to archive but if you need just that ID there should be no problem.
Forum: Plugins
In reply to: [Multisite Language Switcher] Posts to Pages to Custom postsThere is – at least in the current version – no possibility to archive this.