Dennis Ploetner
Forum Replies Created
-
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).
Forum: Plugins
In reply to: [Multisite Language Switcher] Import translations with WP All ImportMSLS uses WordPress’ standard metatables for its data. So I believe that is good for backups and export/import related things. Or do you need something different?
Forum: Plugins
In reply to: [Multisite Language Switcher] Documentation?You will find a link in the last paragraph here: https://wordpress.org/plugins/multisite-language-switcher/#installation which points to http://msls.co/
Let me know if that fits your needs.
Forum: Plugins
In reply to: [Multisite Language Switcher] Multisite Language settings gets OverwrittenI’d say that you can start from here: http://msls.co/user-docs/plugin-configuration.html#choose-the-blog-language
Forum: Plugins
In reply to: [Multisite Language Switcher] Woocommerce switcherThis thread might be interesting for you: https://wordpress.org/support/topic/product-attribute-translation/
Forum: Plugins
In reply to: [Multisite Language Switcher] Multisite Language settings gets OverwrittenAre you sure that those blogs have different languages codes? It sounds like a problem in your setup.
Yiu need probably additional logic inside the Mslsoutput class … PRs are welcome.
Forum: Plugins
In reply to: [Multisite Language Switcher] Plugin does not link to the correct pageBitte die Permalinks auffrischen und noch einmal überprüfen!
Forum: Plugins
In reply to: [Multisite Language Switcher] Product attribute translationThanks for pointing it out. I will have a look (after vacation). PRs at GitHub are welcome…
Forum: Plugins
In reply to: [Multisite Language Switcher] Product attribute translationI remember an update because of an issue with WooCommerce product categories but I don’t know if it was fully resolved.
Forum: Plugins
In reply to: [Multisite Language Switcher] Plugin does not link to the correct pageIch habe den gelieferten Code bereinigt, nichts weiteres! Bitte für einen Ansatz entscheiden: Code oder Konfiguration im Dashboard. Wenn Dashboard, bitte jede Website konfigurieren. 😉
Forum: Plugins
In reply to: [Multisite Language Switcher] Plugin does not link to the correct pageDer PHP-Code sollte in der functions.php des (Child)Themes untergebracht werden. Man kann das in etwa so machen:
function my_msls_options_get_permalink( $url, $language ) { switch ( $language ) { case 'de_DE': $url = str_replace( '/bildaufhaenger/', '/picture-hangers/', $url ); $url = str_replace( '/bildaufhaenger/', '/accroches-tableaux/', $url ); case 'fr_FR': $url = str_replace( '/accroches-tableaux/', '/bildaufhaenger/', $url ); $url = str_replace( '/accroches-tableaux/', '/picture-hangers/', $url ); case 'en_EN': $url = str_replace( '/picture-hangers/', '/bildaufhaenger/', $url ); $url = str_replace( '/picture-hangers/', '/accroches-tableaux/', $url ); } return $url; } add_filter( 'msls_options_get_permalink', 'my_msls_options_get_permalink', 10, 2 );Forum: Plugins
In reply to: [Multisite Language Switcher] Plugin does not link to the correct pageYes, this is an issue with localized slugs for custom post types. There is a workaround for this problem:
http://msls.co/developer-docs/hook-reference.html#msls-options-get-permalink