# VX Framework > Documentation for the VX Framework — model, manage, and query structured WordPress content from the dashboard, the REST API, or an AI agent. VX Framework is a WordPress plugin for modelling structured content: post types, taxonomies, fieldsets and their fields, option pages, dictionaries and dynamic data. It exposes that model over a REST API, a WP-CLI command set, and an MCP server, so an agent connected to a site can read and change its structure directly. Articles marked Pro describe features of the paid edition. They ship in both editions so a reader can tell what an upgrade would add; a Free install does not have them. This documentation describes version 1.3.0. ## Table of Contents ### Getting started - [What is VX Framework](https://docs.vxframework.com/getting-started/overview.md): The ideas behind VX — structures, fieldsets, locations — and how they fit together. - [Requirements and installation](https://docs.vxframework.com/getting-started/requirements.md): What your server needs, who can use the dashboard, and what happens to your data if you remove VX. - [Your first model](https://docs.vxframework.com/getting-started/your-first-model.md): Build a book listing — a post type, a fieldset, and a first entry — in about five minutes. - [A tour of the dashboard](https://docs.vxframework.com/getting-started/dashboard-tour.md): What each screen under VX in wp-admin is for. - [Free vs Pro](https://docs.vxframework.com/getting-started/free-vs-pro.md): What the Free edition includes and what Pro adds. ### Data model - [Post types](https://docs.vxframework.com/data-model/post-types.md): Create post types for new kinds of content, or take over the settings of ones that already exist. - [Taxonomies](https://docs.vxframework.com/data-model/taxonomies.md): Create taxonomies to group content, or take over the settings of existing ones. - [Fieldsets](https://docs.vxframework.com/data-model/fieldsets.md): Named groups of fields, designed once and shown wherever their Locations say. - [Comment types](https://docs.vxframework.com/data-model/comment-types.md): Kinds of comment, such as reviews or questions, with fields of their own. - [Option pages](https://docs.vxframework.com/data-model/option-pages.md): Settings screens for values that exist once for the whole site. - [Dictionaries](https://docs.vxframework.com/data-model/dictionaries.md): Reusable lists of choices that many fields share, plus built-in lists of countries, currencies, and units. - [Editing content](https://docs.vxframework.com/data-model/editing-content.md): Where editors fill in field values, who sees the fields, and what happens when they save. #### Post types - [Creating a post type](https://docs.vxframework.com/data-model/post-types/creating-a-post-type.md): Choose a permanent key, keep WordPress's built-in features, and add fields with a fieldset. - [Managing existing post types](https://docs.vxframework.com/data-model/post-types/managing-existing-post-types.md): Take over the settings of Posts, Pages, or another plugin's post types — and give them back. - [Post type settings](https://docs.vxframework.com/data-model/post-types/post-type-settings.md): URLs, editor features, menus, and REST visibility — and which changes have side effects. #### Taxonomies - [Creating and managing taxonomies](https://docs.vxframework.com/data-model/taxonomies/creating-a-taxonomy.md): Choose a key, attach the taxonomy to post types, and understand what stopping or deleting does. - [Taxonomy settings](https://docs.vxframework.com/data-model/taxonomies/taxonomy-settings.md): Hierarchy, term order, URLs, and where terms appear in wp-admin. #### Fieldsets - [Managing fieldsets](https://docs.vxframework.com/data-model/fieldsets/managing-fieldsets.md): Find, deactivate, duplicate, and delete fieldsets — and what each does to stored values. - [Locations](https://docs.vxframework.com/data-model/fieldsets/locations.md): Choose where a fieldset appears — post types, taxonomies or users — and narrow it with conditions. - [Conditional logic](https://docs.vxframework.com/data-model/fieldsets/conditional-logic.md): Show or hide a field based on the values of other fields on the same form. - [Revisions](https://docs.vxframework.com/data-model/fieldsets/revisions.md): Compare, restore, and download earlier versions of a fieldset's configuration. #### Comment types Pro - [Creating a comment type](https://docs.vxframework.com/data-model/comment-types/creating-a-comment-type.md): Register a comment type, choose the post types it's used on, and know what delete keeps. - [Using comment fields](https://docs.vxframework.com/data-model/comment-types/using-comment-fields.md): Add fields to comments, fill them in on the Edit Comment screen, and show them on your site. #### Option pages Pro - [Creating an option page](https://docs.vxframework.com/data-model/option-pages/creating-an-option-page.md): Create the page, place it in the admin menu, decide who can edit it — and know what delete removes. - [Using option page values](https://docs.vxframework.com/data-model/option-pages/using-option-page-values.md): Show option page values in blocks, page builders, PHP, and for AI assistants. #### Dictionaries Pro - [Creating a dictionary](https://docs.vxframework.com/data-model/dictionaries/creating-a-dictionary.md): Add entries by hand or in bulk, link fields to the dictionary, and understand what deleting does. - [System dictionaries](https://docs.vxframework.com/data-model/dictionaries/system-dictionaries.md): Built-in, read-only lists of countries, currencies, and units you can link to any choice field. #### Editing content - [Where fields appear](https://docs.vxframework.com/data-model/editing-content/where-fields-appear.md): The block editor panel, the classic editor box, terms and users — and who can see them. - [Saving and validation](https://docs.vxframework.com/data-model/editing-content/saving-and-validation.md): Which problems block a save, which are only warnings, and why hidden fields are left alone. ### Fields - [Field basics](https://docs.vxframework.com/fields/basics.md): How fields work, the settings every field shares, and how to pick the right type. - [Input fields](https://docs.vxframework.com/fields/input.md): Fields for things editors type or slide — text, numbers, colors, lists, and code. - [Choice fields](https://docs.vxframework.com/fields/choice.md): Let editors pick from options you define, or switch something on and off. - [Date and time fields](https://docs.vxframework.com/fields/date-and-time.md): Single dates, times, and date ranges. - [Media fields](https://docs.vxframework.com/fields/media.md): Images, galleries, SVGs, video and audio from the media library. - [Relational fields](https://docs.vxframework.com/fields/relational.md): Connect entries to terms, other posts, and users. - [Composite fields](https://docs.vxframework.com/fields/composite.md): Fields that hold other fields — groups and repeating rows. - [Geo fields](https://docs.vxframework.com/fields/geo.md): Store a place on a map, or a shape drawn on one. - [Layout fields](https://docs.vxframework.com/fields/layout.md): Sections, tabs, headings, notes, spacing, and HTML that shape the form but store nothing. #### Field basics - [Choosing a field type](https://docs.vxframework.com/fields/basics/choosing-a-field-type.md): A quick guide from "what am I storing?" to the right field type. - [Settings every field has](https://docs.vxframework.com/fields/basics/common-settings.md): Label, key, description, defaults, placeholders, and the extra tabs some fields add. - [Field keys](https://docs.vxframework.com/fields/basics/field-keys.md): Where values are stored, which keys can clash, and what happens when you rename one. - [Form layout and columns](https://docs.vxframework.com/fields/basics/form-layout.md): Put short, related fields side by side, and keep everything else full width. #### Input fields - [Text, email, URL, phone, and password](https://docs.vxframework.com/fields/input/text-fields.md): Single-line and multi-line text, plus fields that check the format of what's typed. - [Rich text](https://docs.vxframework.com/fields/input/rich-text.md): A formatted text editor whose output is limited to the formatting you allow. - [Markdown](https://docs.vxframework.com/fields/input/markdown.md): A Markdown editor with a toolbar and live preview, rendered to HTML when displayed. - [Number, stepper, and sliders](https://docs.vxframework.com/fields/input/numbers.md): Counts and measurements, values on a scale, and from–to ranges. - [Color](https://docs.vxframework.com/fields/input/color.md): A color picker that stores a clean hex value. - [List](https://docs.vxframework.com/fields/input/list.md): A simple list of short text items, like amenities or keywords. - [Code](https://docs.vxframework.com/fields/input/code.md): A code editor with syntax highlighting that stores snippets exactly as written. #### Choice fields - [Select, checkboxes, radio buttons, and button groups](https://docs.vxframework.com/fields/choice/select-and-checkboxes.md): Pick one or several options from a list you define. - [Switcher](https://docs.vxframework.com/fields/choice/switcher.md): A single on/off toggle for yes-or-no questions. #### Date and time fields - [Date, time, and date range](https://docs.vxframework.com/fields/date-and-time/dates-and-times.md): Store a day, a time of day, both together, or a start and end date. - [Recurring Date](https://docs.vxframework.com/fields/date-and-time/recurring-date.md): Built for events — multiple dates and date ranges, each with its own recurring interval. #### Media fields - [Image and gallery](https://docs.vxframework.com/fields/media/images-and-galleries.md): One image, or several in the order an editor arranges them. - [SVG](https://docs.vxframework.com/fields/media/svg.md): Upload vector icons and logos safely — VX cleans every SVG as it's uploaded. - [Video and audio](https://docs.vxframework.com/fields/media/video-and-audio.md): One video or audio file from the media library. - [Files](https://docs.vxframework.com/fields/media/files.md): Several downloadable files of any allowed type — PDFs, documents, spreadsheets. - [Upload settings](https://docs.vxframework.com/fields/media/upload-settings.md): Allowed file types, size limits, private uploads, and custom upload folders for media fields. #### Relational fields - [Taxonomy](https://docs.vxframework.com/fields/relational/taxonomy.md): Assign real WordPress terms from inside a fieldset. - [Select Post and Select User](https://docs.vxframework.com/fields/relational/select-post-and-user.md): Link an entry to other posts or users, with filters for what the picker offers. - [Post Relation and User Relation](https://docs.vxframework.com/fields/relational/relation-fields.md): Two-way links between entries, kept in sync from either side. #### Composite fields - [Group](https://docs.vxframework.com/fields/composite/group.md): Keep a few related fields together under one name. - [Repeater](https://docs.vxframework.com/fields/composite/repeater.md): The same set of fields, repeated as many rows as needed. - [Field Table](https://docs.vxframework.com/fields/composite/field-table.md): Rows and typed columns, edited like a spreadsheet. - [Content sections](https://docs.vxframework.com/fields/composite/content-sections.md): Flexible page sections — each row picks a layout with its own fields. - [Clone](https://docs.vxframework.com/fields/composite/clone.md): Reuse fields from another fieldset, kept in sync with the original. #### Geo fields Pro - [Location](https://docs.vxframework.com/fields/geo/location.md): An address with coordinates, found by search or set by dropping a pin. - [Area](https://docs.vxframework.com/fields/geo/area.md): A polygon drawn on a map — a delivery zone, a park, a service region. #### Layout fields - [Sections and tabs](https://docs.vxframework.com/fields/layout/sections-and-tabs.md): Arrange fields into boxes and tabs, and show or hide a whole set at once, without changing how anything is stored. ### Block editor - [Dynamic tags](https://docs.vxframework.com/block-editor/dynamic-tags.md): Bind blocks to field values so every page shows its own data. - [Data loops](https://docs.vxframework.com/block-editor/data-loop.md): Repeat a block for each item in a list — gallery photos, repeater rows, related entries. - [Visibility rules](https://docs.vxframework.com/block-editor/visibility.md): Show or hide any block for visitors, based on field values, the visitor, the page, or the time. - [Site Editor](https://docs.vxframework.com/block-editor/site-editor.md): Use dynamic tags, loops, and visibility in templates, with real sample content while you design. #### Dynamic tags - [Adding dynamic tags](https://docs.vxframework.com/block-editor/dynamic-tags/adding-dynamic-tags.md): Bind a block to a field, choose which part of the block it fills, and know how the value is displayed. - [VX Script](https://docs.vxframework.com/block-editor/dynamic-tags/vx-script.md): The small expression language behind dynamic tags — paths, text, modifiers, and math. - [Modifiers reference](https://docs.vxframework.com/block-editor/dynamic-tags/modifiers.md): Every modifier for formatting text, numbers, dates, and lists, and for conditional output. #### Data loops - [Looping a block](https://docs.vxframework.com/block-editor/data-loop/looping-a-block.md): Choose a list, design one item, and control how many items show. - [Looping content sections](https://docs.vxframework.com/block-editor/data-loop/content-sections.md): Show a different design for each layout of a Content sections field. #### Visibility rules - [Adding visibility rules](https://docs.vxframework.com/block-editor/visibility/visibility-rules.md): Build rules, combine them, and choose from field-based and built-in conditions. ### Bricks - [Bricks dynamic tags](https://docs.vxframework.com/bricks/dynamic-tags.md): The {vx_…} tags for every field, how images and choices output, and the formatting filters. - [Using Bricks](https://docs.vxframework.com/bricks/overview.md): What VX adds to Bricks Builder, and what stays in Bricks. - [Bricks query loops](https://docs.vxframework.com/bricks/query-loops.md): Use VX lists and relations as the source of a Bricks query loop. ### Oxygen & Breakdance - [Using Oxygen and Breakdance](https://docs.vxframework.com/oxygen-breakdance/overview.md): What VX adds to Oxygen and Breakdance, and what stays in the builder. - [Dynamic fields](https://docs.vxframework.com/oxygen-breakdance/dynamic-fields.md): Find VX fields in the picker, choose what they output, and format them. - [Loops](https://docs.vxframework.com/oxygen-breakdance/loops.md): Repeat a block for each row of a repeater, image of a gallery or related entry. ### REST API - [REST API essentials](https://docs.vxframework.com/rest-api/essentials.md): Typed field values on WordPress's own REST endpoints, hidden until you choose to expose them. - [Reading and writing values](https://docs.vxframework.com/rest-api/values.md): The shape of the vx object, how to update it, and the exact format for each field type. - [Advanced](https://docs.vxframework.com/rest-api/advanced.md): Errors, limits, caching, rate limiting, and extending the REST module. #### REST API essentials Pro - [Exposing content](https://docs.vxframework.com/rest-api/essentials/exposing-content.md): The three switches that decide what the REST API returns, and how to check the result. - [Access tiers](https://docs.vxframework.com/rest-api/essentials/access-tiers.md): Who sees a field — public visitors, logged-in users, or only editors — and the rules that always apply. - [Authentication](https://docs.vxframework.com/rest-api/essentials/authentication.md): Sign requests with an Application Password, or a cookie and nonce from your own site. #### Reading and writing values Pro - [Reading values](https://docs.vxframework.com/rest-api/values/reading-values.md): What the vx object contains, how media and relations appear, and how collections and caching work. - [Writing values](https://docs.vxframework.com/rest-api/values/writing-values.md): Update field values with the same endpoints, and understand merges, warnings, media, and errors. - [Field formats](https://docs.vxframework.com/rest-api/values/field-formats.md): The exact read and write format for every field type, including the ones that differ. #### Advanced Pro - [Errors, limits, and rate limiting](https://docs.vxframework.com/rest-api/advanced/errors-and-limits.md): Error responses, built-in caps, caching, and how to rate-limit REST traffic. - [Extending the REST module](https://docs.vxframework.com/rest-api/advanced/extending.md): Filters that change read and write decisions and output, and the discovery endpoint. - [Headless example](https://docs.vxframework.com/rest-api/advanced/headless-example.md): A complete read and write from a JavaScript front end, with error and warning handling. ### AI & MCP - [AI setup](https://docs.vxframework.com/ai/setup.md): Connect an AI assistant to your site over MCP, and decide exactly what it may do. - [Working with an AI assistant](https://docs.vxframework.com/ai/working-with-ai.md): What a connected assistant can read and change, and how to get good results. - [Safety and undo](https://docs.vxframework.com/ai/safety.md): How assistant changes are recorded and reversed, and the risks to weigh before exposing writes. #### AI setup - [Enabling MCP](https://docs.vxframework.com/ai/setup/enabling-mcp.md): Turn the connection on, choose which abilities an assistant gets, and keep clients up to date. - [Connecting MCP clients](https://docs.vxframework.com/ai/setup/connecting-mcp-clients.md): Create a credential, test it, and set up Cursor, Claude Code, VS Code, Windsurf, Codex, or any MCP client. - [Prompts and resources](https://docs.vxframework.com/ai/setup/prompts-and-resources.md): Ready-made procedures you can run, and documents you can attach to a conversation. - [Troubleshooting the connection](https://docs.vxframework.com/ai/setup/troubleshooting.md): What 404, 401, 405, stale tool lists, and other connection problems mean. #### Working with an AI assistant - [Reading your site](https://docs.vxframework.com/ai/working-with-ai/reading-your-site.md): What an assistant can look up, from the whole data model to individual field values. - [Changing your data model](https://docs.vxframework.com/ai/working-with-ai/changing-structure.md): How an assistant creates and edits post types, fieldsets, fields, and configuration — safely. - [Editing content](https://docs.vxframework.com/ai/working-with-ai/editing-content.md): How an assistant creates, updates, and deletes posts, terms, and their field values. - [Images and files](https://docs.vxframework.com/ai/working-with-ai/images-and-files.md): How an assistant adds photos and files to your media library and puts them in your content. - [Pages and templates](https://docs.vxframework.com/ai/working-with-ai/pages-and-templates.md): How an assistant builds pages and templates with blocks, bindings, loops, and visibility rules. - [Renaming fields and moving values](https://docs.vxframework.com/ai/working-with-ai/renaming-fields.md): Why renaming a field key leaves values behind, and how the stored values are moved or cleaned up. #### Safety and undo - [Activity log and undo](https://docs.vxframework.com/ai/safety/activity-log-and-undo.md): Every change is recorded with what reverses it. Review it, and undo a single change or a whole task. - [Risks and permissions](https://docs.vxframework.com/ai/safety/risks-and-permissions.md): What exposing abilities really allows, and the settings that keep an assistant within bounds. ### Config as code - [Concepts](https://docs.vxframework.com/config-as-code/concepts.md): Keep your data model in version-controlled files, and move it between sites predictably. - [Registering config](https://docs.vxframework.com/config-as-code/registering.md): Define objects in PHP with Blueprints, or as JSON files in a vx-config folder. - [Config workflows](https://docs.vxframework.com/config-as-code/workflows.md): Sync changes between the dashboard and files, deploy them, and lock production. #### Concepts - [How config as code works](https://docs.vxframework.com/config-as-code/concepts/how-it-works.md): Where an object's definition comes from, which copy wins, and the three editing modes. #### Registering config - [JSON files](https://docs.vxframework.com/config-as-code/registering/json-files.md): One JSON file per object, read from your theme, any folder you add, or VX's folder in uploads. - [PHP Blueprints](https://docs.vxframework.com/config-as-code/registering/php-blueprints.md): Define post types, taxonomies and fieldsets with a fluent PHP builder. #### Config workflows - [Deploying a model](https://docs.vxframework.com/config-as-code/workflows/deploying.md): A typical local-to-production workflow, and locking production to your files. - [WP-CLI config commands](https://docs.vxframework.com/config-as-code/workflows/wp-cli.md): Inspect, export, import, override, and reset configuration from the command line. - [Import sessions API](https://docs.vxframework.com/config-as-code/workflows/import-sessions.md): The REST endpoints behind the dashboard's resumable bundle importer, for building your own import tooling. ### Tools - [Data tools](https://docs.vxframework.com/tools/data.md): Move your model between sites, clean up stored values, and find clashing field keys. - [Site tools](https://docs.vxframework.com/tools/site.md): Health checks and site-wide settings under VX. #### Data tools - [Import and export](https://docs.vxframework.com/tools/data/import-export.md): Move post types, taxonomies, and fieldsets between sites as a bundle. - [Meta Watch](https://docs.vxframework.com/tools/data/meta-watch.md): Move stored values after you rename a field, and clean up values that no field uses any more. - [Field key conflicts](https://docs.vxframework.com/tools/data/field-key-conflicts.md): Find fields that would store values in the same place, and the ways to fix them. #### Site tools - [System info](https://docs.vxframework.com/tools/site/system-info.md): Check requirements and environment details, and repair VX's database tables. - [Maps and geocoding](https://docs.vxframework.com/tools/site/maps-and-geocoding.md): Set up address search and map display for Location and Area fields. - [License](https://docs.vxframework.com/tools/site/license.md): Activate Pro, choose live or staging, script activation, and know what happens when support ends. ### Developers - [PHP](https://docs.vxframework.com/developers/php.md): Read field values in themes and plugins, render them safely, and configure VX from wp-config.php. - [Hooks](https://docs.vxframework.com/developers/hooks.md): Every VX action and filter, grouped by what they're for. - [Extending VX](https://docs.vxframework.com/developers/extending.md): Add your own dynamic data, modifiers, visibility rules, abilities, and validation rules. - [WP-CLI](https://docs.vxframework.com/developers/wp-cli.md): Every wp vx-framework command — configuration and abilities — in one place. #### PHP - [Reading values in PHP](https://docs.vxframework.com/developers/php/reading-values.md): Typed accessors for posts, terms, and users, from simple strings to media, dates, and rows. - [Constants](https://docs.vxframework.com/developers/php/constants.md): The wp-config.php constants VX recognizes. - [Comment forms](https://docs.vxframework.com/developers/php/comment-forms.md): Collect comment fields on your theme's comment form, such as a review's rating, and store them through VX. #### Hooks - [Actions](https://docs.vxframework.com/developers/hooks/actions.md): Actions VX fires, with their arguments. - [Filters](https://docs.vxframework.com/developers/hooks/filters.md): Filters VX applies, grouped by area, with what each changes. #### Extending VX - [Extending dynamic data](https://docs.vxframework.com/developers/extending/dynamic-data.md): Add modifiers, tag groups, and builtins to VX Script, and render expressions from PHP. - [Custom visibility rules](https://docs.vxframework.com/developers/extending/visibility-rules.md): Add a named condition to the block editor's Visibility rules. - [Custom abilities](https://docs.vxframework.com/developers/extending/abilities.md): Add operations that AI assistants and WP-CLI can call, with the same safeguards as VX's own. - [Custom system dictionaries](https://docs.vxframework.com/developers/extending/system-dictionaries.md): Ship a read-only list of choices, like countries or units, from your plugin. - [Custom validation](https://docs.vxframework.com/developers/extending/validation.md): Add your own checks to fields, in the editor and on save. ### Other - [AI & MCP](https://docs.vxframework.com/ai.md): Connect an AI assistant to your site, see what it can do, and undo what it changed. - [Block editor](https://docs.vxframework.com/block-editor.md): Put field values on the page with dynamic tags, data loops, and visibility rules. - [Bricks](https://docs.vxframework.com/bricks.md): Use VX fields inside Bricks Builder. - [Config as code](https://docs.vxframework.com/config-as-code.md): Keep your data model in PHP or JSON files, under version control. - [Data model](https://docs.vxframework.com/data-model.md): Post types, taxonomies and fieldsets — and where editors fill in values. - [Developers](https://docs.vxframework.com/developers.md): Read values in PHP, hook into VX, extend it, and script it with WP-CLI. - [Fields](https://docs.vxframework.com/fields.md): Every field type: what it's for, its settings, what it stores, and its limits. - [Getting started](https://docs.vxframework.com/getting-started.md): What VX Framework is, what you need, and your first data model in a few minutes. - [Oxygen & Breakdance](https://docs.vxframework.com/oxygen-breakdance.md): Use VX fields inside Oxygen and Breakdance. - [REST API](https://docs.vxframework.com/rest-api.md): Read and write VX values over HTTP from apps, front ends, and integrations. - [Tools](https://docs.vxframework.com/tools.md): Import and export, Meta Watch, field key conflicts, and what this site is running.