This support ticket is created 7 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I want to display the title of a post in my main-language "de" on all other language-sites. So the title in this specific view shouldn't be translated. (In another view, I need the translated title, so I can't name the post the same in all languages).
Is there a shortcode for this?
Something like [wpv-post-title lang="de"]?
In order to achieve something like this you will need to create some custom shortcode to do this.
That is because the translation for the post is actually a separate post, so you will need some way to get the title of another post. Granted you can pass the post ID of the original post into the shortcode and it will display it that way.
But for an automatic method you will need to write some custom code.
Thanks, Shane,
not the answer I was hoping for. But thanks anyway 😉
Is there a way to use the Toolset-Shortcodes in the Javascript-area of views? So that I could use something like #[wpv-post-title] in jQuery?
I guess not. And I know, I'm in the wrong forum here, but perhaps you are familiar whit WPML: Do you know which field is describing the relation to the main-post? Is there something like the "_wpcf_belongs_{parent-slug}_id"-field?