12% off of LTD using this coupon: TWELVEPERCENTOFF. Promo ends on 2 Dec midnight UTC.
Published on Jun 10, 2022

YouTube Videos from ACF Repeater with Auto Thumbnails using Oxygen Repeater

Sridhar Katakam

In the past, we wrote a tutorial titled YouTube Videos Gallery in Oxygen using ACF Repeater and GLightbox.

This members-only tutorial provides the steps to do something similar using Oxygen's Repeater component with minimal code.

Step 1

Let's create a Page titled say, "Our Videos".

Step 2

Install and activate ACF Pro.

Go to Custom Fields > Tools.

Import this (mirror) field group.

Step 3

Edit your Page and add as many video rows you want to show.

Step 4

Let's define a custom function that returns the URL of the video thumbnail.

Install and activate WPCodeBox.

Add a new snippet.

Hook: plugins_loaded

Title: Get video thumb URL

Code:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $599 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-omagnifiercrossmenuchevron-downarrow-right