=== Rox Dynamic CPT Fields Engine ===
Contributors: ataurr
Tags: custom post types, custom fields, meta fields, taxonomies, options pages
Requires at least: 6.5
Tested up to: 6.9
Stable tag: 1.0.1
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Build Custom Post Types, Taxonomies, Custom Fields, and Options Pages from one admin UI. Advanced queries, listings, relations, and AI ship in the optional Pro add-on.

== Description ==

Rox Dynamic CPT Fields Engine (RDCFE) is a WordPress plugin for creating and managing Custom Post Types (CPTs), Taxonomies, Field Groups (meta boxes), and Options Pages without writing PHP.

The **free plugin** covers the full content-model foundation. **Rox Dynamic CPT Fields Engine Pro** is a separate add-on that unlocks dynamic-site modules (queries, listings, relationships, visibility rules, admin list tools, AI-assisted schema, and advanced field and location options).

= Free version =

* **Custom Post Types** — Labels, supports, REST, rewrite, and registration options
* **Custom Taxonomies** — Hierarchical or flat; attach to post types
* **Field groups (meta boxes)** — Location rules for posts, terms, users, and options contexts
* **Options pages** — **One** parent global settings page (no subpages); unlimited with Pro
* **Import / Export** — JSON for CPTs, taxonomies, field groups, and options pages
* **REST API** — CRUD for saved configurations (`/rdcfe/v1/…`)
* **Developer hooks** — Filters/actions for registration, validation, and extension

**Free field types**

Text, Textarea, Number, Email, URL, Date, Time, Date & Time, Color, Select (single/multiple), Checkbox, Radio, Toggle, Image, File, WYSIWYG.

**Free layout**

Field width controls (e.g. 25%–100%). Tab, Accordion, Endpoint, and HTML blocks require Pro.

**Free location rules**

Single rule group with **AND** logic only: post type, specific post, post status, taxonomy/term (term screens), user role (user profile), options page context. Page template, post parent, author, format, taxonomy-on-post, capability rules, and **OR** rule groups require Pro.

**Free field settings**

Labels, names, descriptions, defaults, required, placeholders, width, character limits, numeric min/max, REST visibility, and related basics. Conditional logic, regex validation, Quick Edit, and field revisions require Pro.

= Pro (separate add-on) =

Activate **Rox Dynamic CPT Fields Engine Pro** with a valid license to unlock:

**Advanced fields**

Group, Repeater, Gallery, Relationship (post picker), Taxonomy term picker, User picker; layout elements **Tab**, **Accordion**, **Endpoint**, and **HTML**.

**Advanced field settings**

Conditional logic (show/hide fields), custom regex validation, Quick Edit support, and per-field revision tracking.

**Advanced location rules**

Page template, post parent, post author, post format, post taxonomy term, viewer capability/role-style targeting (see Pro docs); **OR** groups across multiple rule groups; metabox priority ordering where supported.

**Options pages**

Unlimited pages, nested subpages, and role/capability access controls.

**Pro-only modules**

* **Query Builder** — Saved queries (posts/terms/users), meta/tax clauses, ordering, macros, health checks
* **Listings** — Listing templates, dynamic components, blocks/shortcodes/widgets where provided
* **Relations** — One-to-one, one-to-many, many-to-many; admin UI and query integration
* **Dynamic visibility** — Conditional visibility for listing outputs
* **Admin columns & filters** — Custom columns and list-table filters per CPT
* **AI Assistant** — Guided schema generation and apply flow (configuration JSON only; validated before apply)

**Import / Export (Pro)**

Export/import includes Queries, Listings, and Relations where applicable; diff preview, conflict handling, and rollback snapshots (see Pro release notes).

In the free plugin, Pro areas remain visible with a **PRO** badge and upgrade prompts; saving Pro-only configurations requires Pro.

== Installation ==

1. Upload the `rox-dynamic-cpt-fields-engine` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Open **RDCFE** in the admin menu to manage post types, taxonomies, metaboxes, and options

(Optional) Install and activate **Rox Dynamic CPT Fields Engine Pro** to enable Pro modules and limits described above.

== Frequently Asked Questions ==

= What PHP version is required? =

PHP 8.0 or higher.

= What WordPress version is required? =

WordPress 6.5 or higher (see plugin header).

= Can I use this with the Block Editor (Gutenberg)? =

Yes. RDCFE targets the classic edit screens and options UI; it does not replace the block editor for post content.

= Can I migrate configurations to another site? =

Yes. Use Import/Export JSON for the free scope; Pro adds broader bundles and advanced merge/rollback tools.

= Is there a PHP API? =

Yes. You can hook into registration and validation filters and use the REST API for programmatic CRUD where exposed.

= Where do I get Pro? =

Install the separate **Rox Dynamic CPT Fields Engine Pro** package from your vendor/account and activate it alongside this plugin.

== Screenshots ==

1. Dashboard overview
2. Post Type builder
3. Taxonomy builder
4. Field Group (Metabox) builder
5. Options Page builder
6. Settings

== Changelog ==

= 1.0.0 =
* Initial release
* Free: CPTs, taxonomies, field groups, one options page, core field types, basic location rules, import/export, REST & PHP hooks
* Pro add-on: advanced fields, queries, listings, relations, visibility, admin columns/filters, AI, extended import/export

== Upgrade Notice ==

= 1.0.0 =
Initial release of Rox Dynamic CPT Fields Engine.

== Privacy Policy ==

Rox Dynamic CPT Fields Engine does not collect or send site data to external servers by itself. Optional Pro features (for example an AI Assistant) may call third-party APIs only when you configure them; see Pro documentation for details.

== Credits ==

Developed by [Ataurr](https://wpmet.com)
