Display Dynamic Shorts for YouTube with Shortcode

Display YouTube Shorts from any channel in a responsive grid or slider layout with customizable options and dynamic loading.

Download from WordPress.org Learn More

Key Features

Discover what makes our YouTube Shorts Display plugin stand out

Channel Integration

Display Shorts from any YouTube channel using the channel handle without complicated setup.

Responsive Design

Optimized grid layout for desktop and smooth slider for mobile devices ensures perfect viewing on any screen.

Customizable Display

Show or hide video titles, view counts, timestamps, and more to create the perfect display for your site.

Caching System

Built-in caching to optimize performance and reduce API calls, keeping your site fast and responsive.

Easy Implementation

Simple shortcode to add Shorts anywhere on your site with minimal effort and maximum flexibility.

Custom Styling

Adjust colors and layout to match your website's design and branding for a seamless integration.

How to Use

Get started with YouTube Shorts Display in just a few simple steps

1

Install and Activate

Upload the plugin files to the /wp-content/plugins/display-dynamic-shorts-for-youtube-with-shortcode directory, or install the plugin through the WordPress plugins screen and activate it.

2

Configure Settings

Navigate to Settings > YouTube Shorts to configure the plugin. Enter your YouTube API Key and channel handle, then customize display options according to your preference.

3

Add Shortcode

Use the shortcode [dyshorts] in your posts or pages to display the Shorts. You can customize the display using various shortcode attributes.

4

Customize (Optional)

Adjust the display parameters using shortcode attributes to override global settings or display different Shorts collections on different pages.

Screenshots

See the plugin in action with these preview images

Frontend grid layout
Mobile slider view
Plugin settings page

Shortcode Usage

Easily integrate YouTube Shorts into your WordPress site

Simply use the shortcode below to display YouTube Shorts on any page or post:

[dyshorts]

For more customization options, you can use parameters:

[dyshorts channel="ChannelName" max="10" columns="4" cache="3600"]

Available Parameters

Parameter Description Default
channel Channel handle without the @ symbol From settings
max Number of Shorts to display (1-50) 5
columns Number of columns on desktop (2-6) 4
cache Cache duration in seconds (minimum 300) 3600 (1 hour)

Usage Examples

Display Shorts from a specific channel:

[dyshorts channel="YourChannelHandle"]

Show more Shorts in 3 columns:

[dyshorts max="12" columns="3"]

Multiple shortcodes on the same page for different channels:

[dyshorts channel="Channel1" max="5"]

More Shorts from another channel:

[dyshorts channel="Channel2" max="5"]

Frequently Asked Questions

Find answers to common questions about YouTube Shorts Display

How do I get a YouTube API Key?
  1. Go to the Google Cloud Console
  2. Create a new project or select an existing one
  3. Enable the YouTube Data API v3
  4. Create credentials and get your API key
  5. Add the API key to the plugin settings
Why do I need a YouTube API Key?

The YouTube API Key is required to fetch data from YouTube, including the channel information and video details. Without an API key, the plugin will use fallback data which may not represent your actual channel content.

How many Shorts can I display?

You can display up to 50 Shorts from a channel, but for optimal performance, we recommend limiting to 10-15 Shorts per page to maintain fast loading times and avoid excessive API usage.

Will this plugin slow down my website?

No, the plugin includes a robust caching system that minimizes API calls to YouTube. You can adjust the cache duration in the settings. By default, data is cached for 1 hour to ensure optimal performance.

Can I customize the appearance of the Shorts display?

Yes, you can adjust the number of columns, background colors, and choose which elements to display (titles, view counts, etc.) through the plugin settings. You can also override these settings for individual shortcode instances.

Can I display Shorts from multiple channels?

Yes, you can use multiple shortcodes with different channel parameters to display Shorts from different channels on the same page. This is perfect for showcasing content from multiple related channels.

How do I change the mobile display?

The plugin automatically switches to a slider layout on mobile devices for optimal viewing experience. This responsive behavior ensures your YouTube Shorts look great on any device without additional configuration.

Contact & Support

We're here to help with any questions you may have

Get in Touch

Send us a Message

Ready to Get Started?

Download the plugin now and start showcasing your YouTube Shorts

Download from WordPress.org

Version 1.0.0 | Compatible with WordPress 5.0 and above