Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • 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!

    Hi 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.)

Viewing 2 posts - 1 through 2 (of 2 total)