20h
comment How to remove a product from an order id WooCommerce?
wc_delete_order_item should work fine, just make sure to use the order item ID, not the item ID
1d
comment taxonomy query on front page
Just to make sure... Do you have a page called Dogs, and a child page Poodles?
1d
comment How to check if a product is purchased within the last 365 days before displaying something
No need, thanks for following my blog:)
2d
awarded Popular Question
Jun
29
revised How to check if a product is purchased within the last 365 days before displaying something
Fixed a php warning
Jun
29
comment How to check if a product is purchased within the last 365 days before displaying something
Hi! I updated the code, the issue was in this line: ` $customer_bought = $item['product_id']; ` and should be replaced with $customer_bought[] = $item['product_id']; The rest of the code is fine:)
Jun
28
revised How to check if a product is purchased within the last 365 days before displaying something
added 96 characters in body
Jun
28
answered How to check if a product is purchased within the last 365 days before displaying something
Jun
26
comment Show different content in the same URL
I don't think its a good SEO idea to change the content of the same url daily.
Jun
26
asked How can i fill a unique shape with evenly spaced dots to create a pattern?
Jun
25
answered Search WooCommerce Products in WordPress
Jun
25
comment update GST value in woocommerce
Tell me if i'm wrong, but isn't GST is some kind of a tax which is calculated by WooCommerce based on Settings / Tax options? So you can edit your rates there to update the GST amount.
Jun
24
answered Display inner pages like posts.[Like how post excerpt works]
Jun
23
comment CSS overlayed rgba transpanrency
Looks like 0.51, but i have no idea how to calculate it: jsfiddle.net/rf3p1yLg/1
Jun
23
comment CSS overlayed rgba transpanrency
cloudup.com/cgZGi_Ilw9u
Jun
23
comment CSS overlayed rgba transpanrency
I tried it in photoshop and i was able to get the same color using 51% as the opacity
Jun
23
revised Order By Multiple Meta Fields
added 422 characters in body
Jun
23
comment Order By Multiple Meta Fields
Yep, sorry, i understand your question now. You can pass an array into orderby in WP_Query to specify a fallback order if the default one wont work. I updated the code. Not sure if this would work for you, i tried it with a couple of posts but obviously i can't replicate the exact stuff you're trying to do.
Jun
23
revised Output column number according to active sidebars
deleted 3 characters in body
Jun
23
accepted How to disable user registration for the default subscriber user role?
1 2 3 4 5