Thorsten Frommen
Forum Replies Created
-
Forum: Plugins
In reply to: [Bring Back the Get Shortlink Button] deleting the shortlink pluginThere is no plugin data. All this plugin does is hook up a filter callback for the shortlink. π
Forum: Plugins
In reply to: [Dobby] Not working for custom rolesHi there.
Dobby doesn’t care about users, user roles, capabilities etc. so yes, it could be IE. That said, I wouldn’t know why, though, as I am only using some simple jQuery DOM methods.
However, if your IE does not allow JavaScript at all (which would mean that also other parts of your WordPress backend should be broken), this will certainly result in Dobby not working at all.
Forum: Plugins
In reply to: [MultilingualPress] Custom Fields CopyingI don’t understand. What is it that you want to set up?
The above filter takes an array of meta keys as keys and meta values as values, so you have to define the keys of the metadata you want to copy, then loop over it and get the values of the original post (the ID is stored in
$save_context['real_post_id']).That’s all, basically.
Forum: Plugins
In reply to: [MultilingualPress] Bug in mlp_get_interlinked_permalinksHi there,
assuming you have your front page set to display your latest posts, both
mlp_get_interlinked_permalinks()andmlp_get_linked_elements()should return an empty array, and they do for me.This is because there are no elements, and the front page itself is not based off some element, too. Linked elements can be posts (or pages or attachments), or term archives (no post type archives, because, again, there is no element).
If you want to create some custom language switcher (why?), you should use either
mlp_show_linked_elements()and configure it according to your liking, or, on a low level, query the translations directly off the Language API (which you can get via themlp_language_apifilter).Hope this helps.
Cheers,
ThorstenForum: Plugins
In reply to: [MultilingualPress] Custom Fields CopyingHi there,
yes, it is possible to copy (just copy, not actually individually translate) custom fields or metadata. You just have to provide a map of keyβvalue pairs and add it to the
mlp_pre_save_post_metafilter.
Add an entry for every meta value that you want the translation posts to have, with the key being the according meta key. You can get the original post ID via the second argument that gets passed to the filter (i.e.,$save_context['real_post_id']), and thus fetch the original meta values.I hope that helps.
Cheers,
ThorstenForum: Plugins
In reply to: [MultilingualPress] how to Translate Categories ?Hi there,
currently, you cannot create new remote terms (i.e., when you edit a term in site 1, you cannot create a term on site 2 as a new translation). You can only select existing terms, and create a relationship between these.
In the next (major) version of MultilingualPress, you will be able to directly create new terms for all related sites, pretty much what you can do when editing posts.
In your case, now that you have Yoga on one site, go to the other, create the according translation term, and select the Yoga one you have already in the first site. Repeat for all other sites that you might have.
Cheers,
ThorstenForum: Plugins
In reply to: [MultilingualPress] Custom categories of custom post typesHey John,
could you share a sreenshot or two?
I think we might use different terminology here, so something concrete and visual would be good.That being said, not all taxonomies are configured to be translatable, but only the ones registered for at least one post type that is activated for translation.
Thanks in advance,
ThorstenWe have fixed this and will release a new version later today.
Thanks again!
ThorstenThanks for reporting this, Florian.
I can reproduce this and will be working on this now.
Cheers,
ThorstenForum: Plugins
In reply to: [MultilingualPress] Cannot set language in Edit Site viewHi there,
we just fixed this, and a release will follow soonish.
Thanks for reporting this!
Cheers,
ThorstenForum: Plugins
In reply to: [MultilingualPress] MulitlingualPress and Events CalendarHi again,
thanks for the feedback, really appreciated.
Regarding the user biography, this is unfortunately not possible, yet. There actually is an issue for this, since quite a long time, but it never got a high enough priority so far.
I will mark this as resolved now.
Cheers,
ThorstenForum: Plugins
In reply to: [MultilingualPress] Roles on translation siteHi there,
MultilingualPress does not have any roles. π Are you sure this is the right forum? Or are you maybe also using some translation role plugin or so?
MultilingualPress gives access to the Translation meta box for all sites that the current user has the required capabilities for, irrelevant of any user roles.
Cheers,
ThorstenForum: Plugins
In reply to: [MultilingualPress] Hreflang defaults to regional language codeHm, good that you found a workaround. But still, this is strange.
Could you export the languages table,wp_mlp_languages(there shouldn’t be any sensible data in there) and send the DB dump (of that table) to [email protected], or upload it somewhere and provide a link here? Also, could you paste what’s inside the site languages option (see code)?SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'inpsyde_multilingual';Please adapt yout table prefix,
wp_, if necessary.Thanks in advance!
Cheers,
ThorstenForum: Plugins
In reply to: [MultilingualPress] Hreflang defaults to regional language codeHi there,
seems like you did a good job in setting up your custom language variants.
For Portuguese, I can only assume that you mistakenly chose the wong language, and not Portuguese (Int)…?
Can you double-check?
You can also have a look at the value in the<select>element in your browser’s developer tools or so.Cheers,
ThorstenPS: One unrelated thing: why did you set all the languages to be RTL (right-to-left), when they’re clearly not? Did you maybe forget to uncheck that from the languages you customized?
Forum: Plugins
In reply to: [MultilingualPress] Where is the language switching widget?Hey,
I’m not sure I am following.
When I set up the widget with no text, but flags, I get what you described.
-> https://imgur.com/a/kzT2r
-> https://imgur.com/a/yKOZAIf this is different for you, then I guess your menu CSS is different, for example, block list items…?
Anyway, I assume this is a CSS-related issue, and not specific to MultilingualPress.
Is the site live so I can see it?
Cheers,
ThorstenPS: next time, please start a new topic, and link to any related ones. Thanks.