In a portfolio page, you should use taxonomy and its description for your portfolio. As well as, taxonomy thumbnails will be a good way to make that page be more attractive. Let’s go through with us to find out how to have thumbnails for taxonomies and display them with Meta Box and Bricks.

This is an example for the portfolio page that we will create in this practice.

This is an example for the portfolio page created by Meta Box and Bricks

Each part on the page, which is about an accommodation type with its own thumbnail, is from a term of a taxonomy.

The image used for the thumbnail also will be used to be the featured image of the archive page of the taxonomy’s term.

The featured image of the archive page of the taxonomy’s term

Video Version

Before Getting Started

In this practice, we need the Meta Box core plugin to create custom post types, taxonomies as well as a custom field to store the images for the taxonomy. This plugin is free, and you can download it directly from wordpress.org.

We also need some advanced features from Meta Box which is from some of its extensions:

  • MB Custom Post Type: to create a custom post type and custom taxonomy for the portfolio;
  • Meta Box Builder: to have an intuitive UI to create the custom field for the images.

You can install them individually or just use Meta Box AIO.

For the last one, we use Bricks to build the page.

Create a New Custom Post Type

Go to Meta Box > Post Types > Add New.

Go to Meta Box > Post Types > Add New to create custom post type

After publishing, you will see a new menu displayed. It's your post type.

the created custom post type displayed as a menu

Create a Custom Taxonomy

Go to Meta Box > Taxonomies > Add New to create a new taxonomy.

Go to Meta Box > Taxonomies > Add New to create a new taxonomy

When creating the wanted taxonomy, move to the Post Types tab and choose Portfolio to apply this taxonomy to the post type.

Assign the custom taxonomy to the Portfolio post type

Now, in the created post type editor, you can see a new submenu here.

The taxonomy is a new submenu in the created post type

Then, you can add some terms for the taxonomy. Here are some terms that I created for illustration.

This is some terms that I created for the taxonomy

But now, there is no place to set an image for each term. So, let’s go ahead to create one.

Create Custom Fields

We will create a custom field that allows users to upload an image for each term. Go to Meta Box > Custom Fields to create the field.

Choose the field in the type as URL. It allows you save links for the images so that your site won't carry those images.

Create a new custom field in the type as URL

After having the field, move to the Settings tab, choose Location as Taxonomy, and select Portfolio Type that is the created taxonomy.

Assign the custom field to the Portfolio Type that is the created taxonomy

Then, you’ll see the created custom field when creating a new term for the taxonomy of the portfolio.

The created custom field display when creating a new term for the taxonomy of the portfolio

Now, you can edit some terms, and add a URL of an image for each one of them.

Add a URL of an image for each of term

Display Images as Taxonomy’s Thumbnails

Create the Portfolio Page

Go to Pages to create a new page as usual, and then edit it with Bricks.

Go to Pages to create a new page as usual, and then edit it with Bricks

First, add a Section for covering all the page content.

Add a Section for covering all the page content

Next, add a Heading element to display the page's title.

Add a Heading element to display the page's title

Query the Terms

Now, I will add a Div element for the page content, where we will display the term’s information.

Add a Div element for the page content, where we will display the term’s information

We should set a query in this Div to get all the terms of the Portfolio Type taxonomy. So, turn on the Use query loop button, and set the type of the query as Terms. Then, choose the name of the taxonomy that you use for the portfolio.

Turn on the Use query loop button and set the type of the query as Terms. Then, choose the name of the taxonomy that you use for the portfolio.

That’s done for the query.

Display the Term’s Information

To show the thumbnail of the term that we save the url in the custom field created with Meta Box, just add the Image element. Then, add dynamic data for it by clicking the Select dynamic data button, and choose the name of the created field from the drop down list. After that, all the images will be displayed.

Add the Image element. Then, add dynamic data, and choose the name of the created field from the drop down list

For the section that shows the name and description of the term, I use another Div. And, add a Basic Text element for each one of them.

Using another Div and add a Basic Text element for the name and description of the term

Now, also add dynamic data, then choose the Term name option from the list.

Add dynamic data then choose the Term name option from the list.
For the term’s description, also add dynamic data to the remaining Basic Text element, and choose the Term description option.

Add dynamic data to Basic Text element and choose the Term description option

Finally, you may want to add a button to navigate users to the archive page of each term. So add a Button element. Then, set the Link type of the button as Dynamic Data.

Add a Button element. Then, set the Link type of the button as Dynamic Data to add a button to navigate users to the archive page of each term

And select dynamic data for it as well. In the Terms section on the dropdown list, choose the Term archive URL option.

In the Terms section on the dropdown list, choose the Term archive URL option

