mheefu
August 24, 2025, 10:33am
1
I saw this response: Unfortunately, it’s not possible at the moment to assign multiple categories to vendors; yet, there’s a workaround: try deleting the Category field (it’ll disappear from the registration form).
My question is: How do I delete the category field?
ChrisB
August 24, 2025, 11:01am
2
Hi @mheefu ,
You can try the following snippet to remove categories:
// Remove Category field from listing submit form
add_filter(
'hivepress/v1/forms/listing_submit',
function( $form ) {
unset($form['fields']['categories']);
return $form;
},
1000
);
// Remove Category field from listing filter form
add_filter(
'hivepress/v1/forms/listing_filter',
function( $form ) {
unset($form['fields']['_category']);
return $form;
},
1000
);
Or, to allow users to select multiple categories, see the solutions in this topic:
Hey,
Just dreaming up new ideas for potential use-cases, and thought it would be cool if we could allow end users the option of cross-posting listing details amongst various categories. To make it even cooler, allow us to monetise each additional category, (potentially with a discount for selecting multiple).
Cheers,
Chris
I hope this helps!
Cheers,
Chris
mheefu
August 24, 2025, 2:59pm
3
Thank you very much - will try and see
system
Closed
September 24, 2025, 1:15pm
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.