fbpx

Reply To: Categories in Dropdown

HomeSupport forumCategories in DropdownReply To: Categories in Dropdown
#13937
Artem Temos
Artem Temos
Keymaster

Hello,

Try to edit the file templates/search.php and replace the following code

wp_list_categories(
	array(
		'title_li' => false,
		'taxonomy' => 'product_cat',
		'use_desc_for_title' => false,
	)
);

with this one

wp_list_categories(
	array(
		'title_li' => false,
		'taxonomy' => 'product_cat',
		'use_desc_for_title' => false,
		'orderby'  => 'meta_value',
		'meta_key' => 'order', // phpcs:ignore
	)
);

It will be also fixed in our next theme update.

Kind Regards

Sign in

No account yet?

Create an Account