ScottCodes
Forum Replies Created
-
Yes that’s correct.
The solution was for us to uncheck the Wordfence > All Options > “Enable activity report widget on the WordPress dashboard”.
That widget appears to call count_users().
Thanks for the help. We’re all set.
If a custom template can allow us to set this, then yes it would help ->
'suppress_content_filters' => 'yes',
The issue is that when we insert Content Block shortcodes into Posts and Pages, WordPress adds <p></p> and interprets some line breaks in the code as <p></p>. We spend almost as much time debugging these random line breaks as we do writing the html in the Content Blocks. We think that the cause is WordPress passing these blocks through apply_filters( ‘the_content’, ‘this_content_block’ ). Maybe not?
Our workaround has been to minify all html in a Content Block. But then it is hard to read ??
Thanks for following up!
- This reply was modified 3 years, 9 months ago by ScottCodes.
- This reply was modified 3 years, 9 months ago by ScottCodes.
We see where in post-widget.php line 176 you set
'suppress_content_filters' => 'no',
We wish we could set the default to
'suppress_content_filters' => 'yes',
..but we don’t know how to do that without forking your plugin.
Works.
Thank you!
With that complete, I then wanted in the Content Blocks archive page to filter posts by that taxonomy. This tutorial helped:
https://generatewp.com/filtering-posts-by-taxonomies-in-the-dashboard/
Thanks, your first tip worked: I switched from ‘Text’ view to ‘Visual’ and then back to ‘Text’. At that point there were a series of   in the Text view. I deleted them. Now the html renders as expected:
https://www.forceofnatureclean.com/test-content-block/Thanks for your response.
I think that we are trying to do the inverse:
We like the “Editor” role because it can edit posts. But we want to remove the capability for an ‘Editor’ to edit Content Blocks. This will allow our editors to edit posts but not edit content blocks. That is what we are trying to achieve.
We are not trying to create a new role that can edit Content Blocks.
Hope this makes sense.
Yes, we can confirm that in our case there was a delay of at least 12-24 hours before Mandrill recorded any opens and clicks from emails relayed by our new Mandrill account. By the 2nd day our open and click rates were accurate.
We had opened a support ticket with Mandrill in which they could only generally say that “sometimes there is a slight lag”, similar to the answer in Stack Overflow above. But it wasn’t until the 2nd day of our new account that we felt the open and click data in Mandrill were reliable.
- This reply was modified 4 years, 6 months ago by ScottCodes.
Thanks, we converted the hard way: we copied the html from each block in “Global Content Blocks” and pasted it into a new “Global Blocks” blocks. Then we changed over the shortcodes on all pages from Global Content Blocks to your plugin’s.
It seems like that was the slowest but only approach.
Thanks again for the excellent plugin.
Forum: Plugins
In reply to: [Autoptimize] Is there a way to make jquery load asynchronously?Thank you that works!
We haven’t resolved this issue but it looks like someone might have here:
https://premium.wpmudev.org/forums/topic/notification-of-customer-notes-in-woocommerceMaybe try this in functions.php (from the bottom of that page):
function woo_email_customer_message( $order_id ) {
$order = new WC_Order( $order_id );
var_dump($order);
if( $order->customer_note != ” ) {$to = ‘[email protected]’;
$subject = ‘New Order Completed with Notes!!! :)’;$message = ‘A new order has been completed.’;
$message .= ‘Order ID: ‘.$order_id.”;
$message .= $order->customer_message;
@wp_mail( $to, $subject, $message, $headers );
}
}
add_action( ‘woocommerce_thankyou’, ‘woo_email_customer_message’ );Solved, thank you!
Your guidance pointed us in the right direction.
Yes, our Console showed 3 instances of “Uncaught ReferenceError: jQuery is not defined” when we had Autoptimize “Optimize JavaScript code”.
We solved that in Autoptimize by excluding jquery.js. So jquery.js now loads separately, earlier. And the plugin “Cool Image Hover” works now works as expected. Solved.
If that’s not how I should have solved it please let me know. Otherwise we;re set and grateful for your advice!
- This reply was modified 7 years, 3 months ago by ScottCodes.
Hi – I think this limit of 10 items deleted may still exist. I’m running the updated Version 1.7.2 but still have the issue. I can only delete 10 orders at a time. Otherwise this seems like a really useful plugin
Forum: Plugins
In reply to: [WooCommerce] What field name is customer’s full name like “John Smith”Thanks.
Can you please tell us what is the field name and in what table that WooCommerce 3.0 now uses for the “John Doe” searchable name, please?
We are trying to fill that field in for all our previous orders so that we can search by full name and see all orders both pre- and post-Woocommerce 3.0
Scott
Forum: Plugins
In reply to: [WooCommerce] Since 3.0, Order Search seems to miss some ordersMike,
Is the searchable full name like “John Doe” that you referred to in WooCommerce 3.0 now placed in the “display_name” column in “wp_users”?
And is that column built from the wp_postmeta table of the columns _billing_first_name + “ “ + _billing_last_name?
This can help us write maybe a SQL script that retroactively scans past orders and updates their display_name field.
Maybe that will allow us to scan by name like “John Doe” for all past orders, both pre- and post- WooCommerce 3.0
- This reply was modified 7 years, 7 months ago by ScottCodes.
- This reply was modified 7 years, 7 months ago by ScottCodes.
Forum: Plugins
In reply to: [WooCommerce] Since 3.0, Order Search seems to miss some ordersHi Mike,
Thanks for explaining.
Apologies if I misunderstood your response, but is there no way to search for all of John Doe’s past orders (including both pre- and post- WooCommerce 3.0) through WooCommerce >> Orders?
Or, is there a way to cause WooCommerce to reindex all past orders for the new search index so that we can then find by search all of say John Doe’s past orders?
The reason is that our business runs on repeat sales, maybe like some other WooCommerce sites, so we greatly value being able to search by customer name and find all orders.
Again, sorry if I misunderstood your reply.
Scott