So that we have got and displayed all the information of each term on the portfolio page. Your work now just is styling them in your own way by changing the settings of each element. This is one of my own after styling.

The better look of the portfolio page after styling

The image I’m using for the thumbnail of each term is the image that I save the URL in the created custom field.

Display Images as Featured Image on Archive Page

My archive page of each term is now like this.

This is an archive page of each term with no featured image

There is no featured image for the term as default. I will use the image saved in the custom field to be the featured image and display it on the top of this page.

Now, go to Bricks and edit the template of the archive page.

Inside the Section that covers all the page content, add an Image element.

Inside the Section that covers all the page content, add an Image element.

Let’s select dynamic data for this Image element from the custom field. Choose the field name from the list.

Select dynamic data for this Image element from the custom field and choose the field name from the list

Then, you can see the image display immediately.

The featured image display on the archive page of each term of the taxonomy like this

Now, you can style it in your own way for a better look. And, here it is on the page on the frontend.

The final look of the archive page

Last Words

We have finished creating a portfolio page that displays the term’s information including its default one and its thumbnails from a custom field created with Meta Box. It’s so easy with Bricks. Let’s try and share the result with us in the comments.

If you are looking for a way to do it with or without using any page builder, you can refer to this series.

Or, if you are looking for adding thumbnails and featured images for category, this post is for you.

If you want to suggest any tutorials, feel free to leave a comment and keep track of our blog. Thanks for reading!

