Dennis Ploetner
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Language Switcher] Link associated pageThanks for the update. Very good!
I guess there is some custom integration with ACF. There should be nothing in the Multisite Language Switcher that can automatically do that. The plugin provides some hooks: I would bet on this here -> https://msls.co/developer-docs/hook-reference.html#msls-main-save
Forum: Plugins
In reply to: [Multisite Language Switcher] Link associated pagePlease, don’t save any code in the plugin directly.
It depends on what you want to archive: Often is the file functions.php in your theme a good place.
What exactly do you want to do? I ask because you can link the contents in the wp-admin together (using the plugin’s functionality).
Read on here: http://msls.co/
- This reply was modified 4 years, 5 months ago by Dennis Ploetner.
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, 5 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, 11 months ago by Dennis Ploetner.