Back

VibeFox Custom Fields — Help

Requirements

WordPress: 5.8 or later.

PHP: 8.0 or later.

Google Maps (optional): a Google Maps API key (Maps Embed API) for Google Map fields. Without a key the map is shown with OpenStreetMap.

VibeFox license key: bought on vibefox.net. One key works on one domain.

Installation

1. In WordPress go to Plugins > Add New > Upload Plugin, choose the plugin ZIP file and click Install Now. You can also upload the vf_custom_fields folder to /wp-content/plugins/ by FTP.

2. Click Activate. WordPress opens VF Custom Fields > Settings > License. Paste your VibeFox license key into License key and click Activate. Until the key is active the plugin stays switched off and its menu shows only Settings (see License key).

3. Once the key is active, the menu VF Custom Fields appears in the WordPress admin with Field Groups, Import / Export, Tools, Documentation and Settings.

4. Go to VF Custom Fields > Field Groups, click Add Field Group, add fields and set the location rules (for example Post Type is equal to Post).

5. Choose where and how to show the group in Display Settings and save.

6. Edit a post of that type, fill in the fields and update it. The fields appear on the site.

Configuration

All plugin screens are available to administrators.

Field Groups

VF Custom Fields > Field Groups lists the groups with Title, Fields, Location, Display, Shortcode and Status, a status filter, search and the bulk actions Activate, Deactivate and Delete. Row actions: Edit, Duplicate, Activate or Deactivate, Delete. Deleting a group keeps the saved values in the posts, but the fields disappear from editors and the site.

The group editor has these parts:

Field group title: for example "Product Specifications".

Fields: click Add Field and choose a type in Choose a field type (with Search field types…). Drag fields to reorder them, use Duplicate and Delete, and Collapse all. Each field has:

Label: shown in the editor and on the site.
Name: used in shortcodes and code. Lowercase letters, digits and underscores. Copy shortcode copies the [vf_field] shortcode of the field.
Type and the settings of this type (for example choices as "value : Label" one per line, min and max, max length, pattern, rows of a repeater).
Required: the field must be filled in.
Show in the admin posts list: adds a column for this field.
Include this field in automatic display: turn it off to show the field only through manual placements.
Conditional logic: show this field only when all conditions match. + Add condition compares another field with is equal to, is not equal to, contains, does not contain, has any value, has no value, is greater than or is less than.

Repeater and group fields have + Add sub field with the sub field types text, textarea, number, email, URL, phone, select, true / false, date, time, color, image and file.

Location Rules: show this field group in the editor (and on the site) when the rules match. All rules of a group must match (AND); any group may match (OR). Use + and and + Add rule group (or). Parameters: Post Type, Post, Post Status, Post Format, Post Category, Post Taxonomy Term, Page / Post Template, Page Type (Front Page, Posts Page, Top Level Page, Parent Page, Child Page), Page Parent and Current User Role, with is equal to or is not equal to.

Display Settings:

Automatically display this group: shows the group at its position on single posts and pages that match the location rules.
Where: After the content, Before the content, Theme hook (action) with Hook name and Hook priority (any action your theme or plugins fire on single pages, for example woocommerce_after_single_product_summary), Manual: shortcode / PHP, Manual: "Field Group" block or Manual: sidebar widget.
Layout: Table, List, Grid (with Grid columns), Cards, Inline, Accordion, Tabs, Slider or Custom Template.
Template: for Custom Template: HTML with placeholders {name} value, {name_label} label, {name_raw} raw value, {post_title}, {post_date}, {post_url}, and the blocks {if name}…{/if} and {foreach repeater_name}…{/foreach}.
Who can see it: Everyone, Logged-in users, Users with a role (with Roles), Desktop visitors only or Mobile visitors only.
Show the group title, Show field labels, Show empty fields, Wrapper CSS class and Wrapper ID.

Group: Active (inactive groups are hidden in editors and on the site), Slug (generated from the title) and Order (lower numbers are shown first).

Usage: the shortcode of the group, the shortcode of one field and the PHP call. Click Save Field Group or press Ctrl+S.

Settings

The settings are on VF Custom Fields > Settings, in tabs on the left. Click Save Changes after editing.

General

Automatically display fields: shows field groups at their automatic positions. You can still place fields manually using a shortcode, WPBakery, Elementor or a theme function. Default: on.

Default Layout: the layout preselected for new field groups and used by shortcodes and PHP functions when a group has no layout: Table (default), List, Grid, Cards or Inline.

Performance

