This write-up assumes "DDF" refers to a custom solution for managing, querying, and displaying structured dynamic data (like products, events, directory listings, or custom records) without using standard WordPress Custom Post Types (CPTs) for performance or architectural reasons. Alternatively, it can be adapted for a "Distributed Data Feed."
wp_ddf_types – stores metadata for each type (field definitions, labels, UI settings). ddf wordpress plugin
Take total control of your data. Version 2.0 introduces "Field Protection," allowing you to protect your custom SEO titles and content from being overwritten by the feed. Plus, engage your visitors with our all-new interactive Map Search and local Market Trends widgets! This write-up assumes "DDF" refers to a custom
The solves a core problem: standard WordPress Custom Post Types become inefficient when handling thousands of records with dozens of custom fields because every field is stored as a separate row in postmeta . This leads to slow queries, bloated databases, and difficult data validation. Version 2
ddf-wordpress-plugin/ ├── ddf.php # Main plugin file (headers, constants, bootstrap) ├── uninstall.php # Cleanup custom tables on delete ├── includes/ │ ├── class-ddf-activator.php # Table creation & DB delta │ ├── class-ddf-deactivator.php # Optional cleanup │ ├── class-ddf-type-manager.php # CRUD for data types │ ├── class-ddf-record-manager.php # CRUD for records │ ├── class-ddf-admin-ui.php # Admin menus, list tables, forms │ ├── class-ddf-shortcodes.php # [ddf_list] and [ddf_single] │ ├── class-ddf-rest-api.php # Register custom endpoints │ └── class-ddf-query-builder.php # Safe SQL builder ├── admin/ │ ├── css/ddf-admin.css │ ├── js/ddf-admin.js # Inline editing, AJAX │ └── views/ │ ├── type-editor.php # Form to define fields │ └── record-list.php # Template for list table ├── public/ │ ├── css/ddf-public.css │ └── js/ddf-public.js # Frontend filtering ├── templates/ # Overridable template files │ ├── list-default.php │ └── single-default.php └── languages/ # i18n .pot file