YouTube Feed Widget

The ElementsKit YouTube Feed widget lets you connect your WordPress site with YouTube using the official YouTube Data API v3. Display your channel, playlist, or search results directly inside Elementor with full layout control, live statistics, and custom playback options.

Warunki wstępne #

Before you start using the ElementsKit YouTube Feed widget, make sure you have:

  • Witryna WordPressa with the latest version installed and activated.
  • Kreator stron Elementora (free version is enough) installed and activated.
  • ElementsKit Pro installed and activated on your site.
  • Google account to access Google Cloud Console for generating your YouTube Data API key.
  • YouTube Channel ID, Playlist ID, or a Search Query depending on your feed source.

Step 1: How to Insert the YouTube Feed Widget #

Open the page or post where you want to add the YouTube feed in the Elementor editor.

Show YouTube Feed in Elementor
  • On the left widget panel, search for YouTube Feed.
  • Drag the widget onto your page canvas where you want the feed to appear.
Add YouTube Access Token in Elementor

Once dropped, the widget shows an “Access token field is empty” message. This is expected — you’ll add your access token in the next step.

Step 2: How to Generate YouTube Access Token #

To display your YouTube content, you need a YouTube Data API v3 key from Google Cloud Console.

Start by going to Google Cloud Console and log in with your Google account. Click Utwórz projekt at the top, give your project a name (e.g., “ElementsKit YouTube Feed”), and click Tworzyć.

From the left sidebar, navigate to APIs & Services → Library. Search for YouTube Data API v3, click on it, and hit Włączać.

Once enabled, go to APIs & Services → Credentials from the sidebar. Click Create Credentials at the top and select Klucz API from the dropdown. Your YouTube Data API key will be generated instantly — click Kopiuj to copy it.

Return to your Elementor editor and paste the API key into the Access Tokens field of the YouTube Feed widget settings. Your YouTube feed will now load with your channel data.

Step 3: Configure Content Tab Settings #

With the widget selected, click the Karta zawartości in the left panel and expand the Treść Sekcja.

Start by selecting your Layout Style — Grid for a clean symmetric grid, Masonry for a variable-height tile layout, or Carousel for a horizontally scrollable slider with arrow and dot navigation.

Next, choose Video Play In to define what happens when a visitor clicks a video thumbnail. Pop Up opens the video in a full-screen lightbox overlay, Play Inline plays the video directly inside the card, and Direct YouTube redirects visitors to the YouTube video page.

Ustaw Gap in pixels to control spacing between video cards (default is 15px), and choose Kolumny to display 1, 2, 3, or 4 columns of videos.

Paste your generated YouTube Data API key into the Access Tokens field. Then select your Typ kanału — Channel to pull all videos from a channel, Playlist to pull from a specific playlist, or Search to display videos matching a search query. Depending on your feed type, enter your ID kanału, Playlist ID, Lub Zapytanie wyszukiwania in the field that appears below.

Wybierz swój Thumbnail Quality from Default, Medium, or High. Set the Video Order to sort your videos by Date, Title, Relevance, Rating, or Views. Set Max Results to control how many videos display on the page (default is 12).

If you ever need to refresh your feed manually, click the Click Here button beside Delete Cache to clear the cached feed data and force a fresh pull from YouTube.

Step 4: Configure Icon Settings #

Scroll down and expand the Ikona section to customize the icons displayed on each video card.

Dla YouTube Icon — the branding icon shown on each card — choose from three options: None to hide it, Upload SVG to use a custom branded icon, or Icon Library to choose from the ElementsKit icon library.

Dla Play Icon — the play button overlaid on each thumbnail — you get the same three options: None, Upload SVG, or Icon Library.

Step 5: Configure Statistics #

Rozwiń Statistics section to control the video stats displayed on each card. By default, four statistics items appear: viewCount, likeCount, favoriteCount, and commentCount.

Expand any statistics item to customize it. Set the Ikona by clicking the icon field to open the icon library and choose a visual icon for the stat. Set the Typ by selecting the data type from the dropdown — Views, Likes, Comments, or Favorites. Set the Etykieta to add a custom text label displayed beside the stat.

Kliknij Dodaj Przedmiot to add additional statistics beyond the defaults. Use the copy icon to duplicate an existing statistics item, or the X icon to remove one.

Step 6: Configure Settings Section #

Scroll down and expand the Ustawienia section for display and layout controls.

Przełącznik Video Title to show or hide the title on each video card. Toggle Play Button to show or hide the play button overlay.

