Hi I was kindly given the following code snippet for specifying my number of category images displayed, ie columns.
I need a snippet to do the same for the subcategory display please.
add_filter(
'hivepress/v1/templates/listing_categories_view_page',
function( $template ) {
return hivepress()->helper->merge_trees(
$template,
[
'blocks' => [
'listing_categories' => [
'columns' => 4,
],
],
]
);
}
);