WordPress Video Gallery is a powerful and easy-to-use WordPress plugin that allows users to display YouTube channel videos or playlist videos seamlessly on their websites. Whether you're a content creator, educator, business owner, or blogger, this plugin provides a hassle-free way to integrate and showcase video content without requiring any coding knowledge. It automatically fetches videos from a specified YouTube channel or playlist, ensuring that your gallery remains up to date without manual updates. Additionally, the plugin is fully responsive, making sure your videos look great on all devices, from desktops to mobile screens.
Table Of Contents
With WordPress Video Gallery, users can present their videos in multiple layouts, including grid, player, and scroll type, offering flexibility in how content is displayed. The intuitive interface allows for quick setup and customization, enabling users to match the gallery’s appearance with their website’s design. By leveraging this plugin, website owners can enhance audience engagement, improve user experience, and create a dynamic video showcase effortlessly.
The WordPress YouTube Gallery plugin is highly versatile and can be used across a variety of industries, websites, and content strategies. Below are detailed examples of how different users can benefit from its features:
Offer replay access to workshops or webinars using the Self-Hosted Video feature.
Create a video archive of event recordings, keynote speeches, and panel discussions.
Use the Slider or Scroll with Slider layout to present a seamless browsing experience for attendees or visitors.
WordPress Video Gallery is a fantastic plugin! It was easy to set up, and my YouTube videos appeared instantly in a clean and professional layout. The multiple display options make it super flexible. Highly recommended!
John Davis (Marketing Manager of TechSphere Solutions)
Here’s how you can install and configure the plugin for your WordPress website:
Step 01: First we have to go to the WordPress dashboard.
Step 02: Then we have to click the Plugins option from the dashboard. Then we have to click “Add New Plugin” button , from there we have to click “Upload Plugin”. Then we have to choose the plugin from our device. Then we have to click install button. Here we can Active The Plugin or we may active it later from Plugins options
Step 3: After activation we will see a new option called “YouTube Gallery ” at dashboard. Hovering and clicking on setting you will get an option to set Api key. Here you have to provide your Api key like bellow. To get Api key follow the instruction in the link's video Get API Key
Step 4: Then you can choose a layout From YouTube Gallery like bellow.
Step 4: You can now add playlist id or channel Id
Step 5: Now after save in Frontend if you click a thumbnail the video will play in a Modal like bellow.
Use our recommended page builder plugin, FancyPost to unlock a number of powerful blocks to help you to design amazing websites!
Scrollbar with Slider type Demo
Floating Type Demo
YouTube Video Posts Demo
Customization Options
Customization Options
Click the button below to explore a live demo of the WordPress YouTube Gallery plugin. Discover how standard blog posts can be transformed into stunning Barndominium-style layouts, showcasing real estate listings in an engaging and visually appealing way. The demo will allow you to see firsthand how this plugin can elevate your property presentations, providing a distinctive visual experience for potential buyers.
Ready to enhance your real estate listings? Click the button below to download the WordPress YouTube Gallery plugin and start transforming your standard blog posts into visually captivating Barndominium-style formats. Create eye-catching listings that capture the attention of potential buyers and effectively market your properties.
The WordPress YouTube Gallery plugin is designed with developers in mind, offering a range of hooks, filters, and customization options to extend its functionality. Below, you’ll find details on how to work with the plugin programmatically.
The following hooks and filters are available for developers to modify or extend the plugin's functionality:
yt_gallery_before_render
yt_gallery_after_render
phpCopy codeadd_action('yt_gallery_before_render', function ($gallery_data) { // Example: Log gallery data error_log(print_r($gallery_data, true)); });
phpCopy codeadd_action('yt_gallery_after_render', function () { echo '<p>Custom content after gallery</p>'; });
yt_gallery_render_attributes
yt_gallery_video_data
phpCopy codeadd_filter('yt_gallery_render_attributes', function ($attributes) { $attributes['class'] .= ' custom-class'; return $attributes; });
phpCopy codeadd_filter('yt_gallery_video_data', function ($video_data) { $video_data['title'] = strtoupper($video_data['title']); // Example: Make title uppercase return $video_data; });
The plugin provides a powerful shortcode system to embed galleries into posts and pages. Below are examples of how to use and customize them:
[yt_gallery type="grid" channel="CHANNEL_ID"]
type
: Defines the gallery layout. Options include:
grid
, player
, scroll
, slider
, button
, floating
, etc.channel
: YouTube channel ID to fetch videos.playlist
: YouTube playlist ID.video
: Individual YouTube video ID.autoplay
: Set to true
or false
(default is false
).phpCopy code[yt_gallery type="player" playlist="PLAYLIST_ID" autoplay="true"]
You can add your own styles or scripts for further customization. Enqueue them using WordPress standards:
phpCopy codefunction enqueue_custom_yt_gallery_styles() {
wp_enqueue_style('custom-yt-gallery', get_template_directory_uri() . '/css/custom-yt-gallery.css');
}
add_action('wp_enqueue_scripts', 'enqueue_custom_yt_gallery_styles');
phpCopy codefunction enqueue_custom_yt_gallery_scripts() {
wp_enqueue_script('custom-yt-gallery', get_template_directory_uri() . '/js/custom-yt-gallery.js', array('jquery'), '1.0', true);
}
add_action('wp_enqueue_scripts', 'enqueue_custom_yt_gallery_scripts');
For advanced customizations, you can override the plugin's templates by copying them to your theme:
/templates
folder.grid.php
)./your-theme/yt-gallery-templates/
.If your plugin supports a REST API, developers can fetch gallery data programmatically. Example:
/wp-json/yt-gallery/v1/videos
type
: Layout type.channel
: YouTube channel ID.playlist
: YouTube playlist ID.javascriptCopy codefetch('/wp-json/yt-gallery/v1/videos?type=grid&channel=CHANNEL_ID')
.then(response => response.json())
.then(data => {
console.log(data); // Process the video data
});
Developers can extend the plugin by building add-ons or integrating it with other plugins. For instance:
yt_gallery_register_layout
action hook to add a custom layout.phpCopy codeadd_action('yt_gallery_register_layout', function ($layouts) { $layouts['custom_layout'] = 'Custom Layout'; return $layouts; });
Recommend other plugins that complement or enhance your plugin:
We are always looking to improve! If you have any suggestions for new features or improvements to the plugin, feel free to reach out to us. Your feedback helps us make Easy Job Listing even better.(Contact form , Telegram, Whatsapp, Messenger)
If you enjoy using WordPress YouTube Gallery and would like to support its continued development, please consider making a donation. Your contributions will help us add more features, provide regular updates, and continue offering support to all users.