• Resolved ilanfl

    (@ilanfl)


    Hi. Great plugin, I love it!

    I’m inlining all my CSS (found that this approach is best for my site), but one of the CSS files is not being caught and inlined. The filename looks like this:
    language-selector.css?v=3.0

    So I think the reason it isn’t caught is because of the query string. Not 100% sure.

    Any way you can help?

    Thanks,
    Ilan

    https://wordpress.org/plugins/autoptimize/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frank Goossens

    (@futtta)

    no, query-string shouldn’t make a difference. hostname maybe?

    frank

    Thread Starter ilanfl

    (@ilanfl)

    Hi Frank,

    Don’t understand what you mean by ‘hostname’.

    It is served from my server, from the same domain.

    Hi ilanfl,

    WPML does not enqueue this file per WordPress standards so AO can’t aggregate it.

    If you’re not using it or are using the custom stylesheet you can disable it by adding the following to your config file:
    define('ICL_DONT_LOAD_LANGUAGE_SELECTOR_CSS', true);

    Otherwise, there’s nothing much to do about it other than putting a nasty bug in WPML’s ear.

    Be well,
    AJ

    Plugin Author Frank Goossens

    (@futtta)

    ah, … WPML … 🙂

    I’ve added a small filter that will allow knowledgeable developers to tell AO to consider multiple domains as being part of the same wordpress-installation (while waiting on feedback from WPML’s compatibility team). One could download the dev-build from GitHub and give that filter a try 🙂

    frank

    Thread Starter ilanfl

    (@ilanfl)

    Frank, I’ll try it.

    Thank you both, I appreciate your help.

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

The topic ‘CSS with query string not optimized?’ is closed to new replies.