Black Friday 2025
Meta Box

How to Display Images from Cloneable Fields - P4 - Meta Box + Bricks

Continuing the series of displaying images from cloneable fields, today we’ll use Meta Box and another page builder - Bricks.

This approach is useful to display brand logos for sponsors, the Trusted by section, and in many cases. And this is my example:

Example of displaying images from cloneable fields

Video Vesion

Before Getting Started

Typically, we’ll use a custom post type to create multiple posts for brands. But now, I’ll do another way more conveniently and simply - creating a settings page. All brand information will be input onto that page. It means that all of them will be in one place only.

All brand information is put into the settings page

The brand information, including logos, will be saved in custom fields. So, these are the tools we need for this practice:

  • Meta Box AIO: to have a framework to create a settings page, custom fields and all the advanced features from Meta Box extensions. Especially, we use:
  • MB Settings Page: to create settings pages to input images;
  • MB Builder: to have an intuitive UI to create custom fields in the backend;
  • MB Group: to organize custom fields into cloneable groups, where we input images.
  • Bricks: to build the page

Create a Settings Page

Go to Meta Box > Settings Page > Add New.

In my case, the settings page is quite simple and contains only the image of each brand. As there’s no special setting, I'll just change the option name.

Create a settings page

After publishing, you’ll see a new settings page named Brands appears as below:

The created settings page

It’s blank now since we haven’t added content for it. Let’s do it in the next step.

Create Custom Fields

As I said before, we need to create custom fields for the settings page. They will be used to save the brand information.

In the admin dashboard, go to Meta Box > Custom Fields > Add New. I created fields with the structure below.

Field Types of Field ID
Brand Group Group brand_group
          Brand Logo Upload Single Image brand_logo_upload
          Brand Name Text brand_name

This is a group with 2 subfields inside. It is also set to be cloneable to have more spaces to add information for different brands.

Create a clonable group

After that, move to the Setting panel and choose the Location as the settings page that we’ve created to apply the custom fields to it.

Apply the field group to the created settings page

Back to the settings page, and you’ll see the created custom fields appear. Moreover, to add another brand’s information, you can press the Add more button.

Add more button to add another brand's information

Now, just fill in the brand’s information in the fields.

Display Images of the Cloneable Groups on the Frontend

Let’s edit a page with Bricks. I chose the homepage for example.

First, to contain all the brands' information, add a new section. Then, put it in any place where you want to show it on that page.

Next, to add the title of the section, choose the Heading element and name it.

Choose the heading element to add the title of the section

In the Container element inside the section, select the Div element to contain the brand information.

Add a Div a element in the Contain element to contain the brand information

Then, to get the data of brands, enable the Use query loop button. And in the Query section, choose the type of data source as MB Group: Brand Group. In the name, you can see the ‘Brand Group’ is the name of the group that we’ve just created.

Choose the type of data source as MB Group

For the brand’s logos, as they are saved in the custom field created by Meta Box, choose the Image element > choose the Select Dynamic data button > select the right field - Brand Image Upload. Now all the brand's logos are displayed already.

All the brand's logos are already displayed

For the brand’s names, choose the Basic Text element. We also use the Select Dynamic data button and choose the field correspondingly. Then, you’ll see the brand’s name displayed immediately.

Choose the Basic text element and use the Select Dynamic data button then choose the field correspondingly

On the homepage, you’ll see all of the brand information.

All the brand information is displayed on the homepage

Style the Section

Now, go back to the page editor with Bricks, choose each element and change the settings to style them in your own way.

After styling, all the brand logos are displayed as we want.

Style the Section

Last Words

Retrieving and displaying images from a cloneable field can sometimes be challenging, but with this guide, I believe it becomes much easier, even if you don’t know how to code. Don’t forget to share your result in the comment section.

You can not only display data from cloneable fields on the frontend, but also manage them in the database by converting them to store values in multiple rows. Try it and let us know your thoughts. Thanks for reading!

Leave a Reply

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