Tell us what you are trying to do?
I'm using toolset to list a series events with livestream embeds. The website has been translated with WPML but many of these events will be English only. There are probably only a few that will be available in both English and French. The loop has be adjusted using a function snippet to surpress filters so the English meetings will be listed even if the user is viewing the site in French.
I would like to add a simple label to meetings that are only available in English so French users don't get confused when they see English titles on a French page.
Is there any documentation that you are following?
None
Is there a similar example that we can see?
Not that I'm aware of.
What is the link to your site?
hidden link
Hello,
There isn't such kind of built-in feature, it needs custom codes, for example, you can create a custom shortcode with a PHP function:
https://developer.wordpress.org/reference/functions/add_shortcode/
In above PHP function, check if current post is translated or not:
https://wpml.org/wpml-hook/wpml_element_has_translations/
And output different results.
Use above custom shortcode as condition of [wpv-conditional] shortcode to output your label:
https://toolset.com/course-lesson/using-toolset-conditional-block/#checking-for-shortcodes-values