Cache Field Definitions: keeps field groups and field definitions in the WordPress object cache (persistent with Redis or Memcached). Flushed automatically when a group changes. Default: on.

Cache Lifetime (seconds): how long cached definitions live in a persistent object cache. Default: 3600.

Lazy Load Images: adds loading="lazy" to images and maps rendered by the plugin. Default: on.

Frontend Forms

Allow Guest Submissions: lets visitors who are not logged in submit new entries (saved as "Pending Review", 5 per 10 minutes per visitor). Off: only logged-in users who can create posts may submit. Default: off.

Post Type for New Entries: the post type of entries created by [vf_form]. Default: Post.

REST API

Enable REST API: registers the /wp-json/vf-cf/v1/ routes. Reading requires a logged-in user; writing requires an administrator. Default: on.

Integrations

Google Maps API Key: used by the Google Map field (Maps Embed API). Without a key the map is shown with OpenStreetMap.

Logging

Logging: writes plugin events (saved field groups, imports, form submissions and errors) to the protected log file in the plugin's logs folder. Default: off.

Log Level: Info (everything), Warnings and errors or Errors only (default).

Max Log Size (MB): the log is rotated when it grows larger. Default: 5.

Debug Mode: administrators see the field name (key) when hovering a field on the frontend. Default: off.

Uninstall & Clear

Delete Data on Uninstall: when the plugin is deleted, removes its tables, settings, logs and all saved field values. Deactivation never deletes data. Default: off.

Data Cleanup: buttons that delete data at once, after a confirmation:

Delete Field Definitions: deletes all field groups, fields, display rules and related definitions. Saved values remain in their posts.
Delete Saved Values: deletes all custom field values saved by this plugin in posts. The field definitions are kept.
Delete Orphaned Values: deletes saved values of fields that no longer exist in any field group.
Clear Cache: flushes cached field group and field definitions. The cache is rebuilt as needed.
Clear Log: clears the current log and its rotated files.

License

The VibeFox license block (see License key).

Status

Shows the PHP and WordPress versions against the minimum versions and the detected language plugin.

Import / Export

Download Export File saves the settings as a JSON file. Import loads settings from a JSON file or pasted text.

Tools

VF Custom Fields > Tools: Clear Cache (flush cached definitions), Repair Database with Run Repair (creates missing plugin tables and columns; existing data is kept) and Clean Orphaned Values with Clean Up (deletes saved values of fields that no longer exist in any field group).

How it works

Editing

The fields of matching groups appear in meta boxes of the classic and the block editor. Tabs and accordions organize long groups. Images, files and galleries use the media library, dates and times use native pickers, and repeater rows can be sorted. Values are checked on the server per type (required, min and max, max length, patterns, JSON, gallery and relationship limits). New posts get the default values. Values are stored in post meta as _vf_cf_{field_name}.

Display on the site

Groups with automatic display appear on single posts and pages that match the location rules, at the chosen position, in the chosen layout and only for the chosen visitors. Automatic display can be turned off globally, for a group or for one field; manual placements still work. The plugin loads its CSS and JavaScript only on pages that show fields.

Manual placements

Shortcodes: see Shortcodes below.
Block: in the block editor add the "Field Group" block (Widgets category) and choose a group.
Widget: add the "VibeFox Custom Fields" widget to a sidebar in Appearance > Widgets and choose a group.
WPBakery and Elementor: the "VF Field" element in WPBakery and the widget in Elementor show a field with a server-rendered preview. Elementor also gets text, image and URL dynamic tags for controls that accept dynamic content.
PHP: vf_cf_get_field( 'price' ) returns the raw value of the current post, vf_get_field( 'price', [ 'post_id' => 123 ] ) returns formatted HTML, vf_field( 'price' ) prints it, vf_cf_render_field( 'price' ) and vf_cf_render_group( 'product-specs' ) render a field or a group.

Frontend forms

[vf_form group="slug"] shows a form of a field group. Without post_id it creates a new entry with the status "Pending Review"; with post_id="current" or an ID it edits that post, only for users who may edit it. Field types that need the media library or complex editors are not shown in forms. Forms have a honeypot, a rate limit and validation messages per field.

Admin columns

Fields with Show in the admin posts list get a column in the admin list of their post type, with sorting, filtering and Quick Edit.

External services

Only when you use them: QR Code fields load the image from api.qrserver.com, map fields embed OpenStreetMap or Google Maps (with your API key), and oEmbed fields use the provider of the URL.

Location rules work for posts of any type; users, terms, menus and options are not locations. The plugin has no flexible content, clone fields or custom table storage.

Shortcodes