Ustaw Statistics Position — choose Separate to display statistics in their own area below the thumbnail, or In YouTube Thumb to overlay the statistics directly on the video thumbnail.

Przełącznik Opis to show or hide the video description below each card. Set the Thumb Position to control where the channel avatar appears — Top, Before Statistics, Before Description, Bottom, Left, or Right.

Pod Video Description, toggle Letter Limit to enable a character limit on the description text, then set the Letter Count value to control how many characters are displayed (default is 50).

Przełącznik Enable Load More to show a few videos first and reveal more on click — this works within the Max Results count you set earlier.

If you selected Karuzela as your Layout Style, an additional Ustawienia suwaka section will appear. Here you can set Spacing (px) for the gap between cards (default 15px), Slajdy do pokazania for how many cards are visible at once (default 3), Slajdy do przewijania for how many move per scroll (default 1), and Speed (ms) for the transition speed (default 1000).

Przełącznik Automatyczne odtwarzanie to enable automatic sliding, Pokaż strzałkę to display navigation arrows, Show Scrollbar to show a scrollbar below the carousel, Enable Loop? for continuous looping, and Show Dots for dot navigation. Set Ikona strzałki w prawo I Ikona strzałki w lewo using None, Upload SVG, or Icon Library.

Step 7: Style the YouTube Feed Widget #

Przełącz na Karta Styl at the top of the panel to customize the visual appearance of the widget.

Obwoluta #

Rozwiń Obwoluta section to style the outer container of each video card. Switch between Normalna I Unosić się tabs to apply different styles for each state.

Ustaw Typ tła to solid color or gradient. Add a Pudełko Cień with custom color, blur, and spread controls. Choose your Typ obramowania from Solid, Double, Dotted, Dashed, or Groove. Set the Szerokość granicy for each side (Top, Right, Bottom, Left) — default is 1px. Pick the Kolor ramki using the color picker. Set the Promień granicy to round the corners (default 5px). Adjust Wyściółka for inner spacing and Margines for outer spacing.

Video Thumb #

Rozwiń Video Thumb section to style the video thumbnail image.

Ustawić Video Thumb Width (%) for the proportional width (default 100%) and Video Thumb Height (px) for a fixed height (default 220px). Set the Kolor nakładki for the normal state and the Hover Overlay Color for when a visitor hovers over the thumbnail. Adjust the Promień granicy to round the thumbnail’s corners and the Margines around it.

YouTube Thumb #

Rozwiń YouTube Thumb section to style the channel avatar and icon.

Dla Channel Thumb, Ustaw Width (px) of the avatar (default 40px), the Promień granicy to round it (default 50px creates a perfect circle), and the Margines around it.

Dla Thumb Icon, Ustaw Font Size (px) of the YouTube icon (default 30px), the Kolor of the icon, and the Typ tła as solid or gradient. Configure Typ obramowania, Promień granicy, Wyściółka, I Margines to complete the styling.

Play Button #

Rozwiń Play Button section to style the play button overlaid on each thumbnail.

Ustaw Rozmiar czcionki of the play icon (default 16px) and the Szerokość przycisku. Switch between Normalna I Unosić się tabs to style each state. Set the Kolor for the icon or text and the Kolor tła of the button. Add a Pudełko Cień for depth. Configure Typ obramowania, Promień granicy, I Wyściółka to finish.

Treść #

Rozwiń Treść section to style the text content of each card.

Dla Channel Name, control the Typografia (font family, size, weight, style), Kolor for normal state, Color Hover for hover state, Margines (default Top: 10px), and Wyściółka.

Dla Tytuł, Ustaw Typografia, Kolor, Color Hover, I Margines (default Top: 0, Right: 30, Bottom: 10, Left: 30).

Dla Opis, control the Typografia and text Kolor.

Statistics #

Rozwiń Statistics section to style the stats displayed on each card.

Dla Statistics Text, Ustaw Typografia, Kolor, Color Hover, I Wyściółka (default Top: 10px).

Dla Statistics Icon, control the Rozmiar czcionki (default 15px), Kolor, Kolor najechania, Wyściółka (default Right: 6px), Typ obramowania, Wyściółka, I Margines.

Arrow & Dot #

Notatka: Available when Carousel layout is active

Pod Slider Arrow, Ustaw Rozmiar strzałki (px) for the navigation arrows, the Nav Color for the normal state, and the Nav Hover Color for when a visitor hovers over the arrows.

Once all your settings are configured, click Publikować in Elementor to make your YouTube feed live on your WordPress site. 

Jakie są Twoje uczucia?

Updated on sierpień 11, 2026