Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #836310

    Hi, I set a transparent logo in Theme Options >> Logo and it appears on every page.
    Now I tried to use your code as seen in another post:

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(is_home())
        {
        $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
        }
        return $logo;
    }

    But there is no changing on the homepage, still the same logo.

    I don’t really understand what’s the difference when I use this option in the Theme Options: Header >> Logo-Transparency.
    I tried both options but with your code there is no changing on the homepage.

    Thanks for helping :)

    #836774

    Hey Dirk,

    Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #836862

    Hey Rikard,

    I sent the credentials for you.

    Best regards,
    Dirk

    #837308

    Hi,

    Thanks for the login details. The logo you have set in the theme options and the one you are using in the function looks the same though, maybe you could try a different image to see if the function is working?

    You could also try this instead to see if that works better:

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(is_front_page())
        {
        $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
        }
        return $logo;
    }

    Best regards,
    Rikard

    #837375

    Hi,
    the logo I’m using in the functions.php “…logo3.png” is definitely different from what I use in the theme options “…logo.png”.

    I tried your suggestion with “front_page” instead, but it’s also not working correctly.
    Then I inspected the code with Firebug: it’s correct “…logo3.png”, but visible is “…logo.png”.

    What’s wrong?

    Best regards,
    Dirk

    #837781

    Hi Dirk,

    See private for the results I’m getting on my end.

    Best regards,
    Rikard

    #837803

    Hi,

    yes that’s correct.
    Now I see it on the homepage, but only when I scroll down. So it doesn’t work in the transparent header of the homepage.

    How can I fix this?

    Best regards,
    Dirk

    #839503

    Hi,

    no idea yet how to fix my issue??

    Best regards,
    Dirk

    #839595

    Hi,

    Please clear your cache.
    I can see it properly displayed already.

    Best regards,
    Basilis

    #839606

    Hi Basilis,

    I cleared the cache and checked the site in 3 different browsers, it doesn’t look like expected.
    Only when I scoll down, the right image shows up.

    I will post screenshots.

    Best regards,
    Dirk

    #841047

    Hi,

    I loaded on firefox and it is been properly. Not sure what can be here to be honest.
    What browser are you at?
    https://s.nimbus.everhelper.me/share/1070832/qgp652g49k5oqb0mm7xu

    Best regards,
    Basilis

    #842458

    Hi,

    I checked the site on different computers and devices in different browsers (Firefox, Chrome, Safari, Internet Explorer)!
    It’s not working as expected…

    If you don’t have a solution, why not giving it to another moderator??? –> Nikko was helping me very successfully on other issues ;-)

    Best regards,
    Dirk

    #842980

    Hi, I set private content as well, any solutions please??

    #843828

    Hi diggital,

    You can generate a new key an try again. Read the docs and follow the steps suggested there.

    Best regards,
    Victoria

    #843847

    Hi Victoria,

    thanks for your reply. I’m still waiting for an answer for my first issue, still no idea how to fix it. While inspecting the code, 2 images appear, but only one shows up and that’s the wrong one on the home page.

    For the Google Maps issue:
    I changed the key and while expecting get these warnings in the console:

    Google Maps API warning: InvalidKey https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key
    Google Maps API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version

    I set the coordinates manually and now the map is visible, but the warnings?

    Best regards,
    Dirk

    #845491

    Hey guys, what happened to the support?
    Still waiting for a solution for weeks now, sorry but this is important for me and I got stuck…

    Best regards,
    Dirk

    #845558

    Hi,

    We are very sorry for the late response.

    Google Maps API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version

    For the retired version error, please edit the config-templatebuilder > avia-shortcodes > google_maps.php file, look for this code around line 37.

    $api_url = $prefix.'://maps.google.com/maps/api/js?v=3.27';
    

    Set the version from 3.27 to 3.30. In the next update, we’ll include a filter so that you don’t have to edit this file.

    Google Maps API warning: InvalidKey https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key

    Please make sure that you’re using the correct API key from the correct API project.

    Best regards,
    Ismael

    #845806

    Hi thanks for your response!
    Unfortunately nothing is fixed yet, still the same issues, the one with the 2 images is even more important…

    For the Google Maps API:
    I changed the code as you suggested, no difference.
    I started a project, got the API key and changed it several times, but the warning still exists, I don’t have a clue what’s wrong???

    Best regards,
    Dirk

    #846715

    Hi,

    1.) I can still see the google map warning but the map is working.

    // edited

    2.) The logo looks fine on my end.

    Best regards,
    Ismael

    #846730

    Hi,
    google map is working, because I was able to set the coordinates manually, as I wrote before!
    What about the warnings, they should effect the site in any way or can I ignore it??

    And again: The logo issue is still the same! It’s not working correctly. In the transparent header there is the wrong logo at the home page, I checked different browsers. I don’t know what you mean that it looks fine on your end, could you post an image?

    Best regards,
    Dirk

    #846773

    Hi,

    I see. We modified the logo filter in the functions.php file.

    Please ignore the “warnings” for now. In the latest version, we’ll add a filter that will enable the users to adjust the api version.

    Best regards,
    Ismael

    #846793

    Hi Ismael,

    thanks a lot! Now it looks fine, great!!! :)

    Best regards,
    Dirk

    #847077

    Hi Dirk,

    Great, glad we could help. Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

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