The Offer Expires in:

Days
Hours
Minutes
Seconds

Showing videos in a grid with a shortcode

YT2Posts comes with a beautifully designed, built-in grid that you can use with shortcodes. To display the latest video posts in a grid, you just need to add the following shortcode:

[ yt2posts_youtube_grid posts_per_page="6" labels="nature" ]

Optionally, you can use the following parameters:

  • posts_per_page: with this parameter, you can choose how many videos per page you want to have. If set to -1, all the videos will be displayed on 1 page.
  • labels: with this parameter, you can choose which YouTube channels/playlists you want to show, based on their labels, that you have chosen when adding the channels and playlists in YT2Posts settings. If the labels parameter is omitted, the videos from all the channels/playlists will be displayed.

The result is a beautiful grid with your videos, as shown in the image below.

grid
You can showcase the video posts with a build-in grid with pagination, where you can also choose how many video posts you want to show per page.
Updated on September 4, 2023

Have a question for us?

Write to us and we will respond in no time!

This website uses cookies to ensure you get the best experience on our website. By clicking Accept & Close, you agree to our Cookie Policy.