Skip Navigation

Resolved by author

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

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>