Dennis Ploetner
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Language Switcher] Link associated pageHello,
MslsOptions has a factory that tries to figure out in which content type it is right now. This here should do what you want to archive:
$mslsOption = \lloc\Msls\MslsOptions::create(); $linked_posts = $mslsOption->get_arr();Cheers!
- This reply was modified 4 years, 3 months ago by Dennis Ploetner.
Forum: Plugins
In reply to: [Multisite Language Switcher] Flags EUHello,
1. you can use your own set of flags: https://msls.co/user-docs/plugin-configuration.html#advanced-settings
2. you can order the output by description: https://msls.co/user-docs/plugin-configuration.html#main-settings
Additionally, there are options for developers to use hooks.
Cheers!
This is probably because you use different users for the websites … there is the option “Reference User” -> https://msls.co/user-docs/plugin-configuration.html#advanced-settings
Forum: Plugins
In reply to: [Multisite Language Switcher] Switcher for private pagesI guess this is the reason: https://github.com/lloc/Multisite-Language-Switcher/blob/master/includes/MslsPostType.php#L23
Not sure if a hook could solve this. Would you like to provide a PR?
The answer depends a bit on what you’d like to archive. The data are stored in the metatables. Could you describe your use case a bit? Maybe I can point you in the right direction.
Forum: Plugins
In reply to: [Multisite Language Switcher] Get permalink for languageYes, there is a built-in function: get_msls_permalink accepts a locale as input and gives the URL back.
Forum: Plugins
In reply to: [Multisite Language Switcher] Woocommerce translation all thingThe plugin connects translated content. You would still have to translate everything by yourself.
Read on here: http://msls.co
Great! 😉
Good to read that you don’t have any problems.
You can set the mode for “display” to “Description only” without. Read on here: https://msls.co/user-docs/plugin-configuration.html#main-settings
Hello,
yes, these 2 plugins use basically the same approach. I don’t know if there is any automation for migration available.
Cheers,
DennisForum: Plugins
In reply to: [Multisite Language Switcher] flag and description in one lineI think that you should check how your menu items are formed. If they are
<li>elements then you can probably wrap them into the same HTML structure using the fields before item/after item.Forum: Plugins
In reply to: [Multisite Language Switcher] flag and description in one lineIt’s actually a good question. Did you already try the MslsMenu addon?
Cheers!
- This reply was modified 4 years, 8 months ago by Dennis Ploetner.
Forum: Plugins
In reply to: [MslsSelect] Show both flag and description in the HTML listI think that the HTML-Select is quite limited. One could probably integrate jQuery Select2 or similar to get something more sophisticated.
Forum: Plugins
In reply to: [Multisite Language Switcher] Product attribute translationI’m afraid that this depends not only on the MSLS plugin. This plugin ties the contents via meta-tables. Standard imports/exports should work. I have only limited knowledge of WooCommerce though.
Forum: Plugins
In reply to: [Multisite Language Switcher] Import translations with WP All ImportThat is something different. You could export and import it again. But tie those contents together is something on top that is not easily feasible in an automatic way (without coding).