Skip to content

Custom Fields

Pro. This feature requires WB Member Blog Pro. The free plugin must be installed and active first. See the Pro index for every Pro module.

Adds extra fields to the post submission form, so members can supply structured information alongside their post. On by default.

Settings live at Member Blog > Custom Fields.

  1. Go to Member Blog > Custom Fields.
  2. Give the field a label and pick a type.
  3. Save.

Fields appear on the post submission form in the order they are listed. Drag a field to reorder it, and use inline editing to rename one without opening a separate screen.

Type Notes
Text A single line
Text Area Multiple lines
Number Numeric input
Web URL A URL
Dropdown Choose one from a list of options
Multi Dropdown Choose several
Radio Buttons Choose one
Checkboxes Choose several
Oembed A URL that is embedded when the post is shown
Image Image upload
Video Upload Video upload
File File upload
Gallery Multiple images
Date Date picker
Datetime Date and time picker

Dropdown, Radio Buttons and Checkboxes take a list of options that you define with the field.

A field can be shown only when another field has a particular value. Set the condition on the field, and the form hides or shows it as the member fills the form in.

Custom field values are not printed automatically. Put them where you want them with the shortcode:

[bp-member-blog-custom-field key="location"]
Attribute Default Description
key (empty) The field’s key. Required; without it the shortcode renders nothing.
post_id Current post Which post to read the value from
sep , Separator used when the value has several parts (checkboxes, multi-dropdown, gallery)
show_empty 1 Whether to output anything when the field has no value

Place it in a template, or inside post content, or in a widget on a single-post page.