Ready to beautify your website with a stunning video gallery? In today's practice, we're going to find out how to do it with Meta Box and Kadence.

This is my example.

A video gallery created with Meta Box and Kadence

Video Version

Before Getting Started

The page is an archive page with a list of videos. Each video is kept in a post of a custom post type.

The information of the video is also the default information from the post, even the short description, author, or date. Just the videos are saved in a custom field.

So, we need the Meta Box core plugin to have a framework that allows creating a custom post type and a custom field for videos. You can download it directly from wordpress.org.

Besides, we need some Meta Box’s extensions for advanced features:

You can download and install each extension individually or use the Meta Box AIO which has all the Meta Box extensions.

Finally, I have Kadence with its pro version to have some extra types of blocks to flexibly display the information.

Create a New Post Type

Go to Meta Box > Post Types to create a new post type for the videos.

Create a new post type for the videos

Since I want to show the author information for each video, go to the Supports tab, and check the Author box to enable the author feature for the posts.

Check the box to enable the author feature

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

A new menu display in the dashboard

Create a Custom Field

Move to Meta Box > Custom Fields > Add New to create a new field group.

Move to Meta Box > Custom Fields > Add New to create a new field group.

In this practice, the related information of the video is the default supported by WordPress. So, I use only one custom field to save the video. Also, instead of uploading the video, I use a URL from another place. However, I won’t use the URL field. The oEmbed field will be the best choice in this case because Kadence can display the video preview directly from the link saved in this field type.

Choose the oEmbed field to save the video’s link

After creating the field, in the Settings tab, choose Location as the Post type, and select Video to apply these fields to it.

Set location to apply the field to the Video post type

Now, you’ll see the created custom field in the post editor.

The created custom field in the post editor

Pay attention to the Author box. This section is available since we set it to enable the author feature for the Video post type when creating it.

The Author box is available since we set it to enable the author feature for the Video post type.

Let's add some information and some videos as well.

Now, let’s move on to the next step.

Create a Query Card for the Video

To get information about each video from posts, you should create a query card first. This is a new feature of the Advanced Query Loop from Kadence. It allows us to define the template for individual posts within the loop.

Go to Kadence Blocks > All Query Cards and create a new one.

Go to Kadence Blocks > All Query Cards and create a new query card

After choosing the wanted layout for the card, you will see some default blog posts displayed.

After choosing the wanted layout for the card, some default blog posts display.

Go to the right sidebar, set the preview as the post type that we created.

Set the preview as the post type that we created

The preview will change, but please notice that it’s just changing in the preview, not querying any data.

The preview will change, not querying any data.

So now, you can remove some unnecessary blocks, and choose the suitable blocks to get the corresponding information.

First, to get the video preview, choose the Dynamic HTML block to have more options to customize the display of the video preview.

Choose the Dynamic HTML block to have more options to customize the display of the video preview

Then, set the HTML Content as Post Custom Field and select the field of the video.

Set the HTML Content as Post Custom Field and select the field of the video

Now, you can see the videos displayed immediately.

The videos display

For the additional information of the video, we style it into 2 columns like this:

2 columns of additional information of the video

So, add a Columns block, and choose the layout for it.

Add a Columns block and choose the layout for it

In the first column, add an Advanced Image block to display the author’s avatar. Instead of selecting any image, just enable dynamic image for this block.

Add an Advanced Image block to display the author’s avatar, just enable dynamic image for this block

Click on the button as the image below shown, and choose the Author Image from the dropdown list.

Choose the Author Image from the dropdown list

After that, you will see the author's avatar appear.

The author's avatar appears.

Move to the second column, choose a Section block to cover all the rest information. Next, add a Text Advanced block to get the name of the video stored in the title of the post.

Choose a Section block to cover all the rest information and a Text Advanced block to get the name of the video

Now, enable dynamic content, and choose the Post Title option.

Enable dynamic content and choose the Post Title option

Next, choose the Author Name block. The name says it all!

Choose the Author Name block to get the names of the authors.

For the video’s description, choose the Dynamic HTML block again. Then, set the HTML Content as Post Excerpt.

For the video’s description, choose the Dynamic HTML block, then set the HTML Content as Post Excerpt.

And the last information is the published date, choose another Dynamic HTML block and connect it to the post date.

For the published date, choose the Dynamic HTML block and connect it to the post date.

That’s all the information in the videos that I want to show.

Now, we can change some parameters in each block to have a better look.

Change some parameters in each block to have a better look

Display the Video Gallery on the Page

It’s time to display the video gallery on the frontend.

Create a Page

First, go to Meta Box > Pages to create a new page as usual.

Go to Meta Box > Pages to create a new page

Add Query

We’ve regulated how the information displays in the Query Card, but haven’t stipulated where it will query from yet. So now, add the Advanced Query Loop block provided by Kadence, and create a new query.

Add the Advanced Query Loop block.

Create a new query

For the layout, I will do it later, so skip choosing any pre-made layout.

There’ll be a place to choose which post type we want to query from on the below screen. Choose the post type that we use for the videos.

Choose the post type that we use for the videos.

And, don’t forget to select the created card for the layout of each video display. Then, this loop will inherit its layout and styling.

Select the created card for the layout of each video display

Now, the page displays all the videos along with their information already. You can change the layout of the gallery by changing some settings.

Change the layout of the gallery by changing some settings

You also can use some CSS as well.

Use some CSS

Let’s see how they look on the page!

The final result of the video gallery

So, we've created the page for the video gallery.

Last Words

After reading our tutorial, you'll be able to effortlessly create your own video gallery page using Meta Box and Kadence. You can walk through this series to see some ways to work with other page builders. Furthermore, you may want to display an attractive video playlist on your sites as well.

