Adding a ‘featured’ filter to WooCommerce products screen
As usual add this code to your functions.php
Filtering only featured products comes in handy in several scenarios especially reordering them
As usual add this code to your functions.php
Filtering only featured products comes in handy in several scenarios especially reordering them
Sometimes WooCommerce notices get stuck for different reasons, but we’ve had this particular woocommerce notice persisting in more than one woocommerce sites. To get rid of this “Critical vulnerabilities in WooCommerce” notice you have to set the notice to “actioned”. In order to that, you can either go to phpMyAdmin and do it manually like…
Protip: 💡You can use | pipes to preview multiple fonts at once. Backstory: There I was trying to choose a font that I can use as a logotype out of a few candidates I noticed Google fonts has no option to “select” some fonts so that I can view them all at once. So intuitively…
Here is the script its pretty self-explanatory on its own. Will expand on it later
for ((i=1; i<=5; i++)); do history -d $(history 1 | awk ‘{print $1}’); done to get rid of the last 5 lines / commands
We added a loop grid and a taxonomy filter for our products but when clicked on any filter – product tag in our case – there was no results. Query monitor gave the error : Unknown column ‘t.term_order’ in ‘order clause’ But the default wp _terms table did not have a term_order column anyway. So…
If you manage a Linux server, you know the drill: you check your logs and see a single IP address making 20,000 requests in an hour. Is it a legitimate crawler, a customer having a bad day, or a malicious bot searching for vulnerabilities? Manually checking every IP against threat databases is exhausting. To solve…