joe16
Forum Replies Created
-
Hi @aegkr,
Thank you for your reply.
Yes, I like your plugin. It is very helpful.
I left a review on ww.wp.xz.cn some time ago. Now I have left a new review on Trustpilot.
Thank you again for your help and responsiveness.
Have a nice day!
My best regards,
Hi @aegkr,
Thank you for your reply.
I have updated the plugin and tested, and it works. Thank you very much for your responsiveness.
Have a nice day!
My best regards,
Hello,
Thank you for your reply and for the confirmation that it does not work with the PayPal button.
I’m using this PayPal plugin: https://ww.wp.xz.cn/plugins/woocommerce-paypal-payments/
Looking forward to your reply. I greatly appreciate your help.
My best regards,
Hello,
I hope you are doing well.
Any updates about the issue?
Looking forward to your help and reply. Thank you in advance.
My best regards,
Hello,
Thank you for your quick reply.
Yes, the option is already enabled. Please check this image: https://i.postimg.cc/PrK9PWKB/msedge-y-Vw-YHm-NEg5.png.
In my case, I place the order using a PayPal button, not the classic “Place order” button. I don’t know if this may be the cause of the issue. As I’m in production, I have only tested with the PayPal button, so I can cancel the purchase.
Looking forward to your help and reply.
My best regards,
I already did, I cannot leave a review twice.
If there is another place where I can leave a review, you can send me a link.
Have a nice day!
My best regards,
Hi @kaggdesign,
No worries.
This time it works!
Thank you very much for responsive support and help!
My best regards,
I pasted this code in functions.php of the child theme:
function hcap_block_inline_styles() {
if ( is_page( 'contact' ) ) {
return;
}
remove_action( 'wp_head', [ hcaptcha(), 'print_inline_styles' ] );
}
add_action( 'wp_head', 'hcap_block_inline_styles', 0 );This code removes all related stuff to hCaptcha except for this:
<link rel='dns-prefetch' href='//hcaptcha.com' />Please let me know if you need further information.
I invite you to check the source code of the attached page.
Thank you @kaggdesign for your reply.
Actually, the prefetch code is still present even with the above code in place. Is there other code to add?
Please correct me if I misunderstood you.
UPDATE: there was a display bug so I typed my response twice.
- This reply was modified 1 year, 1 month ago by joe16.
Thank @kaggdesign for your reply.
Actually, I’m getting the prefetch code, even with the above code in place. Should I add other code?
Please correct me if I misunderstood your explanation.
Hi @kaggdesign,
Thank you for your responsive support and the fix, it works!
One last thing, there is still a DNS prefetch for //hcaptcha.com, which is useless in case of not loading the resources.
<link rel='dns-prefetch' href='//hcaptcha.com' />You can see it at the top of the page source code. It would be better to only prefetch the DNS when needed and not all the time.
Looking forward to your reply. Thank you in advance.
My best regards,
Forum: Plugins
In reply to: [hCaptcha for WP] Block inline style via filterHi @kaggdesign,
Thank you very much for your help and prompt response.
Have a great day!
My best regards,
Forum: Plugins
In reply to: [hCaptcha for WP] Block inline style via filterHi, @kaggdesign,
Thank you for your quick reply.
Will this work in case of having a contact form page with hCaptcha (as the style should not be removed from the contact page)? Or the contact form page will be impacted?
Looking forward to your reply.
My best regards,
Forum: Plugins
In reply to: [hCaptcha for WP] hCaptcha not showing on WordPress lost password formHi @kaggdesign,
Thank you for your reply and for your time taken to answer my questions.
Regarding the styling and script loading: thank you for sharing how things works. The other plugins should follow your steps and stop loading resources all over the site. You are giving the example.
Regarding the inline styling. Please share with me how to block it via filter, knowing that I’m using the captcha only in the admin login page and the admin lost password page. It won’t be needed for the front website. Here is the link of the newly created ticket.
Looking forward to your reply. Thank you in advance.
PS: I have left a 5 stars review. Thank you for your prompt support.
My best regards,
Forum: Plugins
In reply to: [hCaptcha for WP] hCaptcha not showing on WordPress lost password form4. I’m using the hCaptcha plugin only for the WordPress back office login page and back office lost password pages. Is there a way to prevent all hCaptcha resources (styling and JS if any) to be loaded in the front office (as they are not needed)?