ioankoul
Forum Replies Created
-
Hey Peter, I was doing some exploration on how I could utilize the wp-scripts package to build my custom theme and to bundle the Gutenberg blocks within the theme as well. I had similar issue, only block.json was getting copied, and not the rest of the block files, what solved it for me was to use entry like this:
entry: { ...defaultConfig.entry(), },
Instead of using the getWebpackEntryPoints() function.
Let me know if that worked for you ??Forum: Plugins
In reply to: [Contact Form 7] Update contact-form-selector block apiVersion to 3Ok, I see, then for now I will unregister your block and use shortcode instead, thanks!
- This reply was modified 1 year, 3 months ago by ioankoul.
Forum: Developing with WordPress
In reply to: Unexpected behavior in post loop after sending AJAX requestHey @sarathlal thanks for the update! For now I’m using a workaround where I apply manual trim to the excerpt, will keep an eye for the next WP update to revert back to my previous approach.
Thanks!Forum: Plugins
In reply to: [WP Search with Algolia] Different autocomplete indices per pageHey Michael, thanks for the quick response!
I really liked your solution and it works perfectly for my use case, one more possible feature I would need is to be able to apply these desired_sources to a specific search form instance inside the page.
For example plan is to have one global search form on page header, which will probably work with the default behavior, and another instance in page body where it will be limited to specific CPTs.
I managed to achieve this by wrapping the header search form with a custom class (eg. .global-search) and depending on that wrapper class I either include the default sources, or the custom ones.
Let me know if you know a possible better solution.Yes the validation is working correctly, it’s just weird behavior that it validates the previous empty fields when I make a change on the select dropdown, if that helps, that issue started happening on version 5.6, just checked rolling back to 5.5.5 and it’s working correctly without doing that thing with validation trigger.
The link for the contact page is this: https://bb.agency/contact/
So basically if you skip the first text inputs and go straight to the select dropdown it will show “This field is required” errors to all previous fields that are required and currently empty. Keep in mind that this is a pure CF7 without any additional plugins, the only custom code I’ve added is a ‘wpcf7mailsent’ event listener so I can redirect after form submission.
I’ve also tested it with only CF7 plugin active and using the twentytwentytwo theme, still had the same issue.Forum: Plugins
In reply to: [WooCommerce] Contact form 7 spins with woocommerce enabledFor some reason the issue is resolved now, but I didn’t change anything regarding CF7 or WC
Forum: Plugins
In reply to: [WooCommerce] Contact form 7 spins with woocommerce enabledI can confirm that I’m having the same issue, & it only occurs when I have Woocommerce active..
errors I get in the console:
wp-json/contact-form-7/v1/contact-forms/5/refill?_locale=user 403
wp-admin/admin-ajax.php?action=rest-nonce 403
Forum: Plugins
In reply to: [ACF: Image Hotspots Field] Status Update?I installed it on a new website & it works fine without any issue. I would be nice if we had an update
Forum: Plugins
In reply to: [WooCommerce] Checkout fields classes don’t work correctly after updateI managed to make it work with my workaround (using the ‘woocommerce_default_address_fields’ filter, but using the ‘woocommerce_checkout_fields’ filter won’t work.
I just realized that I can add a custom class like ‘my_custom_class’ using the ‘woocommerce_checkout_fields’ filter but if I add the class ‘form-row-first’ for example it won’t add it. I believe theres JS envolved that removes the class.
Can you try using the same code you sent me but with a class like ‘form-row-first’ or ‘form-row-last’?