Gotta love the catchy title on this post from George Stephanis’s talk from WordCamp Philly: “The Seven Deadly Theming Sins”
You know it’s good cause George works for Automatic 😉
Thanks to Mike Jolley for his great post on ways to keep your site secure during development.
Plus, it comes with graphics!
When you’re responsible for the security of a site, it’s important that you understand about Bruce Force Attacks. These attacks happen when a number of people or a single person with a number of computers under his or her control tries to access your site multiple (hundreds or thousands of times) in order to try many different password combinations to hack your site.
Over the last couple of months we have seen an increase in brute force attacks from WordPress sites, and this article from WP Beginner can help you take some steps for protecting your site.
If you ever need to create a custom RSS feed, here is the basic process:
While working on a recent customization for a WooCommerce site, I had a little difficulty tracking down exactly where the orderby drop down that appears above product listings lives in the code. Since I didn’t find a blog post addressing this directly, I thought I would share what I figured out.
To remove the drop down and ordering options completely, add the following to your functions.php file:
remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’, 30 );
Some folks have commented that this works for them:
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 20 );
However, if you want to edit the drop down and make it something else. You can find the file at the following location:
You can then copy that file to your theme folder, edit it, and override the default drop down.
Hope this helps anyone who gets stuck looking for how to remove the Orderby drop down on WooCommerce listing pages.