Can you tell me how is this custom field created, please? Are you using ACF to create it? I'm asking this because, if you're just trying to get the translated value of a custom field, ACF is gonna serve the translated version automatically.
I just need a few more details about how this custom field is created and what's the query that you want to use.
Usually, in order to filter the results of the query (like getting the posts, for example, using WP_Query) and get the translated version, you need to use
Hi, thanks for the swift response. I am using the get_/update_/delete_post_meta(...) methods in my custom plugin to create a bunch of fields. Then in one of the fields I use a shortcode that generates a pie chart. My aim is to just set this shortcode once in the default language post version in this single field and have it displayed across all other languages also. I thought there ought to be a way to put something into the post template - Best C
sorry, i did not have time to look at this until now and could not figure it out. Is there a hook or combination that does something like this: get_id_of_current_post_default-language-equivalent
in order to get the ID of a post in another language. I think that this is what you'd like to do through get_id_of_current_post_default-language-equivalent.