Tag Archives: Hack


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.

How to Add a Custom RSS Feed in WordPress

If you ever need to create a custom RSS feed, here is the basic process:

  1. Get the original RSS template (feed-rss2.php, feed-rss.php, or feed-atom.php)
  2. Save the file as another name and customize it how you need
  3. Convert the template into a custom page template by adding /* Theme Name: Custom RSS */
  4. Assign a new page the RSS template
  5. Should now work as your new RSS page

How to Remove the Orderby Dropdown for Products in WooCommerce

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.