Site logo

[Resolved] Site Identity and WPML

Home Forums Support [Resolved] Site Identity and WPML

Home Forums Support Site Identity and WPML

Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #452807
    Leo
    Staff
    Customer Support

    Is it currently uploaded in the customizer? If so that will be global setting.

    You should be able to use the same PHP condition for this filter: https://docs.generatepress.com/article/generate_mobile_header_logo/

    #456116
    Lisa

    HI Leo
    I need to change the logo from English to Hebrew in two places in customizer but every time I refresh the page (after saving it) the English logo is back there.

    I checked with my host and cleared cache etc.. still happens

    see screen capture
    https://prnt.sc/hrogwa
    this is for the logo on the sticky menu and mobile in hebrew. the English logo is showing in the hebrew sites.
    http://www.p8072-158-1962.s158.upress.link/

    #456330
    Tom
    Lead Developer
    Lead Developer

    That’s really weird – perhaps try removing those images from the media library completely, then re-upload them from scratch.

    #456481
    Lisa

    HI Tom
    Merry Christmas:)
    still weird… I deleted the logos and uploaded again into media.
    still the Hebrew logo that I upload into header and primary nav is overridden by english logo

    #456491
    Tom
    Lead Developer
    Lead Developer

    And where is the English logo uploaded? Do you have a Page Header applied which has the logo overwritten maybe?

    Merry Christmas 🙂

    #456530
    Lisa

    HI Tom
    So even though the English logo keeps overriding the Hebrew logo in the header and primary logo customization.
    The logo has been set via wp hooks… and the hebrew logo is now showing in sticky menu as it should and on hebrew mobile as it should…. so the result is ok. http://www.p8072-158-1962.s158.upress.link/

    <?php
    if(ICL_LANGUAGE_CODE=='he'){ ?>
    
    <img src="http://www.p8072-158-1962.s158.upress.link/wp-content/uploads/2017/12/log-he.jpg" alt="hebrew logo" />
    
    <?php }
    if(ICL_LANGUAGE_CODE=='en'){ ?>
    
    <img src="http://www.p8072-158-1962.s158.upress.link/wp-content/uploads/2017/12/logo-en.jpg" alt="english logo" />
    
    <?php } ?>
    #456907
    Tom
    Lead Developer
    Lead Developer

    So everything is good now?

    #1289785
    Christoph

    I tried this, before logo:

    <?php if ( ICL_LANGUAGE_CODE == 'en' ) { ?> 
        <img src="http://www.concepto3s.com/wp-content/uploads/2020/05/3hconcept-web.jpg" alt="" />
     
    <?php } else { ?>   
        <img src="http://www.concepto3s.com/wp-content/uploads/2020/05/concepto3s-web.jpg" alt="" />
    
    <?php } ?>

    but now I do not have any logo. http://www.concepto3s.comhttp://www.3hconcept.com

    #1290664
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Any chance you can open a new topic with some more details on your current setup?

    Thanks!

Viewing 9 posts - 16 through 24 (of 24 total)
  • You must be logged in to reply to this topic.