LR YouTube Grid Gallery

外掛說明

LR Youtube grid gallery is a plugin you can create an area for youtube videos quickly with management by shortcode.
For more features Please contact us at Logicrays
If you like this plugin Please rate us 🙂

Plugin Features

All modren browser support
works with anytype of theme
Easy to customize for developeres
Easy to configure

Shortcode

[lryg-youtube-grid-gallery order="DESC" orderby="date" posts="-1" category="all"]

螢幕擷圖

安裝方式

  1. Upload Zip file lr-youtube-grid-gallery to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

How do I add YouTube videos?

After activating the plugin, go to Videos in the WordPress admin menu. Click Add New, enter a title, and paste the YouTube video URL in the Details of Video meta box. You can also assign a category and optional description for each video.

How do I display the gallery on a page or post?

Add the shortcode [lryg-youtube-grid-gallery] to any page, post, or widget area that supports shortcodes. You can also insert it from the visual editor using the LR YouTube Grid Gallery TinyMCE button.

What shortcode options are available?

The shortcode supports these attributes:

  • order – Sort direction: ASC or DESC (default: DESC)
  • orderby – Sort field: date, name, or rand (default: date)
  • posts – Number of videos to show (default: 6; use -1 to show all)
  • category – Category slug to filter by, or all for every category (default: all)

Example: [lryg-youtube-grid-gallery order="DESC" orderby="date" posts="6" category="all"]

How do I organize videos into categories?

Go to Videos > Categories in the admin menu and create categories as needed. Assign categories when editing a video, then use the category shortcode attribute with the category slug to display only videos from that group.

What YouTube URL formats are supported?

The plugin accepts standard YouTube links such as:

  • https://www.youtube.com/watch?v=VIDEO_ID
  • https://www.youtube.com/watch?v=VIDEO_ID&feature=related
  • https://youtu.be/VIDEO_ID

How are videos played on the frontend?

Videos are shown in a responsive grid. When a visitor clicks a thumbnail, the video opens in a lightbox popup powered by WordPress Thickbox.

Can I use a custom thumbnail image?

Yes. If you set a featured image on a video post, that image is used as the thumbnail instead of the default YouTube preview image.

Where can I change video and thumbnail sizes?

Go to Videos > LRYG Settings to configure default video player dimensions, thumbnail sizes, and the global autoplay option.

Can I control playback options per video?

Yes. When editing a video, the Details of Video meta box lets you set video quality, whether to show suggested videos when playback ends, player controls, and title display options.

Does this plugin work with any theme?

Yes. LR YouTube Grid Gallery is designed to work with any WordPress theme. The grid layout uses included styles that adapt to most theme setups.

Do I need a YouTube API key?

No. The plugin works by storing YouTube URLs and embedding videos directly. No API key or external account connection is required.

Where can I get help or request custom features?

For support or custom development, contact Logicrays at https://www.logicrays.com/contact-us-logicrays-india/.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈LR YouTube Grid Gallery〉的開發相關工作。

參與者

將〈LR YouTube Grid Gallery〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1

  • YouTube video grid with shortcode support.
  • Custom post type for managing videos.
  • Category taxonomy for organizing videos.
  • TinyMCE button for easy shortcode insertion.
  • LRYG Settings page for default video and thumbnail sizes.
  • Lightbox video playback with Thickbox.
  • Per-video playback options (quality, controls, suggested videos).
  • Tested with WordPress 7.0 and PHP 8.0+.