The Offer Expires in:

Days
Hours
Minutes
Seconds

How to showcase YouTube videos with Elementor

Warning: The newer version of this page can be found under Cards Layout – Elementor. This page will soon be removed since some of its parts are outdated.

YT2Posts plugin keeps converting the latest videos from your YouTube channel into WordPress posts. This means that showing the YouTube videos on your Elementor website, becomes as simple as using the Elementor’s Posts widget, as with any other posts. The biggest advantage of this approach is that it let’s you use Elementor’s built in widgets and features like lazy loading, without adding any additional bloat. Let’s see how it works!

Showing videos in a grid

Open up an Elementor Page where you want to showcase your YouTube videos. In the widget section on the left search for “posts” and click enter. Then drag-and-drop the Posts widget to the page area, as in the image below.

posts widget 1

In the layout subsection on the left, you can choose the skin — we chose the “Cards skin” in this example.

posts layout 1

Then, in the section on the left scroll down and click on the “Query” subsection. In the “source” field, choose “Youtube” as the post type we want to show in this widget.

posts query 1

That’s it, on the right, your youtube videos will show up! You can keep styling your Elementor page as you wish. And the best part is — YT2Posts will always make sure only the latest videos from your YouTube channel will be shown!

Showing videos in a slider

Let’s assume that you want to showcase your videos with a play button, as in the image below.

slider 1 1

For this, we can use the Ele Custom Skin Plugin, or any other Query Loop Builder, which lets us design how a single post (in this case a single video) should be shown, which is then applied to all posts (i.e. videos) within the elementor’s posts widget.

After installing this plugin, let’s start by creating a new Loop Template in Elementor, where we will design how a single video should be shown. The “Loop” template type will only appear as an option after installing the Ele Custom Skin plugin. You can name the template as you wish, e.g. “Youtube Loop“.

loop template 1

After clicking on the template settings in the bottom-left, choose Youtube post type for preview and type the title of any of your current videos. This video will be used for preview of our design.

loop preview 1 2

After clicking Apply & Preview, click on the widget section in the top to choose widgets. Drag-and-drop the Elementor’s video widget.

loop video

In the video settings, click on Link, then on a small icon Dynamic Tags and choose Shortcode in the dropdown menu.

yt2posts link

Click again on the shortcode field and type:

[yt2posts-url]

You can also turn on lazy loading if you want.

yt2posts shortcode

Then click on the Image Overlay section and choose the Featured Image for the overlay.

yt2posts image overlay

Now you can choose which play icon you want to be used and also if you want the video to open up in a lightbox or not. You can upload the famous youtube play button icon, or you can simply use the default one that Elementor is using.

yt2posts play icon

Finally, you can publish the Loop Template! Now that we have specified how a single video should be shown, we will simply use elementor’s post widget and tell it to use this skin for each post, i.e. video.

As before, we can open up a page where we want to show our YouTube videos and drag-and-drop the elementor’s posts widget.

posts widget 1

The only difference is that now we will choose Custom skin, instead of the Cards skin we used before, and select the Youtube Loop we have just created. Optionally, you can choose if you want the posts to be displayed in a grid or in a slider. For the slider option, a premium version of Ele Custom Skin Pro is neccessary.

yt2posts custom skin

Finally, scroll down on the left and in the Query section set the source to be Youtube.

yt2posts youtube source

That’s it, you can design it further using Elementor as you wish! We decided to use the slider option, as shown below.

slider 1 1

But the options are unlimited. The best part is that you can use your favorite tool like Elementor to design it!

Updated on July 16, 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.