Skip to content

Admin columns and bulk edit

The Columns module owns the whole column set of a post type's list screen in WordPress: its own columns and your VX fields together, in one order, renamed and sized however you like.

It is on out of the box — the only module that is. A Columns item sits in the VX Modules submenu.

The Columns screen — the Properties list's columns in order, each with its heading, width, and options

Building the column set

Pick a post type. The screen lists its columns in the order they appear on the list screen. For each one:

SettingWhat it does
OrderMove up and down. WordPress's own columns move too
Column headingRename it. Leave empty for the field's own label
WidthAny CSS width, or empty for auto
SortableClick the heading to sort by this field
FilterA dropdown for this field in the list toolbar
Quick EditInclude this field in WordPress's Quick Edit

Sorting, filtering, and Quick Edit are only offered where the field type supports them — you cannot sort by a gallery.

Native columns can be hidden. The title column stays.

How each type is drawn

Values are formatted by type rather than dumped as raw meta:

Field typeOn the list
ImageA thumbnail
GalleryA thumbnail with a count
Select, radio, button groupThe choice's label, not its stored value
Multiselect, checkboxesThe labels, comma-separated
Number, stepper, sliderFormatted as a number
Date, date-time, timeFormatted with the site's format
SwitchA check or a dash
RelationLinks to the related posts
TermsThe term names
ColorA swatch

Bulk edit

Select posts on the list screen. Any column whose field can be edited grows a Bulk edit button in the toolbar; clicking it opens a modal for that one column.

The modal previews before it writes. It lists every selected post with what the field is now and what it would become, so you approve the actual result rather than trusting the operation. Only then does it apply.

Values go through VX's runtime on the way in, so field types are coerced and your validation rules apply. A change that would break a rule is refused with the same message you would see anywhere else.

The operations, by field type

TypeOperations
Text, email, URL, phone, color, code, paragraph, rich textReplace · Find and replace · Add to the start · Add to the end · Clear
Number, stepper, sliderSet · Add an amount · Subtract an amount · Raise or lower by a percentage · Clear
SwitchTurn on · Turn off · Flip
Select, radio, button groupSet · Clear
Multiselect, checkboxes, list, terms, related posts, related usersReplace the lot · Set one · Add · Remove · Clear
Date, date-timeSet · Move by a number of days · Clear
TimeSet · Clear
Image, SVG, video, audioClear
GalleryClear

Percentage changes round to six places and come back as whole numbers where they land on one, so raising 100 by 10% gives 110, not 110.000000.

The same bulk editor is available from the Sheet.

Quick Edit

Fields marked for Quick Edit appear in WordPress's own Quick Edit row, saving without a page load. Only the simple types are offered — text, numbers, choices, switches, dates. Anything that needs a picker belongs in the Sheet or the post editor.

Quick Edit and validation

Quick Edit saves through the classic editor path. A post that would break a validation rule is saved as a draft with a notice rather than published — the same behavior as the classic editor. See Validation.

Built by Code Wattz.