Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter hm_u

    (@hm_u)

    Thanks for your feedback, I’ll investigate!

    Thread Starter hm_u

    (@hm_u)

    Damn 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!
    Manu

    Thread Starter hm_u

    (@hm_u)

    Hi,
    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!
    Manu

    Hi,
    Sorry it works ! The cache must have updated or something like that. Thanks!
    Best,
    Manu

    Thread Starter hm_u

    (@hm_u)

    Thanks 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-E

    Yes I second that! That would be great…

    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!

    Thread Starter hm_u

    (@hm_u)

    Thanks for your time to fix the plugin and answer questions! Marked this thread as solved. Have a good one too!

    Thread Starter hm_u

    (@hm_u)

    Awesome! Should the activation of the “M2” option have any effect on that too? When should we use that option?

    Thread Starter hm_u

    (@hm_u)

    Also, could it possible to have the link pointing to the instagram profile defined with rel=”me”?

    Thread Starter hm_u

    (@hm_u)

    here are the info:
    Wordpress 3.9
    mqTranslate 2.9.3
    qtranslate 2.5.39

    Actually, 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!

    Yeah!! Thanks for your solution, it worked for me too.

Viewing 12 replies - 1 through 12 (of 12 total)