HivePress hide fields by category

Hide HivePress fields based on listing category.

Category-specific listing forms are cleaner when fields like bedrooms, mileage, or service area only appear for categories that need them.

HiveNest is a WordPress plugin for HivePress listing sites. It helps site owners create conditional listing form rules without editing theme templates, with 1 active rule available without a license and paid licenses for unlimited active rules.

The problem: categories need different details

A property category may need bedrooms and bathrooms, while a vehicle category needs mileage and transmission. Showing both sets to every submitter makes the form feel generic and noisy.

The category choice is often the natural trigger for showing or hiding a group of listing fields.

Why this is hard in HivePress

Depending on the site setup, category may be chosen before the form, inside the form, or represented by another selection field.

That difference matters. A conditional rule can work when the category or category-like value is available in the supported listing form context.

Common workaround

Site owners often write a snippet that checks the selected category and hides field wrappers that do not apply.

Other workarounds create separate templates or forms for each category, which can increase maintenance work.

Where the workaround breaks down

Category snippets can break when category ids change, when child categories are added, or when the form is edited after submission.

Separate templates can drift apart, leaving one category form updated while another is forgotten.

How HiveNest helps with category-based hiding

HiveNest helps when the controlling category or category-like selection is available as a trigger on supported listing submit and edit forms.

You can use rules to hide irrelevant child fields or reveal the fields that belong to a specific listing path.

Practical example

Property category example

Trigger
Category = Property
Result
Show Bedrooms and Bathrooms; keep them hidden for non-property listings

A classifieds site can avoid asking service providers or product sellers for property details that do not apply.

How to plan category-specific fields

  1. Step 1

    Confirm how category is selected on your listing form.

  2. Step 2

    List fields that only belong to one category path.

  3. Step 3

    Create rules around the category or category-like trigger.

  4. Step 4

    Test parent and child category behavior before launch.

FAQ

Can HiveNest read every HivePress category setup?

Category behavior depends on how the form exposes the category or selection. HiveNest works best when the trigger is available in the supported listing form context.

Should I hide fields or create separate forms?

For many sites, conditional visibility is easier to maintain. Very custom category flows may still need custom development.

What category fields should I hide first?

Start with obvious category-only fields, such as bedrooms for property or mileage for vehicles.