If you’re putting code in templates:
array(
'number' => 'null',
'orderby' => 'name',
'order' => 'ASC',
'columns' => '4',
'hide_empty' => '1',
'parent' => '',
'ids' => ''
)
If you’re using the shortcodes:
[product_categories number="12" parent="0" ...etc]
I couldn’t get orderby=”name” to work when I just tested, but orderby=”date” worked like I thought “name” would. Such fun!
Thread Starter
maanse
(@maanse)
If you’re putting code in templates:
array(
‘number’ => ‘null’,
‘orderby’ => ‘name’,
‘order’ => ‘ASC’,
‘columns’ => ‘4’,
‘hide_empty’ => ‘1’,
‘parent’ => ”,
‘ids’ => ”
)
If you’re using the shortcodes:
[product_categories number=”12″ parent=”0″ …etc]
I couldn’t get orderby=”name” to work when I just tested, but orderby=”date” worked like I thought “name” would. Such fun!
Actually i haven’t put anything in the page. All i have done is in the woocommerce settings set the shop base page to this particular page. When i edit the page it is completely blank, so i assume there is some kind of default template somewhere.
Most likely. Look at which template that particular page is using and edit that one.