Hello, In ExpertHive, Im wondering if it is possible with a snippet to change the sort order of attributes within the Listing Secondary only
For example
the sort order for the following attributes is
yearsinbusiness
order = 70financingavailable
order = 60bbbrating
order = 90
However, in the Listing Secondary section, I would like to revie the sort order to
yearsinbusiness
order = 10- f
inancingavailable
order = 20 bbbrating
order = 30
It looks like this snippet might have something to do with it but im unable to figure out how to add my attributes
add_filter(
'hivepress/v1/templates/listing_view_page',
function( $template ) {
return hivepress()->helper->merge_trees(
$template,
[
'blocks' => [
'listing_attributes_secondary' => [
'_order' => 123,
],
],
]
);
},
1000
);
any advice and suggestions are much appreciated.