rochow
Forum Replies Created
-
Forum: Plugins
In reply to: [Newsletter - Send awesome emails from WordPress] BlocksAh cool so can string_replace = </head> with something else, perfect!
Forum: Plugins
In reply to: [Newsletter - Send awesome emails from WordPress] BlocksMore-so if there was do_action() like WooCommerce for inserting HTML into header, footer kinda thing that would be awesome for devs to add whatever over time. Blocks are amazing for the content side, being able to modify the ‘wrapper’ a bit more would cover everything.
Thanks Stefano!
Forum: Plugins
In reply to: [Newsletter - Send awesome emails from WordPress] BlocksAh thanks, I looked under Settings but didn’t realise Newsletter -> Settings had more settings. Thanks!
It would be great to have a filter or textarea for the head section to add format-detection = no and such. Business number in the footer is auto-linked like a phone number so usually turn that off as any header/footer phone numbers we have coded the link.
Thanks I see now they have two plugins active for checkout fields configured with the same field names. Was looking at ThemeHigh admin panel where there fields setup and edited the first checkout field editor plugin saw in /plugins/ – didn’t imagine there would be 2, names are very similar.
Forum: Reviews
In reply to: [Ultimate Addons for Elementor] Latest version 1.6.31 errorThis error still occurs on the latest version.
Only works using older per above.
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] Large amount of scriptsFurthermore, because it’s trying to access WP JSON for some reason, every page load has a JS error:
Object captured as promise rejection with keys: code, data, message
Because for security we don’t allow random REST requests.
{code: rest_not_logged_in, data: {status: 401}, message: You are not currently logged in.}
Confirming the same issue.
- This reply was modified 3 years, 7 months ago by rochow.
Forum: Plugins
In reply to: [Advanced Woo Search - Product Search for WooCommerce] FacetWP CompatibilityThere is actually a problem with this. The footer menu goes to hell on the search page.
It looks to work when is_main_query() is checked. Not sure of any adverse side affects, it seems to be good. This makes only the search query be overwritten instead of anything using a query on the page.
public function posts_pre_query( $posts, $query ) { if ( $query->is_main_query() && isset( $this->data['filtered_post_ids'] ) && ! empty( $this->data['filtered_post_ids'] ) ) { $posts = $this->data['filtered_post_ids']; } return $posts; }Forum: Plugins
In reply to: [Advanced Woo Search - Product Search for WooCommerce] FacetWP CompatibilityThanks for that! It looks to work now.
Forum: Plugins
In reply to: [Breadcrumb NavXT] PHP 8 Deprecated class.bcn_rest_controller.php on line 64Likewise, a huge log file being generated because of this simple error.
$namespace, $route, $args = array(), $override = false, $endpoint
should be:
$namespace, $route, $endpoint, $args = array(), $override = false
Thanks @mrclayton
I didn’t see that option, will have a look for it!
Once it goes ahead, I’ll double back to confirm how it went which may be useful for other people in the same position π
Forum: Themes and Templates
In reply to: [GeneratePress] Mobile Logo Query is SlowIf you store the ID wp_get_attachment_image_src is faster as it queries wp_posts which is always smaller.
On a WooCommerce site which has lots of meta it starts becoming noticeable per my screenshot, and example links I sent where sometimes itβs starts getting up to 10 seconds and crazy times (bad hosting playing a part too no doubt)
Thanks!
Forum: Themes and Templates
In reply to: [GeneratePress] Mobile Logo Query is SlowHi Tom,
`attachment_url_to_postid
generate_do_navigation_branding()`If I echo $settings[‘sticky_navigation_logo’] it’s got a full URL. Would be much more efficient to store the ID rather than the URL and then looking up the ID. Or both if you need it.
Example:
https://github.com/Yoast/wordpress-seo/issues/9622
https://core.trac.ww.wp.xz.cn/ticket/41281
https://github.com/Yoast/wordpress-seo/issues/10884Thanks,
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] WC Checkout Block CompatibilityThanks Niklas!
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] WC Checkout Block CompatibilityThanks Niklas. It would be good if an admin notice can be added if using blocks, or noted somewhere in the docs about this. One may expect the official WC PayPal plugin to be compatible with the official WC Blocks plugin, as this is a regression from the old Paypal plugin which this version is meant to be an improvement on. So I assume anyway, it’s unclear why there are now 3 different official PayPal integrations (core, old, this), my takeaway from reading support topics is this plugin is meant to be the latest and greatest, in which case you’d expect this to have more features and compatibility than previous versions, not less. I’m sure the branding/positioning of the various products is already something on the list π
Thanks,