Troglos
Forum Replies Created
-
Forum: Plugins
In reply to: [Smart Cookie Kit] Uncaught ReferenceError: google is not definedYes I just tried, anyway “async” was not used for maps.googleapis.com
Forum: Plugins
In reply to: [Smart Cookie Kit] Uncaught ReferenceError: google is not definedNow I get
“Ob?{message: “initMaps is not a function”, name: “InvalidValueError”, …”I’ve added the callback this way:
wp_enqueue_script( 'maps.googleapis.com', 'https://maps.googleapis.com/maps/api/js?key=AIzaSyD6B_5U-B260qjKls1E1Oe1qGdQAVBxYj0&callback=initMaps', array( ), '', true );
In the template file all I have is
<?php if( have_rows('mappa_locations') ): ?> <div class="acf-map"> <?php while ( have_rows('mappa_locations') ) : the_row(); $location = get_sub_field('location'); ?> <div class="marker" data-lat="<?php echo $location['lat']; ?>" data-lng="<?php echo $location['lng']; ?>"> <?php /* popup infowindow */ ?> <strong><?php the_sub_field('titolo_location'); ?></strong> <div><?php the_sub_field('indirizzo_location'); ?></div> </div> <?php endwhile; ?> </div> <?php endif; ?>
- This reply was modified 6 years, 7 months ago by Troglos.
Forum: Plugins
In reply to: [Smart Cookie Kit] Uncaught ReferenceError: google is not definedCiao Nicola,
Thanks for the answer, but I’ve not being able to make it work.
I’ve added the filter in functions.php and modified the jQuery function as you suggested. No console error now, but no map either.
Forum: Plugins
In reply to: [Smart Cookie Kit] Minimized settingsNo, in my configuration jQuery wasn’t in the exclude settings of Autoptimize.
I’ve just added it and now the error is gone.Forum: Plugins
In reply to: [Smart Cookie Kit] Minimized settingsThank you Nicola,
Unfortunately I am having a “Uncaught ReferenceError: jQuery is not defined” error. Probably it was there even with the previous version, but I’ve noticed it just now.
The error line:
document.cookie = “pll_language=it; expires=” + date.toUTCString() + “; path=/”;</script><script>;NMOD_SCK_Options.searchTags=[];NMOD_SCK_Helper.init();</script> <script>jQuery(function($){ // DOM is now read and ready to be manipulatedYou know the website I am talking about, so you could check it by yourself. Let me know if you need further information to solve this issue.
Thanks again for all the work you’re doing ??
Forum: Plugins
In reply to: [Smart Cookie Kit] Oscuramento del sitoNon so se chiederlo qui o aprire un nuovo post visto che è un dettaglio. Provo qui ??
Sto usando il tuo ottimo plugin con un background azzurro scuro e sarebbe molto utile avere nel pannello admin un campo in cui definire anche lo stile css (nel mio caso il colore) del link alla pagina privacy. Attualmente eredita lo stile generico del sito e non va bene perché è dello stesso colore del background del banner. Non riesco a forzarlo nemmeno con !important.
L’unica maniera è aggiungere nel file css del sito #text_info_breve a { color: #333; } ma preferirei fare tutto da pannello admin piuttosto che avere le definizioni sparpagliate.Ripeto è un dettaglio, quindi non è un’emergenza ?? però sarebbe comodo.
Forum: Plugins
In reply to: [Smart Cookie Kit] Traduzione (plugin translation en)Ehehe immagino cosa stia passando in questi giorni! ??
Ad ogni modo il mio suggerimento di usare Loco Translate era solo riguardo la soluzione temporanea.
Forum: Plugins
In reply to: [Smart Cookie Kit] Traduzione (plugin translation en)mi intrometto: e se si provasse invece con Loco Translate https://it.www.ads-software.com/plugins/loco-translate/ e salvando i file tradotti in una directory non sovrascrivibile negli aggiornamenti?
Forum: Plugins
In reply to: [Smart Cookie Kit] Minimized settingsI agree, that button is too intrusive. I would go for a simple link in the footer.
PS
Ciao Nicola e complimenti per il plugin ??Forum: Plugins
In reply to: [ilGhera WooCommerce Importer for Danea] Cron?Me too
Forum: Plugins
In reply to: [BJ Lazy Load] Is this supposed to work with all images on page?I had the same need and I solved it by using the following code:
// Applying the_content filter to our image markup to work with BJ Lazy Load plugin $neat_responsive_image_id = get_field('responsive_image'); $neat_responsive_image_markup = wp_get_attachment_image( $neat_responsive_image_id, 'full', false, array( 'class' => 'your-class' ) ); echo apply_filters( 'the_content', $neat_responsive_image_markup );
taken from https://jasonyingling.me/using-wordpress-responsive-images-advanced-custom-fields/
Forum: Plugins
In reply to: [Post My CF7 Form] Not workingThank you for fixing this bug.
With the new version I am able to view the options to map the fields.Now I have to study and understand how to map everything.
Forum: Plugins
In reply to: [UNLOQ Two Factor Authentication (2FA)] Path errorsThank you for the answer.
So I guess the message “This is a premium beta feature free until the 1st of November” means that soon we will have to pay to have this feature?Forum: Plugins
In reply to: [Post My CF7 Form] Not workingHi Aurovrata,
I just sent you an email with details. I made a package for All-in-One WP Migration https://www.ads-software.com/plugins/all-in-one-wp-migration/
In this test site I made just one CPT “ricetta”.
The plugin ACF Pro was active, but I have uninstalled it before I made the package that I sent you by mail.
I also noticed that the problem persists even if Types is deactivated.Thank you for the support.
Forum: Plugins
In reply to: [Post My CF7 Form] Not workingSame identical situation as isabelasilveira
Meanwhile no errors in log file, and – as I have already said – I have deactivated all other plugins.