- Status
- Resolved by author
- Related plugin/theme
- WPBakery
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:
- Open the file /content/plugins/js_composer/include/helpers/helpers.php.
- Look for line 1426.
- 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 )) {