-
AuthorPosts
-
August 9, 2017 at 11:48 am #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 :)
August 10, 2017 at 6:57 am #836774Hey 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,
RikardAugust 10, 2017 at 9:57 am #836862Hey Rikard,
I sent the credentials for you.
Best regards,
DirkAugust 11, 2017 at 6:23 am #837308Hi,
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,
RikardAugust 11, 2017 at 10:54 am #837375Hi,
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,
DirkAugust 12, 2017 at 7:53 am #837781August 12, 2017 at 8:53 am #837803Hi,
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,
DirkAugust 15, 2017 at 6:34 pm #839503Hi,
no idea yet how to fix my issue??
Best regards,
DirkAugust 15, 2017 at 9:58 pm #839595Hi,
Please clear your cache.
I can see it properly displayed already.Best regards,
BasilisAugust 15, 2017 at 10:49 pm #839606Hi 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,
DirkAugust 18, 2017 at 10:11 pm #841047Hi,
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/qgp652g49k5oqb0mm7xuBest regards,
BasilisAugust 22, 2017 at 12:13 pm #842458Hi,
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,
DirkAugust 23, 2017 at 11:57 am #842980Hi, I set private content as well, any solutions please??
August 25, 2017 at 10:23 am #843828Hi diggital,
You can generate a new key an try again. Read the docs and follow the steps suggested there.
Best regards,
VictoriaAugust 25, 2017 at 10:51 am #843847Hi 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,
DirkAugust 29, 2017 at 11:03 pm #845491Hey 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,
DirkAugust 30, 2017 at 4:54 am #845558Hi,
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,
IsmaelAugust 30, 2017 at 2:38 pm #845806Hi 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,
DirkSeptember 1, 2017 at 9:24 am #846715Hi,
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,
IsmaelSeptember 1, 2017 at 9:41 am #846730Hi,
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,
DirkSeptember 1, 2017 at 10:26 am #846773Hi,
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,
IsmaelSeptember 1, 2017 at 10:58 am #846793Hi Ismael,
thanks a lot! Now it looks fine, great!!! :)
Best regards,
DirkSeptember 2, 2017 at 6:38 am #847077 -
AuthorPosts
- You must be logged in to reply to this topic.