| 开发者 |
logicrays
priteshm |
|---|---|
| 更新时间 | 2026年7月9日 19:33 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/ directoryAfter 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.
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.
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)[lryg-youtube-grid-gallery order="DESC" orderby="date" posts="6" category="all"]
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.
The plugin accepts standard YouTube links such as:
Videos are shown in a responsive grid. When a visitor clicks a thumbnail, the video opens in a lightbox popup powered by WordPress Thickbox.
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.
Go to Videos > LRYG Settings to configure default video player dimensions, thumbnail sizes, and the global autoplay option.
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.
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.
No. The plugin works by storing YouTube URLs and embedding videos directly. No API key or external account connection is required.
For support or custom development, contact Logicrays at https://www.logicrays.com/contact-us-logicrays-india/.