Orderby is wrong
-
Hi guys, in the plugin you have this code around line 348:
$args = array( 'number' => '', 'orderby' => '', 'order' => '', 'hide_empty' => '', 'include' => '' ); $product_categories = get_terms('product_cat', $args); ?>
Passing a blank string as the ‘orderby’ parameter prevents the categories from being sorted in the order the user specifies in the Woo interface. To fix this, cut the ‘orderby’ and ‘order’ lines. Can you make this improvement in the next version of the code?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Orderby is wrong’ is closed to new replies.