MB Custom Table is a powerful extension for the Meta Box framework designed to optimize how your WordPress site handles custom field data. By default, WordPress stores custom fields in a highly flexible but inefficient meta table, where each individual field value occupies its own row. As your website grows—particularly for data-heavy applications like directories, listings, or complex e-commerce stores—this structure can lead to database bloat and slower query performance. MB Custom Table solves this by allowing you to store your custom field data in dedicated, structured database tables, keeping your site fast, scalable, and well-organized.
Key Features
- Optimized Database Performance: Dramatically reduces the number of rows in your database by storing multiple custom fields for a single post, user, or term in one dedicated row, leading to faster data retrieval.
- Seamless Meta Box Integration: Works directly within the Meta Box ecosystem. You can configure your fields to use a custom table with just a few clicks in the UI, without needing to rewrite your existing field definitions.
- Flexible Storage Options: Supports all common Meta Box field types and can be applied to posts, users, taxonomies, and comments, giving you full control over where your data lives.
- Automatic Table Creation: Includes an option to automatically generate the necessary database tables based on your field groups, saving you from manual SQL management.
- Enhanced Data Management: Because your data is stored in a clean, structured table rather than the default meta tables, it becomes significantly easier to view, edit, import, or export your custom data using standard database tools.
- Custom Models Support: Allows you to create custom models that combine your post data and custom fields into a single, highly efficient table, ideal for building custom applications within WordPress.
Use Cases / Who It’s For
MB Custom Table is an essential tool for developers and site owners managing data-intensive WordPress projects. If you are building a directory site with thousands of listings, a specialized e-commerce store with complex product attributes, or any application that relies heavily on custom fields, this plugin helps prevent the performance degradation commonly associated with large-scale WordPress installations. It is specifically designed for those who need a cleaner, more professional database architecture and want to ensure their site remains fast and responsive as their content library expands.
Setup / How It Works
- Ensure you have the Meta Box plugin installed and active on your WordPress site.
- Install and activate the MB Custom Table extension.
- Navigate to your Meta Box field group settings.
- Locate the settings tab for your field group and enable the option to save data in a custom table.
- Provide a table name and choose to have the plugin automatically create the table structure for you.
- Once saved, the plugin will automatically map your custom fields to the new table columns, and all future data entries will be stored there instead of the default WordPress meta tables.
