该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

YouTube Feed

描述

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”]

屏幕截图

  • Shortcode editor
  • Live Example

安装

  1. Download and unzip the file.
  2. Place the entire contents of the directory into your /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

For help please visit http://www.plumeriawebdesign.com

评价

此插件暂无评价。

贡献者及开发者

「YouTube Feed」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「YouTube Feed」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.1

  • Fixed broken path

1.1

  • Changed how the feed is grabbed so that the file is stored locally

1.0.1

  • Fixed footer credits