Don’t hesitate to share your results with us in the comments. And, follow our channel to see more helpful tutorials!

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 Reading Progress Bar in WordPress Posts - P1 - Using MB Views
  31. How to Create a Recipe - P2 - Using Meta Box and Oxygen
  32. How to Create a Recipe - P3 - Using Meta Box and Elementor
  33. How to Create a Recipe - P4 - Using Meta Box and Bricks
  34. How to Create a Recipe - P5 - Using Meta Box and Zion
  35. How to Create a Recipe - P6 - Using Meta Box and Brizy
  36. How to Create a Recipe - P7 - Using Meta Box and Breakdance
  37. How to Create a Recipe - P8 - Using Meta Box and Kadence
  38. How to Create a Recipe - P9 - Using Meta Box and Divi
  39. How to Create a Recipe with Meta Box Plugin
  40. How to Create a Simple Listing - P2 - Using Meta Box and Bricks
  41. How to Create a Simple Listing - P3 - Using Meta Box and Breakdance
  42. How to Create a Simple Listing - P4 - Using Meta Box and Elementor
  43. How to Create a Simple Listing - P5 - Using Meta Box and Kadence
  44. How to Create a Team Members Page - P1- Using Meta Box and Elementor
  45. How to Create a Team Members Page - P2 - Using Meta Box and Oxygen
  46. How to Create a Team Members Page - P3 - Using Meta Box and Bricks
  47. How to Create a Team Members Page - P4 - Just Meta Box
  48. How to Create a Team Members Page - P6 - using Meta Box and Breakdance
  49. How to Create a Team Members Page - P7 - Using Meta Box and Kadence
  50. How to Create a Video Gallery Page - P2 - Using Meta Box + Bricks
  51. How to Create a Video Gallery Page - P3 - Using Meta Box and Breakdance
  52. How to Create a Video Gallery Page - P4 - Using Meta Box + Elementor
  53. How to Create a Video Gallery Page - P5 - Using MB Views
  54. How to Create a Video Gallery Page - P6 - Using Meta Box and Zion
  55. How to Create a Video Gallery Page - P7 - Using Meta Box and Kadence
  56. How to Create a Video Gallery Page Using Meta Box + Oxygen
  57. How to Create ACF Flexible Content Field with Meta Box
  58. How to Create an Auto-Updated Cheat Sheet in WordPress
  59. How to Create an FAQs Page - P1 - Using Meta Box and Elementor
  60. How to create an FAQs page - P2 - Using Meta Box and Oxygen
  61. How to create an FAQs page - P4 - Using Meta Box and Bricks
  62. How to Create an FAQs Page - P6 - Using MB Views
  63. How to Create an FAQs Page - P7 - Using Meta Box and Divi
  64. How to Create an FAQs Page - P8 - Using Meta Box and Kadence
  65. How to Create an FAQs Page - P9 - Using MB Blocks
  66. How to Create an FAQs Page -P3- Using Meta Box
  67. How to Create Buttons with Dynamic Link using Custom Fields
  68. How to Create Category Thumbnails & Featured Images Using Custom Fields
  69. How to Create Download and Preview Buttons - P1 - Using Meta Box and Bricks
  70. How to Create Download and Preview Buttons - P2 - Using Meta Box and Oxygen
  71. How to Create Download and Preview Buttons - P3 - Using MB Views
  72. How to Create Download and Preview Buttons - P4 - Using Meta Box and Kadence
  73. How to Create Download Buttons in WordPress - Using Custom Fields
  74. How to Create Dynamic Landing Page in WordPress - P1 - Using Meta Box and Elementor
  75. How to Create Dynamic Landing Page in WordPress - P2 - Using Meta Box and Bricks
  76. How to Create Menus for Restaurants - P1 - Using Meta Box and Elementor
  77. How to Create Menus for Restaurants - P2- Using Meta Box and Bricks
  78. How to Create Notification Using Custom HTML Field
  79. How to Create Online Admission Form for School or University
  80. How to Create Online Reservation Form for Restaurants using Meta Box
  81. How to Create Reading Time to Your WordPress Posts - Using MB Views
  82. How to Create Relationships - P1 - Using Meta Box and Oxygen
  83. How to Create Relationships - P2 - Using Meta Box and Bricks
  84. How to Create Relationships - P3 - Using MB Views
  85. How to Create Relationships - P4 - Using Meta Box and Breakdance
  86. How to Create Taxonomy Thumbnails & Featured Images - P2 - Using Meta Box and Oxygen
  87. How to Create Taxonomy Thumbnails & Featured Images - P3 - Using Meta Box and Bricks
  88. How to Create Taxonomy Thumbnails & Featured Images - P4 - Using MB Views
  89. How to Create YouTube Video Timestamps on WordPress Website - P1 - Using MB Views
  90. How to Display a Video Playlist - P1- Using MB Views
  91. How To Display All Listings On A Map With Meta Box
  92. How to Display Author Bio in WordPress - P1 - Using Meta Box and Bricks
  93. How to Display Author Bio in WordPress - P2 - Using MB Views
  94. How to Display Dynamic Banners in WordPress - P3 - Using MB Views
  95. How to Display Images from Cloneable Fields - P1 - with Gutenberg
  96. How to Display Images from Cloneable Fields - P2 - Using Meta Box and Oxygen
  97. How to Display Images from Cloneable Fields - P3 - with Elementor
  98. How to Display Images from Cloneable Fields - P4 - with Bricks
  99. How to Display Opening Hours for Restaurants - P1 - Using Meta Box + Gutenberg

Leave a Reply

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