Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1142376

    Hello Kriesi Support Team

    I am working on a website. You helped me with a code a while ago to default to the first category in the portfolio grid view — rather than showing ‘all’. For some reason this now stopped working on the translation with WPML. It works on the default language (German) but not on the English translation.

    German Langauge Version –> scroll down to ‘Referenzen’ — Default to first Category is working

    English Language Version –> scroll down to ‘References’ — Default to first Category is not working
    https://pre.frangipanimonday.com/en/

    So far I haven’t been able to find why. Would appreciate any help.
    I put a login in below in case you need it.

    Thanks so much & kindest Regards,
    Corina

    #1143396

    Hey Corina,

    Thanks for giving us admin access and we apologize for the delayed response.
    The problem seems to be coming from the minification of hummingbird plugin.
    If I go to the english version and right click (any part of your site) and select Inspect Element, then choose Console, I would see this error:

    Uncaught ReferenceError: jQuery is not defined

    If I click on hummingbird > see this page unminified, the js error is fixed.
    The german version doesn’t have this js error.

    Best regards,
    Nikko

    #1143426

    Hi Nikko

    Thanks for the explanation. But what does this mean? I can’t use the plugin? Is there a fix? Do I need to contact Hummingbird? Does it mean Hummingbird is not compatible with WPML?

    Appreciate your help in understanding how to solve this. Thanks so much.
    & all the best,
    Corina

    #1143468

    Hi Corina,

    I’m not very familiar with hummingbird plugin.
    I think you can still use the plugin but maybe disable minification for js files and it’s more likely to work fine.

    Best regards,
    Nikko

    #1147755

    Hey Nikko

    I am following up with this, as I now have a clean install without hummingbird and it still does not apply the default to first sort category function in the English translation.

    — correction it does apply but it takes ages to load the script in the english translation.

    install is now on domain below.

    Any idea why? Would appreciate help as I am at a loss.
    Thanks heaps.
    Corina

    • This reply was modified 5 years, 2 months ago by cd2s.
    #1148264

    Hi Corina,

    Is it using the same host?

    Best regards,
    Nikko

    #1148403

    Hi Nikko
    Yes same hosting company, it is my dev server.
    Thanks, Corina

    #1149072

    Hi Corina,

    I tried to test it again several times in different browsers (to make sure it’s not cached) and it seems to be working fine.
    It seems to be fixed now, it shows up Investment Properties under References properly and the script was loaded as soon as the page was loaded and there’s no js error.

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.