Skip Navigation

Waiting for author

Overview of the issue

When you use a Raw HTML block from WPBakery Page Builder, you are able to translate its content using WPML’s Advanced Translation Editor. However, the translation isn’t displayed on the front-end.

Workaround

As a temporary solution, you can use WPML’s Classic Translation Editor instead.

Alternatively, please back up your full website before applying the following workaround:

  1. Open the file /content/plugins/js_composer/include/helpers/helpers.php.
  2. Look for line 1426.
  3. Replace:
    	if ( ! vc_user_access()->part( 'unfiltered_html' )->checkStateAny( true, null )->get() ) {
    

    With:

    	if ( ! vc_user_access()->part( 'unfiltered_html' )->checkStateAny( true, null )->get() && !(defined('REST_REQUEST') && REST_REQUEST )) {
    

3 Responses to “WPBakery Page Builder - Raw HTML is not being displayed on the translated front-end page”

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>