How to add vendor profile fields

If you want to add custom vendor profile fields (in HivePress, they are called “attributes”), you can do that in the WP Dashboard > Vendors (Hosts) > Attributes > Add New section.

Each attribute can be customized in several different contexts: Editing, Search, and Display. We’ll cover each context and its settings below.

You can also make attributes category-specific. In the right sidebar, assign the attribute to one or more vendor categories, if no categories are selected, the attribute will be available for all categories. If you have category-specific attributes, they will only appear once the corresponding category is selected: in the profile form, the relevant fields will be shown based on the chosen category, and in the filter form, category-specific attributes will only be displayed once a category is selected, keeping the filter form clean and uncluttered.

Editing

  • Editable — if this is enabled, vendors will be able to edit this field on the front end;
  • Field Type — here, you can choose the attribute type like URL, Text, Checkbox, etc.;
  • Description — you can add the attribute description if it’s unclear (it will appear below the attribute title);
  • Placeholder — here, you can set the text that will be displayed in the attribute field as a hint until you enter the actual value.

Additional fields may appear depending on the selected Field Type. For example, choosing Select will add an Edit Options field to define the available choices, while choosing Number will add Min Value and Max Value fields to restrict the allowed range.

  • Filterable — enable it if you want to allow website visitors to use this attribute value as a search filter for vendors;
  • Indexable — enable it to allow searching the attribute value via keyword search on your website;
  • Sortable — if enabled, the website visitors will be able to sort user profiles by the attribute value (e.g., sort user profiles by the years of work experience);
  • Searchable — enable this option if you want to allow users to use this attribute value as an option to search for listings in the search bar (appears when a field type that supports search is selected in this section);
  • Field Type — here, you can specify how the filter will be displayed in the sidebar.

Display

  • Areas — here, you can define where your attribute will appear on a vendor profile template (please check the picture below to get a better idea of the template areas);
  • Icon — here, you can set an icon for your attribute;
  • Format — here, you can set how the attribute will look on the front end using existing tokens or additional HTML code (e.g., you can set your custom field as a link using this format <a href="%value%">Custom link</a> )
Vendor attributes settings

Once you publish an attribute, all new vendors on your website will have to fill out this profile field.