Skip Navigation

Resolved

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 )) {
    

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