Skip to content

Commit

Permalink
Merge pull request #581 from pixeltrix/make-category-urls-heirarchical
Browse files Browse the repository at this point in the history
Make product category URLs heirarchical
  • Loading branch information
mikejolley committed Feb 6, 2012
2 parents 799e353 + c084f6e commit 862f751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ function init_taxonomy() {
'delete_terms' => 'manage_woocommerce_products',
'assign_terms' => 'manage_woocommerce_products',
),
'rewrite' => array( 'slug' => $category_base . $category_slug, 'with_front' => false ),
'rewrite' => array( 'slug' => $category_base . $category_slug, 'with_front' => false, 'heirarchical' => true ),
)
);

Expand Down

0 comments on commit 862f751

Please sign in to comment.