Meta Box Lite
Meta Box

What’s New in Meta Box AIO 3.3.0: Powerful Updates for Models, Columns, and Views

The release of Meta Box AIO 3.3.0 brings many key improvements for custom models, admin columns, the new View block in the editor, and custom post types. In this blog post, we’ll explore the standout features you shouldn’t miss.

Update your Meta Box AIO to the latest version to experience a smoother, more flexible, and more efficient workflow.

Improvement of Meta Box AIO 3.3.0

Video Version

The Feature Support for Custom Models

This extends the capabilities of Meta Box custom models by enabling basic post-like attributes.

To enable this feature, simply add the supports parameter when you register a custom model. Then, create some custom fields for it as usual.

Add support parameter

The plugin will create the corresponding columns in the database after you input an entry. And the field values will be assigned automatically instead of choosing or inputting data as the normal custom fields.

The columns along with their value

In this version, the API for creating custom tables has also been simplified. The plugin now automatically updates the last parameter, so you no longer need to pass it manually. When a field value changes, the modified time is updated, and the data in the custom table is synced immediately.

This improvement applies not only to models but also to posts, terms, and users.

The Width Settings for Admin Columns

You may know that Meta Box provides the MB Admin Columns extension allows you to show field value as a column in the all posts screen in the backend. Besides the basic settings, such as position and title, now you can set up the width of those columns. It is available both for the builder and the code.

There are two unit options: % and px. In the builder, you just need to type the number as your need.

The width setting

If you are using code, it is simple like this:

'width' => '20%'

Then, in the screen of the field group, you can see the layout you expected.

The column display with the defined width

This feature gives you more control over your workflow.

The View Block

One of the most exciting additions in this version is a completely new block in WordPress named View.

As you know, MB Views lets you display any data you want on the frontend, no matter how complex it is, because it supports both CSS for styling and JavaScript for adding actions.

Previously, to add a view to a page, you had to use a Shortcode block, then type or copy and paste the shortcode generated by MB Views. But from now on, with the new View block, you can display your data anywhere you want without any hassle.

Simply add the View block in the block editor.

add a view block

Then select the view you want to display.

Select the view

As you can see, the data and its styling appear instantly, no need to preview the page on the frontend.

This feature is especially useful when you’re building a page with multiple content sections like a homepage or landing page. You can have a complete page just with a few clicks.

The Toggle Status Columns for Posts of Custom Post Types

In the release of the new UI of MB Builder, we introduced a column that lets you quickly toggle between Published and Draft without opening each post. In this update, the same functionality is now available for custom post types.

To set it up, when you create the custom post type, just navigate to the Features tab and enable the Add toggle status column setting.

Enable the status column

Then, you’ll see the Status column displayed. Just turn the button on to publish or turn it off to save the post to a draft.

Status column

Last Words

Besides 4 features I mentioned above, we’ve fixed bugs in the previous version. All is for your seamless workflow. If you haven’t got the Meta Box AIO on your site, upgrade your package now to explore the powerful features of Meta Box. Thanks for reading!

Leave a Reply

Your email address will not be published. Required fields are marked *