Forum Replies Created
-
AuthorPosts
-
I have to add…i added 6 versions of url in google api with http and without, with * and without and with www and without..
Hey Ismael, inserted the code and….Great! It works! Amazing. Thank you very much for the support!
- This reply was modified 8 years, 4 months ago by Tobiy.
Josue, you are amazing! Thank you, Thank you, Thank you! Result in gmetrix:PageSpeed Score 100, YSlow Score 98% (argh..google fonts and little stuff, nothing serious). Enfold Team is the best support team ever! Thank you! If anyone else needs help to implement, now i can help too ;-)
- This reply was modified 8 years, 4 months ago by Tobiy.
Hey, i appreciate that! Thank you
This would be so amazing Josue!
- This reply was modified 8 years, 4 months ago by Tobiy.
ok this code breaks the site:
function defer_parsing_of_js ( $url ) {
if ( FALSE === strpos( $url, ‘.js’ ) ) return $url;
if ( strpos( $url, ‘jquery.js’ ) ) return $url;
return “$url’ defer=’defer”;
}
add_filter( ‘clean_url’, ‘defer_parsing_of_js’, 11, 1 );and if i enter the code block the code appears on the page.
So i can just use the code 1. and 2. as you have said? Maybe we have a misunderstanding? I am irritated now…sorry.
- This reply was modified 8 years, 4 months ago by Tobiy.
js?v=3.24:2 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
Would you like to have look inside?
Thank you so much Josue!
Question for understanding: Why is the author info not included in the masonry template?
Hey Josue, thank you very much. Let me clarify:
In order to use code on a specific page, i add a code block at the bottom of a page via page layout builder and add the code?Do you mean i type code like thins in function php?
add_action(‘wp_footer’, function() {
?>
function defer_parsing_of_js ( $url ) {
if ( FALSE === strpos( $url, ‘.js’ ) ) return $url;
if ( strpos( $url, ‘jquery.js’ ) ) return $url;
return “$url’ defer=’defer”;
}
add_filter( ‘clean_url’, ‘defer_parsing_of_js’, 11, 1 );
<?php
});Thank you very much!
Solved. Thank you!
It was already set! Still not working. Please have a look.
Thank you.Sure.Attached. Thank you!
js?v=3.24:32 Google Maps API error: MissingKeyMapError
Google Maps API warning: NoApiKeysi did everything as said! horrible.
Hi josue,
okay, in this case not an option :-) Thank you very much for the info!
Guys what kind of error messages do you get? Chrome -> F12 and load page ->Console and look Error
I am facing the following issue: on mobile google maps is visible…on firefox and chrom fullsize not.
hey, already found out! :-) thank you very much! The effect is amazing. And iam so curious because its so cool and i want to learn: can you please explain me how you created the gradients? This is just css, isnt it?
- This reply was modified 8 years, 4 months ago by Tobiy.
amazing. @spectodesign how is it possible to make the menu transparent? or yigit? :-)
Hey Rikard, the noob method: chrome :-) tried it out in console and it worked globally ;-)
…but your code is still better and works! thank you very very much, Rikard!Hey Rikard, when can we count with an update for this issue? Its soo frustrating.
@lucie thank you vey much. unfortunately not. the background is still black.
tried this /*[data-av_icon]:before {
color: white;
}*/ but does not work at all – too globally.@bitnissen Thank you very much! Your solution makes the console happy – no errors anymore. But unfortunately the card is not loading. Even if i put the coordinates manually i am landing in the ocean, where i am definitely not located :-)
@mensmaximus Thank you very much ! but my src looks quite different: src: ‘https://maps.googleapis.com/maps/api/js?v=3.6&sensor=false&callback=aviaOnGoogleMapsLoaded’ It does not work either. Cleared all caches (plugins and browser (hard reset), tried it with different mobile devices. WAIT: Its loading, but it does not get my coordinates even if i put them manually…..again a citizen of somalia…Guys thank you.Its quite frustrating.
- This reply was modified 8 years, 5 months ago by Tobiy.
Hey you mean, your solution plus the code?
Hey there does not work
put this code into the functions.php.
But it does not load: console says: Google Maps API error: RefererNotAllowedMapError
I put the url and the contact page as referer site….function ava_googlemaps_apikey() {
$prefix = is_ssl() ? “https” : “http”;
wp_deregister_script(‘avia-google-maps-api’);
wp_register_script( ‘avia-google-maps-api’, $prefix.’://maps.google.com/maps/api/js?key=API-CODE‘, array(‘jquery’), ‘3’, true);
wp_enqueue_script(‘avia-google-maps-api’);
}Can you please give a hint? Thank you very much!
add_action(‘init’, ‘ava_googlemaps_apikey’);May i use this plugin? https://wordpress.org/plugins/no-hentry/
or shall i just dirty fix it?
// Source: https://wpcolt.com/fix-hentry-errors-wordpress/
add_filter( ‘post_class’, ‘remove_hentry’ );
function remove_hentry( $class ) {
$class = array_diff( $class, array( ‘hentry’ ) );
return $class;
}- This reply was modified 8 years, 5 months ago by Tobiy.
nope. it might work, but it does not in all cases :(
Ismael, everything is good – no reason for an apology :-)
To Make things short: THANK YOU THANK YOU THANK YOUBest regards, tob
Hi Ismael,
opened the php file…mh…where and what must i add?
Can you please guide me through?Thank you very much!
Hey yigit,
attached.
fields” author and updated are missing….Kind regards,
TobiyHey Yigit! Great!!! Thank you soo much!
So the solution is just putting content into color section elements? Amazing :-)
Do you have an explanation for this kind of problem? -
AuthorPosts