Dennis Ploetner
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Language Switcher] Overwriting language linksYou will find values with names that start with
mslsin the wp_options-tables.Forum: Plugins
In reply to: [Multisite Language Switcher] Adding filter to customize ahrelang tagsSo, congrats on your first pull request. π
I’ll answer you over there. There are still some odds to face.
Forum: Plugins
In reply to: [Multisite Language Switcher] Metabox overflow in block editorOr in case you want to make a PR: https://github.com/lloc/Multisite-Language-Switcher/
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