funkjedi / acf-qtranslate

Adds qTranslate compatible fields for Text, Text Area, Wysiwyg Editor and Image.
http://wordpress.org/plugins/acf-qtranslate/
57 stars 32 forks source link

Multiple flags in Admin #90

Open npgdevelopment opened 7 years ago

npgdevelopment commented 7 years ago

Hello, We are using next plugins WordPress 4.7.2 Advanced Custom Fields PRO - Version 5.5.5 qTranslate-X - Version 3.4.6.8 Yoast SEO - Version 4.2.1 Integration: Yoast SEO & qTranslate-X - Version 1.1.1 After we have updated plugin Advanced Custom Fields: qTranslate to Version 1.7.22 (before it was version 1.7.18 and it worked fine) we got next issue: it shows languages switchers twice above post title in admin. Please see screenshot image

Please help to fix this issue. Thank you in advance!

hellzapop commented 7 years ago

Same issue here, using: qTranslate-X 3.4.6.8 ACF 5.5.7 Advanced Custom Fields: qTranslate 1.7.22

acf-qtranslate-issue

EDIT TEMPORARY FIX:

I added this lines to wp-content/plugins/acf-qtranslate/assets/common.css:

.qtranxs-lang-switch-wrap:nth-of-type(2) { display: none !important; }

lewebsimple commented 7 years ago

Same problem here, only affect Edit form (not the Add new form)

lewebsimple commented 7 years ago

This can be fixed by removing post.php from the $pages array in src/plugin.php at line 144, it should look like this:

$pages = array(
  'admin.php' => 'page=',
);
nhantam commented 7 years ago

Thank you @lewebsimple very much. I try to solution for duplicate multilanguage