Other case studies you might be interested in

  1. Create A Dynamic Landing Page in WordPress Using Custom Field
  2. Create a Filter to Find Hotels by Location
  3. Create an OTA Website Like Booking.com with Meta Box Plugin - P1: Create a Page to Introduce Hotel Rooms
  4. Create an OTA Website Like Booking.com with Meta Box Plugin - P2: Create Filters on the Archive Page
  5. Create an OTA Website Like Booking.com with Meta Box Plugin - P3: Create Filters for Single Hotel Pages
  6. Create Dynamic Favicon in WordPress using Meta Box plugin
  7. Create Posts Series in WordPress Using Meta Box
  8. Display The Latest Products Section - P2 - Using Meta Box and Elementor
  9. Display The Latest Products Section - P3 - Using Meta Box And Oxygen
  10. How to Add Custom Fields for WooCommerce - P2 - Using MB Views
  11. How to Add Custom Fields to Display Banners using Meta Box Plugin
  12. How to Add Guest Authors and Guest Posts - Using Meta Box
  13. How to Add Related Posts - Using Custom Fields
  14. How to Build a Hotel Booking Website Using Meta Box - P1
  15. How to Build a Hotel Booking Website Using Meta Box - P2 - Booking Page in Backend
  16. How to Build a Hotel Booking Website Using Meta Box - P4 - Booking Management Page
  17. How to Build a Hotel Booking Website Using Meta Box – P3 – Booking Page for Customer
  18. How to Create a Classified Ads Website using Meta Box
  19. How to Create a Custom 404 Page in WordPress - P1 - Using Meta Box and Elementor
  20. How to create a FAQs page - P5 - Using Meta Box and Breakdance
  21. How to Create a Product Page - P2 - Using Meta Box and Oxygen
  22. How to Create a Product Page - P3 - Using Meta Box and Bricks
  23. How to Create a Product Page - P4 - Using Meta Box and Elementor
  24. How to Create a Product Page - P5 - Using Meta Box and Gutenberg
  25. How to Create a Product Page - P6 -Using Meta Box and Breakdance
  26. How to Create a Product Page - P7 - Using Meta Box + Kadence
  27. How to Create a Product Page - P8 - Using Meta Box and Brizy
  28. How to Create a Product Page - P9 - Using Meta Box and Divi
  29. How to Create a Product Page using Meta Box Plugin
  30. How to Create a Recipe - P2 - Using Meta Box and Oxygen
  31. How to Create a Recipe - P3 - Using Meta Box and Elementor
  32. How to Create a Recipe - P4 - Using Meta Box and Bricks
  33. How to Create a Recipe - P5 - Using Meta Box and Zion
  34. How to Create a Recipe - P6 - Using Meta Box and Brizy
  35. How to Create a Recipe - P7 - Using Meta Box and Breakdance
  36. How to Create a Recipe - P8 - Using Meta Box and Kadence
  37. How to Create a Recipe - P9 - Using Meta Box and Divi
  38. How to Create a Recipe with Meta Box Plugin
  39. How to Create a Simple Listing - P2 - Using Meta Box and Bricks
  40. How to Create a Simple Listing - P3 - Using Meta Box and Breakdance
  41. How to Create a Simple Listing - P4 - Using Meta Box and Elementor
  42. How to Create a Team Members Page - P1- Using Meta Box and Elementor
  43. How to Create a Team Members Page - P2 - Using Meta Box and Oxygen
  44. How to Create a Team Members Page - P3 - Using Meta Box and Bricks
  45. How to Create a Team Members Page - P4 - Just Meta Box
  46. How to Create a Team Members Page - P6 - using Meta Box and Breakdance
  47. How to Create a Team Members Page - P7 - Using Meta Box and Kadence
  48. How to Create a Video Gallery Page - P2 - Using Meta Box + Bricks
  49. How to Create a Video Gallery Page - P3 - Using Meta Box and Breakdance
  50. How to Create a Video Gallery Page - P4 - Using Meta Box + Elementor
  51. How to Create a Video Gallery Page - P5 - Using MB Views
  52. How to Create a Video Gallery Page - P6 - Using Meta Box and Zion
  53. How to Create a Video Gallery Page Using Meta Box + Oxygen
  54. How to Create ACF Flexible Content Field with Meta Box
  55. How to Create an Auto-Updated Cheat Sheet in WordPress
  56. How to Create an FAQs Page - P1 - Using Meta Box and Elementor
  57. How to create an FAQs page - P2 - Using Meta Box and Oxygen
  58. How to create an FAQs page - P4 - Using Meta Box and Bricks
  59. How to Create an FAQs Page - P6 - Using MB Views
  60. How to Create an FAQs Page - P7 - Using Meta Box and Divi
  61. How to Create an FAQs Page - P8 - Using Meta Box and Kadence
  62. How to Create an FAQs Page - P9 - Using MB Blocks
  63. How to Create an FAQs Page -P3- Using Meta Box
  64. How to Create Buttons with Dynamic Link using Custom Fields
  65. How to Create Category Thumbnails & Featured Images Using Custom Fields
  66. How to Create Download and Preview Buttons - P1 - Using Meta Box and Bricks
  67. How to Create Download and Preview Buttons - P2 - Using Meta Box and Oxygen
  68. How to Create Download and Preview Buttons - P3 - Using MB Views
  69. How to Create Download Buttons in WordPress - Using Custom Fields
  70. How to Create Dynamic Landing Page in WordPress - P1 - Using Meta Box and Elementor
  71. How to Create Dynamic Landing Page in WordPress - P2 - Using Meta Box and Bricks
  72. How to Create Menus for Restaurants - P1 - Using Meta Box and Elementor
  73. How to Create Menus for Restaurants - P2- Using Meta Box and Bricks
  74. How to Create Notification Using Custom HTML Field
  75. How to Create Online Admission Form for School or University
  76. How to Create Online Reservation Form for Restaurants using Meta Box
  77. How to Create Relationships - P1 - Using Meta Box and Oxygen
  78. How to Create Relationships - P2 - Using Meta Box and Bricks
  79. How to Create Relationships - P3 - Using MB Views
  80. How to Create Relationships - P4 - Using Meta Box and Breakdance
  81. How to Create Taxonomy Thumbnails & Featured Images - P2 - Using Meta Box and Oxygen
  82. How to Create Taxonomy Thumbnails & Featured Images - P3 - Using Meta Box and Bricks
  83. How to Create Taxonomy Thumbnails & Featured Images - P4 - Using MB Views
  84. How to Create YouTube Video Timestamps on WordPress Website - P1 - Using MB Views
  85. How to Display a Video Playlist - P1- Using MB Views
  86. How To Display All Listings On A Map With Meta Box
  87. How to Display Author Bio in WordPress - P1 - Using Meta Box and Bricks
  88. How to Display Author Bio in WordPress - P2 - Using MB Views
  89. How to Display Dynamic Banners in WordPress - P3 - Using MB Views
  90. How to Display Images from Cloneable Fields - P1 - with Gutenberg
  91. How to Display Images from Cloneable Fields - P2 - Using Meta Box and Oxygen
  92. How to Display Images from Cloneable Fields - P3 - with Elementor
  93. How to Display Images from Cloneable Fields - P4 - with Bricks
  94. How to Display Opening Hours for Restaurants - P1 - Using Meta Box + Gutenberg
  95. How to Display Opening Hours for Restaurants - P2 - Using Meta Box and Oxygen
  96. How to Display Product Variations - P1 - Using Meta Box and Gutenberg
  97. How to Display Product Variations - P2 - Using Meta Box and Oxygen
  98. How to Display Product Variations - P3 - Using Meta Box and Bricks
  99. How to Display the Dynamic Banners - P2 - Using Meta Box and Bricks

Leave a Reply

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