9dotbox
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] How to know if reCAPTCHA v3 works or not?@rraallvv You have to send a test message through the form and then open the message in Flamingo. Once you’re in the actual message, it shows the content entered in the form fields, then shows reCAPTCHA and meta info below.
FYI, I have since given up on using reCAPTCHA v3 because 1) it adds to the download size of the entire site as it’s embedded in ALL pages (not just form pages), and 2) v3 is actually a tracking pixel that allows Google to follow and track users even after they leave the site, thus a privacy issue, see here: https://cryptonews.bizlim.com/news/?uid=224380
I removed v3 from all my sites and now use the Contact Form 7 honeypot plugin for forms. It uses a hidden field that only bots see and fill, and it’s been working pretty well. Only had 5 or 6 spam messages get through in 2 months.
- This reply was modified 6 years, 8 months ago by 9dotbox.
Forum: Plugins
In reply to: [Contact Form 7] How to know if reCAPTCHA v3 works or not?One way to check if recaptcha v3 is working is to install the Flamingo plugin (free) for CF7. Flamingo records form submissions, highly useful IMO, but also gives a reCaptcha report for each message. The report looks like this:
https://i.postimg.cc/jdNRPmBt/Screen-Shot-2019-05-28-at-10-42-14-AM.jpg
Forum: Plugins
In reply to: [WooCommerce] How to define css class to a specific woocommerce categoryYou’ll need to add a function to your theme’s functions.php file:
// add taxonomy term to body_class
function woo_custom_taxonomy_in_body_class( $classes ){
if( is_singular( 'product' ) )
{
$custom_terms = get_the_terms(0, 'product_cat');
if ($custom_terms) {
foreach ($custom_terms as $custom_term) {
$classes[] = 'product_cat_' . $custom_term->slug;
}
}
}
return $classes;
}
add_filter( 'body_class', 'woo_custom_taxonomy_in_body_class' );This adds the product category to the product page’s body tag.