WPML

問題の概要

BeThemeのBeBuilderライブエディタを使用する場合、WPMLの高度な翻訳エディタで翻訳したコンテンツは正常に翻訳されますが、ページのデザインは翻訳にコピーされません。

回避策

この問題は修正されました。 最新バージョンにアップデートするとお使いのサイトで問題が解決するため、この回避策はまだアップデートできない場合にのみ必要です。

作業を進める前に、必ずサイトの完全なバックアップを作成してください。

  1. …/wp-content/themes/betheme/functions/builder/class-mfn-builder-front.php ファイルを開きます。
  2. 146行目を探し、以下の部分を:
    $dir = wp_upload_dir()['basedir'] . $path;
    
    if( get_post_meta($this->post_id, 'mfn-page-local-style', true) && file_exists($dir) ){

    次のように置き換えます:

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

すべての既知の問題

まだこの問題が発生しますか?

アップデートしても問題が解決しない場合は、サポートのご質問をお寄せください。一緒に調査いたします。