Forum Replies Created
-
AuthorPosts
-
July 10, 2024 at 10:46 am in reply to: Translatepress shortcode not working in Advanced Layout Editor #1461763
Hi Ismael,
I understand what you’re saying. It’s just very unfortunate that something that works just fine in other editors (to hide/display whole elements in certain languages), doesn’t work in your theme’s Advanced Layout Builder. Translatepress can’t do anything about that, as I said, I’ve already been in contact with them. It’s specific to Enfold.
So thank you for your explanations. It’s clear to me now that I’ll have to rebuild this website with another editor.
Best regards!
July 9, 2024 at 3:42 pm in reply to: Translatepress shortcode not working in Advanced Layout Editor #1461703Hi Ismael, thank you for your reply!
Yes, I’ve tried both elements. In the Code Block element it does not work at all,
[/trp_language]
just appears as normal text. The only way it works in a Text element, is that it can hide/display the text in between the code within that same element and nothing else.But that is not the purpose of the shortcode. As you can see in the link I shared in my previous message, in the Gutenberg Editor (and Elementor as well, for that matter) you can hide/display any kind of block/element with this shortcode. We need it to hide videos and other elements from the Advanced Layout Editor – not just text.
Why doesn’t this shortcode work in the Advanced Layout Editor the same way it does in the Gutenberg Editor or Elementor, and the way Translatepress says it should?
(Also, I’ve created a staging environment and I’ve tried deactivating all the plugins. It changes nothing.)
-
AuthorPosts