kmmathis
Forum Replies Created
-
I agree with Mike, the picture tag seems unnecessary now and adds a lot of extra HTML and CSS to make it look right. Also page speed tests don’t always recognize the htaccess rewrite and flag the jpg/png URLs instead of recognizing the webp versions.
There should at least be a setting to just use the webp URLs directly in addition to the rewrite and picture tag settings.
Forum: Plugins
In reply to: [S2W - Import Shopify to WooCommerce] Product StatusThanks for the reply and thanks for letting me know!
Having the same exact issue on many of my websites. Not sure why the “Auto” option was selected automatically as I have never adjusted this setting myself, seems like Off should be the default there.
Forum: Plugins
In reply to: [WooCommerce Square] Clearing the wp_woocommerce_square_customers tableHey Igor! I should have been more clear in my original post, I’m not having an issue with the plugin, just an issue specific to my website. Mostly I’m wondering if clearing the square_customers table will mess up my recurring payments with the WooCommerce Subscriptions extension.
Forum: Plugins
In reply to: [Age Gate] age_gate_logo filterThanks Phil! I’m on 3.0.9 and none of the filters seem to be firing. This goes for the new src and id filters as well as the deprecated age_gate_logo one. Tested with the 2021 theme and no other plugins active.
Forum: Plugins
In reply to: [Age Gate] age_gate_logo filterI’ll add the filter I was using below so you can see what I’m looking for
add_filter('age_gate_logo', 'custom_filter_age_gate_logo', 10, 2); function custom_filter_age_gate_logo($logo, $settings) { // if a logo is set, return it if($settings) { return $logo; } // no logo is set, use logo from customizer $custom_logo = get_theme_mod( 'custom_setting_logo_header', ''); if($custom_logo && $custom_logo['url']) { $logo = '<img class="age-gate-logo" src="'.$custom_logo['url'].'" alt="'.get_bloginfo('name').'" />'; } return $logo; }
Forum: Plugins
In reply to: [Age Gate] Age Gate takes 2-3 seconds to popup@adamsatoms It’s most likely the “delay javascript” setting in whatever cache plugin you are using. Happens to me all the time with WP Rocket until I turn that setting off.
Forum: Plugins
In reply to: [WPC Fly Cart for WooCommerce] Add another filter to cart htmlThis is perfect, thank you!
Forum: Plugins
In reply to: [Kirki Customizer Framework] WSOD on Update to 4.0.23You have access to your server’s error logs? Might help shed some light on what’s going on. For me 4.0.23 is not causing any WSOD
So it looks like the priority setting is also involved here. When I remove the priority from my Sections, it behaves as expected. When I set a low priority, like 10, they show up at the top but are pushing everything else way down the page because of the min-height. Here is my example:
new \Kirki\Section( 'example_section', [ 'title' => esc_html__( 'Example Section (no panel)', 'kirki' ), 'priority' => 10 ]); new \Kirki\Field\Editor( [ 'settings' => 'example_section_editor', 'label' => esc_html__( 'Example Editor', 'kirki' ), 'section' => 'example_section', ] );
Actually I believe this is a CSS issue. All the default panels are still there, just pushed way down the screen via this rule:
.control-section-kirki-default, .control-section-kirki-outer { min-height: 100%; }
This happens when adding a Section directly to the customizer without defining a Panel, which I find to be helpful from time to time.
With CSS rule: https://imgur.com/8JqM30p
Without CSS rule: https://imgur.com/a/RRnChpI
- This reply was modified 2 years, 1 month ago by kmmathis.
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] total plugin fail. was working, now blank screenHaving the same issue but with a different console error
Uncaught TypeError: Cannot read property 'nextSibling' of null at Module.<anonymous> (index.js?ver=2.5.1:2) at Module.278 (index.js?ver=2.5.1:2) at a (index.js?ver=2.5.1:2) at wc.app.0 (index.js?ver=2.5.1:2) at index.js?ver=2.5.1:2
Referencing this file: /wp-content/plugins/woocommerce/packages/woocommerce-admin/dist/app/index.js
Forum: Plugins
In reply to: [WooCommerce] Can’t add a product in an existing order@maxelio42 had a similar issue today, for me it was a conflict with another plugin that was overriding the select2 dropdown styles in the admin, modifying the z-index property such that it ended up behind the add product pop-up. In my case it was the GEO my WordPress plugin, which I just disabled to solve the issue.
Forum: Plugins
In reply to: [WooCommerce Square] Google Pay problem on variable products@mattdallan I’m also trying to change the location of the digital wallet buttons. I’m familiar with using
remove_action
for unhooking functions and then usingadd_action
to put them back in, however therender_button
function is a method of theSV_WC_Payment_Gateway_Apple_Pay_Frontend
class and I’m not sure how to remove it since I don’t have access to that class outside of the plugin.I attempted to follow a few of the proposed solutions here to no avail: https://wordpress.stackexchange.com/questions/36013/remove-action-or-remove-filter-with-external-classes
Thanks!
Forum: Plugins
In reply to: [WooCommerce Square] Plugin breaks site once installed. Please help!The path to the file is in the first line of your error details above
An error of type E_ERROR was caused in line 174 of the file /home/s762/html/wp-content/plugins/woocommerce-square/includes/Plugin.php