hm_u
Forum Replies Created
-
Forum: Plugins
In reply to: [Basic Google Maps Placemarks] Tiles broken for High DPI screenThanks for your feedback, I’ll investigate!
Forum: Plugins
In reply to: [Basic Google Maps Placemarks] Tiles broken for High DPI screenDamn it, you’re right… Your test examples work. So it means it comes from my theme. Sorry for the troubles! I’ve looked for other calls to the Maps API but nothing showed up. Any ideas what kind of CSS could cause that? Also, I know you can’t spend time debugging people’s website, so no worries.
Thanks!
ManuForum: Plugins
In reply to: [Basic Google Maps Placemarks] Tiles broken for High DPI screenHi,
I’ve just found out you can simulate it on any screen. I tried on a 1080p screen and then went into Chrome developer mode, “Toggle device toolbar”, set the resolution to 5120 x 2880 (5K iMac) and reload the page (see here). But then I tried setting to 1920×1080 and it’s also broken (see here, note that the simulated 1080p is rescaled to fit into the browser windows). My feeling is the problem comes from the rescaling and not the resolution itself (because on a high DPI screen some rescaling happens so that text and stuff are easy to read).
Let me know if that helps.
Thanks!
ManuForum: Plugins
In reply to: [Youtube Channel Gallery] Is there Pagination?Hi,
Sorry it works ! The cache must have updated or something like that. Thanks!
Best,
ManuForum: Plugins
In reply to: [WP-SpamShield] jscripts.php slowing page loadingThanks for the detailed answer! I’ve been doing a lot of optimization on my blog recently because my shared hosting seems weak. I’ll look into your suggestions! Currently I have php 5.5.13 activated, but I can change if you think another version might be better.
I guess I should mark the answer as solved if you’re sure the problem is on my side. I’ll let you know if I learn something.
Thanks!
L-EForum: Plugins
In reply to: [Youtube Channel Gallery] Is there Pagination?Yes I second that! That would be great…
Forum: Plugins
In reply to: [mqTranslate] Hide Content which is not available for the selected language.Hi
I had some similar problems (I don’t recall exactly, but one problem was coming of the fact that I was using a static homepage, which is probably what you’re doing) but I made this code and added it to my functions.php// Correct the loop on main page so that qtranslate excludes posts correctly function my_qtrans_excludeUntranslatedPosts($where) { global $q_config, $wpdb; if($q_config['hide_untranslated'] && !is_singular()) { $where .= " AND $wpdb->posts.post_content LIKE '%<!--:".qtrans_getLanguage()."-->%'"; } elseif($q_config['hide_untranslated'] && is_singular() && !strpos($where, "wp_posts.post_type = 'post'") && !strpos($where, "wp_posts.post_type = 'page'")) { $where .= " AND $wpdb->posts.post_content LIKE '%<!--:".qtrans_getLanguage()."-->%'"; } elseif($q_config['hide_untranslated'] && is_front_page()) { $where .= " AND $wpdb->posts.post_content LIKE '%<!--:".qtrans_getLanguage()."-->%'"; } return $where; } if(!defined('WP_ADMIN')) { remove_filter('posts_where_request', 'qtrans_excludeUntranslatedPosts'); add_filter('posts_where_request', 'my_qtrans_excludeUntranslatedPosts'); }
The part with WP_ADMIN is to ensure that all articles will be loaded when you’re on the dashboard. Play with this code and see if it helps!
Forum: Plugins
In reply to: [WP-SpamShield] Problems with false positiveThanks for your time to fix the plugin and answer questions! Marked this thread as solved. Have a good one too!
Forum: Plugins
In reply to: [WP-SpamShield] Problems with false positiveAwesome! Should the activation of the “M2” option have any effect on that too? When should we use that option?
Forum: Plugins
In reply to: [WP Instagram Widget] Small bug in alt and title of imagesAlso, could it possible to have the link pointing to the instagram profile defined with rel=”me”?
Forum: Plugins
In reply to: [mqTranslate] 404 on non-default languagehere are the info:
Wordpress 3.9
mqTranslate 2.9.3
qtranslate 2.5.39Actually, I’ve just found the culprit. I was using the following code in my functions.php file to correct the faulty behavior of qTranslate when clicking the logo. Without that correction, a click would redirect people to the default language. It seems to be unnecessary with mqTranslate (and actually buggy), but the website works when removing it:
// Make the header link translated by QTranslate function twentyeleven_home_url( $url ) { return qtrans_convertURL($url); } if ( function_exists( 'qtrans_convertURL' ) ) { add_filter( 'home_url', 'twentyeleven_home_url' ); }
So i’m marking that as resolved for me even if there might still be a bug somewhere.
Thanks for your plugin!Forum: Plugins
In reply to: [Plugin: qTranslate] Fixing "Hide untranslated content" with secondary loopsYeah!! Thanks for your solution, it worked for me too.