gtamborero
Forum Replies Created
-
After some investigation, this is my best script to load only on the pages I want CF7 and Recaptcha on some pages (including languages)
INSIDE FUNCTIONS.PHP:
//Remove Google ReCaptcha + CF7 everywhere apart from select pages add_action('wp_print_scripts', function () { //Add by name or slug the pages you want to allow inside the array: if ( !is_page( array( 'contacta', 'Manuales', 'contact-us', 'manuals', 'contactez-nous', 'notices-dutilisation', 'contattaci', 'manuali', 'contacta', 'manuales' ) ) ){ wp_dequeue_script( 'google-recaptcha' ); wp_dequeue_script( 'google-invisible-recaptcha' ); wp_dequeue_script('contact-form-7'); wp_dequeue_style('contact-form-7'); } });
- This reply was modified 4 years, 11 months ago by gtamborero.
Forum: Plugins
In reply to: [Blocks CSS: CSS Editor for Gutenberg Blocks] blocks CSS with blocklab pluginThank you very much @hardeepasrani !
If you need some help or testing just ask ??Forum: Plugins
In reply to: [BJ Lazy Load] BJ Lazy load doesn’t work with Internet ExplorerI have looked for it on “plugin organizer” plugin, but it looks like it’s not possible.
It’s a bit tricky and you have to know programming,
you should put on your functions.php (on your active theme) an wp_dequeue_script so the JS file of bj-lazy-load stops loading if the browser is IE. This probably workshttps://developer.www.ads-software.com/reference/functions/wp_dequeue_script/
Forum: Plugins
In reply to: [BJ Lazy Load] BJ Lazy load doesn’t work with Internet ExplorerGlobal analytics says 3% for explorer:
https://www.stetic.com/market-share/browser/I’m not sure if it’s still supported. You may disable the plugin if the navigator is internet explorer but that should be hard coded
Forum: Plugins
In reply to: [BJ Lazy Load] BJ Lazy load doesn’t work with Internet ExplorerHi! Be aware that Internet Explorer is absolutely deprecated since 2018. You should use another navigator, Chrome, Edge, Firefox or Safari.
In my case I warn the user who has internet Explorer to upgrade to a new navigator ??Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 /wp-json/ 404 ErrorSame problem! I was using the plugin ‘plugin organizer’ to enable contact form 7 only on some pages, and that was the problem.
Great @galbaras ! I didn’t know that there was an easy way to find shortcodes on a post! : has_shortcode()
Yeah! that was the point… ?? maybe a “space” or a timeout after writing could be good to create the className, thanks!
Thanks! I’ll have a look at it! I read your post but thought that was a database cleaner ?? !
For selective loading of Contact Form 7 or whatever other plugins you can do what @lonty explains, creating a function, or you can use the “Plugin Organizer” to load on specific pages specific plugins. Just remove Contact form 7 as a “global” plugin, go to you contact page and scrolling down you’ll see you can drag and drop (right to left) the contact form plugin to enabled plugins.
NOTE: I’ll have to do this on each page where you have contact form and each language ??
Here you have a video explaining it: https://youtu.be/q5aXFa7cIpI- This reply was modified 5 years, 10 months ago by gtamborero.
- This reply was modified 5 years, 10 months ago by gtamborero.
- This reply was modified 5 years, 10 months ago by gtamborero.
Forum: Reviews
In reply to: [Gutenberg] It’s not a builder it’s a new ParadigmThanks @courtneypk ! What I see is that sometimes, on the WP Gutenberg Editor is difficult to select the block layer correctly when a block has nested blocks. The rest is ok and growing fast!
Forum: Plugins
In reply to: [BJ Lazy Load] Broken imageI have been using this plugin on some websites and have never seen this behaviour. This plugin doesn’t change image names.
Forum: Plugins
In reply to: [Order Attachment for Woocommerce] Problem on editing the order 2nd timeThanks baltas. It happens the same to me with the last version (2.4). It’s a bug. We can live with it but it will be great if is corrected on future versions ??
Forum: Plugins
In reply to: [BJ Lazy Load] does nothing8 to 9 is pretty good.
tienes un montón de fotos en alta calidad y eso te baja el rendimiento. Si abres la consola del navegador (f12) y activas network y recargas (f5) verás que tienes fotos que ralentizan la carga de la home. Comprimelas!Forum: Plugins
In reply to: [BJ Lazy Load] BJ Lazy Load – Breaks Login EntirelyHi hebhansen, soon google Chrome will have by default lazy load on it’s core, so probably all lazy load plugins will not be necesary. Not sure if it’s a good answer but if you are have so much trouble just stop using the plugin.