Hello,
How to reorder the category label (in this example mobile & apps) at the bottom of the listing page instead of top? thank you
Hello,
How to reorder the category label (in this example mobile & apps) at the bottom of the listing page instead of top? thank you
Hi,
Please use this PHP snippet:
add_filter(
'hivepress/v1/templates/listing_view_page',
function( $template ) {
return hivepress()->helper->merge_trees(
$template,
[
'blocks' => [
'listing_category' => [
'_order' => 123,
],
],
]
);
},
1000
);
You can add PHP snippet using this doc: How to add custom code snippets - HivePress Help Center
​I hope this is helpful to you.
And is it possible to add the category label just below the title? I checked the forum but couldn’t find a snippet. Thanks
Hi,
Yes, you just need to change the order number from “123” to “20”, for example, and test whether the category will be displayed under the title. If not, we recommend testing different order numbers as it may also depend on the theme itself.
Hello…I have a similar quetsion…how can I add more attributes to the vendor listing page…currently i only have Title and Category…I want a custom small bio or attribute which I can add or their social media links in vendor
Namaste Gaurav !
If you want to display more attributes, first you have to add them to your vendor, and then choose where you want them to be displayed.
Thanks a lot Cotasson!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.