Dennis Ploetner
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Language Switcher] Metabox overflow in block editorHey,
thanks for pointing it out. I will try to solve it soon. 😉
Cheers!
Forum: Plugins
In reply to: [Multisite Language Switcher] Adding filter to customize ahrelang tagsI would love to see this small PR here. Any chance that you make your pull request here?
Forum: Plugins
In reply to: [Multisite Language Switcher] Overwriting language linksYou can probably just filter options that start with
msls: https://github.com/lloc/Multisite-Language-Switcher/blob/master/includes/MslsOptions.php#L134Forum: Plugins
In reply to: [Multisite Language Switcher] Removing from headerVery good! Thanks!
Yes, you’re right. :facepalm:
I guess, if there are any values then this SQL query should return something:
SELECT option_value FROM wp_postmeta WHERE option_name = 'msls*'Checking the code again I would say you should try to look up
msls9379(without the underscore).Yes this is true for every meta table:
https://github.com/lloc/Multisite-Language-Switcher/blob/master/includes/MslsOptions.php#L134
The information is stored in the meta tables. For posts, you will find entries in wp_postmeta with naming like
msls_+ id. Those items are arrays withlanguage=>post_idrelations.Forum: Plugins
In reply to: [Multisite Language Switcher] archive slug incorrectVery good. Thanks for pointing it out!
Forum: Plugins
In reply to: [Multisite Language Switcher] hreflang on pages with paginationI believe that the plugin should just guess that there is a connection because the post type exists. It does not query how many posts are on the connected website. I can do some further checks but I believe that could slow down the plugin in a substantial manner.
You have probably to check the option “reference user”. Read on here, please: https://msls.co/user-docs/plugin-configuration.html#reference-user
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, 2 months ago by Dennis Ploetner.