跳到内容

YouTube Feed

v1.1

plumwd · 2013年7月7日 上架

YouTube Feed allows for easy placement of a YouTube video feed anywhere on your posts, pages, or widgets using a shortcode.

正在使用
10+
评分
暂无
累计下载
3,918
最近更新
2013年8月1日
需要 WordPress 2.0.2+已测试到 3.5.2

贡献者

截图

Shortcode editor
Shortcode editor
Live Example
Live Example

YouTube Feed allows for easy placement of a YouTube video feed anywhere on your posts, pages, or widgets using a shortcode.

  • Specify the YouTube video feed
  • Specify the number of videos to display
  • Set the display to horizonal or vertical
  • Set the thumbnail size

Shortcode Usage

  1. To add a YouTube feed to your posts, pages, or widgets use the following code:
    [plumwd_youtube_display]
  2. To add the YouTube Feed plugin to your WordPress theme use the following code inside your template: echo do_shortcode('[plumwd_youtube_display]');

The plugin also supports several attributes for the shortcode, below is a listing of the attributes and what their purpose is:

  1. channel -> this must be set or the feed will not display Usage:
    [plumwd_youtube_display channel=”plumwd”]

  2. videonum -> The number of videos to display. Will return the most recent videos uploaded to the feed. Usage:
    [plumwd_youtube_display channel=”plumwd” videonum=”4″]

  3. display -> accepts two different options: horizontal or vertical. Usage:
    [plumwd_youtube_display channel=”plumwd” display=”horizonal”]

  4. size -> Choose from four different size options xsmall, small, medium, large. Usage:
    [plumwd_youtube_display channel=”plumwd” size=”small”]

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums