b_machuel
Forum Replies Created
-
Forum: Plugins
In reply to: [Integration: Yoast SEO & qTranslate-X] doesn’t workThe integration plugin only works until YOAST SEO 2.3.5.
You can use the roll-back plugin to revert to 2.3.5 if you have installed a more recent version.
Forum: Plugins
In reply to: [qTranslate X] Widget logicI have not found anything yet on that issue and I am too busy until the end of this month to spend any time on it. Should I eventually find a solution, I will be happy to share it with you.
A very simple solution is Widget Logic. This plugin allows to set conditions to the display of a widget. You just need to put a condition on the qtrans_getLanguage() function in the Widget-Logic field and the widget will display only for the language selected. But that means you need to create several instances of the same widget (one per language).
Forum: Plugins
In reply to: [qTranslate X] Widget logicI confirm that it does work. I am currently using it on a live website under WP 4.8. The right syntax actually is: qtrans_getLanguage()==”en”
Don’t forget to check the “compatibility functions” in the “integration” tab of your qTranslate-x settings, or the qtrans_getLanguage() function might not be recognised.
I do not think that widget-logic makes any difference whatsoever between qTranslate-x functions and other functions.
That said, there are problems with the translation of the title and content of widgets since the WP 4.8 upgrade, but it is another story.
Forum: Plugins
In reply to: [qTranslate X] Problem with translationIt might be a database conversion issue (see import/export tab of the qTranslate-x settings). Have you migrated from an older version of qTranslate or installed the qTranslate-x plugin directly?
Forum: Plugins
In reply to: [qTranslate X] Problem with translationDifficult to say unless we can see a bit more of the backend. The two languages are apparently mixed. Are you setting the linguistic versions manually with the language selectors ([:en] etc.)?
Forum: Plugins
In reply to: [qTranslate X] Widget logicJust add a condition based on the value of function qtrans_getLanguage()in the widget-logic field. Something like:
qtrans_getLanguage() == ‘en’
Qtranslate-x is only compatible with Yoast SEO 2.3.5.
You can make them work together with one additional plugin: https://ww.wp.xz.cn/plugins/wp-seo-qtranslate-x/
I recommend not to upgrade to Yoast SEO 3.0 as the above solution will not work. I you have already upgraded, then use the WP rollback plugin and reinstall version 2.3.5 via this plugin.
Good luck
Forum: Plugins
In reply to: [Youtube Channel Gallery] Formatting the grid is impossible after updateThe widget does not show any thumbnail anymore…
Forum: Plugins
In reply to: [Youtube Channel Gallery] Formatting the grid is impossible after updateForum: Plugins
In reply to: [WP Responsive Menu] Menu hidden behind top bar once clicked & closedHi Nirmal,
There was a typo in the link but the url is fine:
http://www.fim-musicians.orgAs a temporary solution, I have set the position of the responsive menu to fixed. It now overlaps the WordPress admin bar. The foobar is displayed right below the menu.
The current appearance is what I need, at least for visitors. I can manage not having the admin bar visible with small screen sizes as I do 99% of the admin work from a desktop.
Regards,
Benoît
Forum: Plugins
In reply to: [Compliance by Hu-manity.co] Translation of message with QtranslateSolution hereafter:
1. First create a new function in function.php and add a filter as follows:
function qtranslate_filter( $text ) { return __( $text ); } add_filter( 'cn_cookie_notice_args', 'qtranslate_filter', 10, 1);2. Then insert the desired linguistic versions with the appropriate Qtranslate short tags in the cookie-notice, ok and read-more fields in the cookie-notice admin panel.
Forum: Plugins
In reply to: [Compliance by Hu-manity.co] Translation of message with QtranslateOk I will try this. Thanks.
Benoît
———Forum: Plugins
In reply to: [WebberZone Top 10 — Popular Posts] Top 10 localizationsClean solution:
1. Add following function to function.php + filter:
function qtranslate_filter( $text ) { return __( $text ); } add_filter( 'tptn_heading_title', 'qtranslate_filter', 10, 1);2. Use Qtranslate multilingual tags in the title field of Top-10 output settings.
This way, Top-10 core code does not need to be altered.
Forum: Plugins
In reply to: [WebberZone Top 10 — Popular Posts] Top 10 localizationsWill try that. This is clearly the right way to address the issue.
Forum: Plugins
In reply to: [WebberZone Top 10 — Popular Posts] Top 10 localizationsFor the time being, the solution to my problem is to tweak the top-10.php file (comment-out line 391 and add replacement code at line 392):
//$output .= '<div id="tptn_related" class="tptn_posts ' . $widget_class . $shortcode_class . '">' . apply_filters( 'tptn_heading_title', $title ); $output .= '<div id="tptn_related" class="tptn_posts ' . $widget_class . $shortcode_class . '">' . __('<h3>Popular posts</h3>', TPTN_LOCAL_NAME);