squarecandy
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Add reCaptcha v2 supportYep, I’m back on 5.0.5 until further notice.
Forum: Plugins
In reply to: [Contact Form 7] reCATCHA V3I totally agree with Dave’s points here.
– Need continued v2 support
– If users opt to use v3, make sure the banner only displays on pages with forms. Showing that giant badge on every page is unacceptable.
Forum: Plugins
In reply to: [Simple Taxonomy Ordering] Conflict with ACF ProCool – yes I just submitted a ticket that said pretty much that exact thing and points them to this thread.
Forum: Plugins
In reply to: [Simple Taxonomy Ordering] Conflict with ACF ProThanks so much for looking into this, Kevin.
Is the ticket w/ ACF on the public support forum? If so, could you link to it here?I can also open a private support ticket with my ACF pro account which might get faster attention.
Forum: Plugins
In reply to: [Simple Taxonomy Ordering] Conflict with ACF ProHi Kevin –
Thanks for the reply.
Yes, I went ahead and tested it w/ the free version of ACF and I’m seeing the same result.
I ran a diff of the default post categories page with and without ACF turned on:
https://gist.github.com/squarecandy/5c06b4e574abfc637d67d04e01086c78Looks like it’s probably a conflict with how jquery ui sortable is handled/loaded… but I’m not sure.
Let me know what you find out and if I can be helpful in any way.
Thanks,
PeterWooCommerce > Settings > Products > Product Fees
Setting “Fee Tax Class” to “No Taxes for Fees” did not work for me.
Setting it to the “Zero Rate” tax class did work.
Forum: Plugins
In reply to: [Classic Editor +] Most of this is in the Classic Editor now…It might be worth posting an update at the top of the description. If you search for “Classic Editor” this comes up in the #2 spot and starts w/ the description about the things C.E. doesn’t do…
Forum: Plugins
In reply to: [Contact Form 7] recaptcha size invisibleThis technique still works great for me. With watching out for a few “gottchas” and a few code modifications I got it working even better.
First – make sure that you are using a recaptcha key specifically for invisible type – a key for a regular v2 “i’m not a robot” box will not work. Generate a new key at https://www.google.com/recaptcha/admin if you need to.
Second, I didn’t like that the code above did a full browser-level submit of the form. I prefer the nice AJAX that’s built in to WPCF7. Here’s the javascript code I ended up using:
// implement the invisible google recaptcha var recaptchaSubmitCallback = function( token ) { document.querySelector( '.g-recaptcha-response' ).value = token; form = jQuery( '#thesubmit' ).closest('form'); wpcf7.submit(form); }; jQuery( '#thesubmit' ).closest('form').on('submit', function(e) { e.preventDefault(); grecaptcha.execute(0); } );And lastly – I didn’t like the fixed position badge, so I put it inline with the form like this:
.grecaptcha-badge { width: 100% !important; height: auto !important; position: relative !important; box-shadow: none !important; right: auto !important; bottom: auto !important; } div.grecaptcha-badge:hover { right: auto !important; } .grecaptcha-logo { display: block; overflow: hidden; width: 256px; height: 60px; margin: -22px auto 0; box-shadow: none; transform: scale(0.6); opacity: 0.6; transition: opacity 300ms; } .grecaptcha-logo:hover { opacity: 1; }Also – Here’s the shortcode I’m using in the WPCF7 form settings:
[recaptcha size:invisible callback:recaptchaSubmitCallback] [submit id:thesubmit "SEND"]Hope this helps someone!
Forum: Plugins
In reply to: [Gutenberg] How to use Gutenberg for custom post type?@firoz2456 – REST is required because the entire Gutenberg interface is built using javascript.
@maximebj – Thanks – this is very helpful. I can test out how my existing custom post type edit screens will look like under Gutenberg now.
No resolution to this yet? I tried turning on learning mode and then switching back after doing the required actions. Learning mode or disabling the plugin allows the AJAX posts temporarily, but the URLs don’t end up in the whitelist section (I have a few other URLs marked as “Source: Whitelisted while in Learning Mode.” but no admin-ajax.php urls).
I also tried adding it to the whitelist manually. Here’s my code:
$.ajax({ url : 'https://example.com/wp-admin/admin-ajax.php', // generated from php admin_url( 'admin-ajax.php' ); type : 'post', data : { action : 'my_custom_callback', mydata : myDataArray }, // etc... });And here’s what I tried adding to the whitelist:
URL:
/wp-admin/admin-ajax.php
Param Type:POST BODY
Param Name:my_custom_callbackThe error I get is a “400 bad request” error.
I am not using any caching or compression plugins or systems.
Seems a pity to abandon using WordFence altogether because of this issue. I see lots of people who still seem to be having trouble with this. Let me know if there is a good solution.
I think there’s a bunch of background info missing on why these plugins work the way they do in this thread:
Automattic (WordPress company) recently bought WooCommerce and they have been merging the services since (for example you need a wordpress.com login for woocommerce.com now). Knowing this and knowing that JetPack is an Automattic plugin makes the connection make more sense.
The WooCommerce Services plugin is not total BS as some have indicated here. If you like the services it offers like keeping your sales tax rates up to date automatically for the area you ship out of, then turn it on and connect it w/ JetPack. If you don’t need those things, just turn it off…
The last thing that I discovered in learning more about this is how flexible and powerful carefully configured JetPack is. It really is pretty crappy and intrusive out of the box, but if you go to this settings screen, you can turn on only the features you want and disable the rest:
[your-site-URL]/wp-admin/admin.php?page=jetpack_modules
(this is available from the debug settings page too. not sure why they make this so hard to find!)If you like WooCommerce Services but think JetPack is too annoying and intrusive, try turning off all or almost all of the jetpack modules as suits your needs.
Forum: Reviews
In reply to: [FlippingBook] Fake reviewThis is not helpful. Converting a print-ready PDF into a viable HTML5 display is actually a very difficult task. Flipping book has a decent service and they charge what they think it’s worth. The plugin is for flipping book customers. If you’re not their customer already, don’t use the plugin.
Bravo @chesio – way to propose a solution instead of just complaining!
This would be a great fix for Flamingo.
Forum: Plugins
In reply to: [xili-tidy-tags] PHP errors with 4.6For now, replace line 553 with the code above in /wp-content/plugins/xili-tidy-tags/xili-tidy-tags.php
Hopefully the plugin author will make the correction in the next update and we’ll be good to go from there…
Forum: Plugins
In reply to: [WooCommerce] Hide the only payment gateway from checkout pageFYI, using the Stripe gateway, it has javascript that depends on seeing the
<input type="radio" ...so I had to apply CSS to hide it instead of changing it to a hidden input.