WPML
Status
Resolved by author
Related plugin/theme
BeTheme
Topic tags
Compatibility

Overview of the issue

When using BeTheme’s BeBuilder live editor, content translated using WPML’s Advanced Translation Editor translates successfully, but the design of the page is not copied to the translation.

Workaround

Please, be sure of making a full backup of your site before proceeding.


  1. Open …/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php file.

  2. Look for line 146 and replace:
    $dir = wp_upload_dir()['basedir'] . $path;
    
    if( get_post_meta($this->post_id, 'mfn-page-local-style', true) && file_exists($dir) ){

    With:

    $css_file_path = '/betheme/css/post-'. $this->post_id .'.css';
    $dir = wp_upload_dir()['basedir'] . $css_file_path;
    
    if( get_post_meta($this->post_id, 'mfn-page-local-style', true) && file_exists($dir) ){

All known issues →