[vf_field name="price"]: one field. Arguments: post_id, user_id, term_id or option="yes" (where the value comes from; by default the current post, page or product), format (default, label_value, text or raw), size (a registered image size), separator (for lists of values), link="yes" or link="no", before, after and default (text for an empty result). Examples: [vf_field name="price" before="Price: " default="On request"], [vf_field name="photo" post_id="123" size="medium" link="yes"]. Password values stay private. Put tables, galleries and other block-level values in a Shortcode block or on their own line.

[vf_field_group group="product-specs" layout="cards"]: a field group, with optional post_id, layout and columns.

[vf_fields]: all groups that match the current post, with optional post_id, layout and columns.

[vf_form group="slug" post_id="" redirect="" submit_text=""]: the frontend form.

Values of private posts are not shown by shortcodes.

Import / Export

VF Custom Fields > Import / Export:

Export Field Groups: Export JSON downloads the selected groups (fields, location rules, display settings).

Import Field Groups: paste JSON exported by this plugin or choose a .json file. Imported groups are added as new groups.

Import from ACF: paste a field group export from Advanced Custom Fields (Tools > Export). Field types, choices, location rules and instructions are converted.

Export Field Values (CSV): all custom field values of one post type, one row per post (UTF-8, opens in Excel and LibreOffice).

Import Field Values (CSV): a file in the export format: first column post_id, then one column per _vf_cf_ meta key. Existing values are overwritten.

Local JSON Sync: Sync to Files writes every group to JSON files in your theme (folder vf-cf-json, for Git and deployment), Sync from Files loads them back into the database.

REST API

The routes /wp-json/vf-cf/v1/ are registered when Enable REST API is on. Reading requires a logged-in user; writing requires an administrator and changes only known fields, sanitized by type.

License key

VibeFox license key: bought on vibefox.net. One key works on one domain.

The plugin works only with an activated key. Without it the plugin is switched off: its features, shortcodes, blocks, admin pages, scheduled tasks and e-mails do not run, and its menu shows only Settings with the License tab. Your settings and data are kept and come back as soon as a key is activated. Right after you activate the plugin in Plugins, WordPress opens this tab.

Open VF Custom Fields > Settings > License, paste the key into License key and click Activate. The plugin switches on at once (the page reloads). The block License — VibeFox Custom Fields then shows the masked key, the status Active until with the date and the domain, the buttons Check now, Change key, Remove key and the link Manage licenses and domains in your account.

Messages under the field: The key looks incomplete — copy the whole key from your account. (nothing is sent), Key not found. Check that you copied the whole key from your account., This key belongs to another product. (use the key bought for VibeFox Custom Fields) and Domain limit reached (free a slot for this domain in your account, then click Check now). After the site address changes, click Check now.

An expired license keeps the plugin working, but without updates and support. Remove key switches the plugin off on this site; the domain slot is freed only in your vibefox.net account. If the license server cannot be reached, the plugin keeps working on the last known status. When the plugin is deleted, the key and its status are always removed.

Troubleshooting

The plugin menu shows only Settings: the license key is not active. Open VF Custom Fields > Settings > License and click Activate (or Check now if a key is already entered); the messages under the field are explained in License key.

The fields do not appear in the editor: check that the group is Active and the Location Rules match the post. Rules inside a rule group must all match; one matching rule group is enough.

The fields do not appear on the site: check Automatically display fields in the settings, Automatically display this group, Who can see it and Show empty fields. Automatic positions work only on single posts and pages. With Theme hook (action) check that your theme fires the hook.

Changes to a group do not show: click Clear Cache in Tools.

Error saving a group: "Every field needs a name." or "Field name … is used more than once.": give every field a unique name.

Map shows OpenStreetMap instead of Google Maps: enter the Google Maps API Key.

Tables are missing after a migration: run Repair Database in Tools.

Something else goes wrong: turn on Logging and check the log in the Logging tab.

Uninstall

Deactivating the plugin never deletes data. To remove it, deactivate and delete it on the Plugins page. The license key and license status of this plugin are always removed. If Delete Data on Uninstall was on, deleting also removes the plugin tables, settings, logs and all saved field values (post, user and term meta). Otherwise they stay for a later re-install.

Advanced Custom Fields, Google Maps, OpenStreetMap, Elementor and WPBakery are trademarks of their respective owners. This plugin is not affiliated with or endorsed by them.

Bug Report

Thank you for helping us improve. We carefully review every report, but we do not reply to them individually. If your report leads to a change, it will be listed in the product changelog together with the report number. To discuss something in detail, please open a support ticket.

Slide to fit the puzzle