Title: Deli: Remove Default Sorting dropdown
Last modified: August 30, 2016

---

# Deli: Remove Default Sorting dropdown

 *  [mleatherman](https://wordpress.org/support/users/mleatherman/)
 * (@mleatherman)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/deli-remove-default-sorting-dropdown/)
 * Hello, How do I remove one of the Default Sorting dropdown boxes from my product
   pages. There are 2 showing above and below the product thumbnails.
 * [http://stagedgifts.divine-gifts.com](http://stagedgifts.divine-gifts.com)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [James Koster](https://wordpress.org/support/users/jameskoster/)
 * (@jameskoster)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/deli-remove-default-sorting-dropdown/#post-6402182)
 * Hey,
 * You can try something like this:
 *     ```
       add_action( 'init', 'jk_remove_sorting' );
       function jk_remove_sorting() {
       remove_action( 'woocommerce_after_shop_loop',			'storefront_sorting_wrapper',				9 );
       remove_action( 'woocommerce_after_shop_loop', 			'woocommerce_catalog_ordering', 			10 );
       remove_action( 'woocommerce_after_shop_loop', 			'woocommerce_result_count', 				20 );
       remove_action( 'woocommerce_after_shop_loop', 			'woocommerce_pagination', 					30 );
       remove_action( 'woocommerce_after_shop_loop',			'storefront_sorting_wrapper_close',			31 );
       }
       ```
   
 * I recommend adding this snippet to our Theme Customisations plugin: [https://github.com/woothemes/theme-customisations](https://github.com/woothemes/theme-customisations)
 * Thanks
 *  Thread Starter [mleatherman](https://wordpress.org/support/users/mleatherman/)
 * (@mleatherman)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/deli-remove-default-sorting-dropdown/#post-6402295)
 * Where do I add this code? At the end of all the code that’s there…. Thanks
 *  [James Koster](https://wordpress.org/support/users/jameskoster/)
 * (@jameskoster)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/deli-remove-default-sorting-dropdown/#post-6402307)
 * You add it to this file: theme-customisations/custom/functions.php
 * Then upload and activate the plugin.
 *  Thread Starter [mleatherman](https://wordpress.org/support/users/mleatherman/)
 * (@mleatherman)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/deli-remove-default-sorting-dropdown/#post-6402314)
 * I did try your code, but it did not remove one of the Default Sorting dropdown
   boxes. And I did place the code in this file: theme-customisations/custom/functions.
   php
 * Any suggestions? Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Deli: Remove Default Sorting dropdown’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/storefront/4.6.2/screenshot.png)
 * Storefront
 * [Support Threads](https://wordpress.org/support/theme/storefront/)
 * [Active Topics](https://wordpress.org/support/theme/storefront/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/storefront/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/storefront/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [mleatherman](https://wordpress.org/support/users/mleatherman/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/deli-remove-default-sorting-dropdown/#post-6402314)
 * Status: not resolved