Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Mystile - Only display parent categories on homepage
add_filter( 'mystile_homepage_product_categories_params', 'homepage_parent_categories_only' );
function homepage_parent_categories_only( $params ) {
$params = 'parent="0"';
return $params;
BurnzZ commented Sep 21, 2014

Omg. This saved me! Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.