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

YouTube metabox

描述

To get meta value in front-end, use get_post_meta() with meta key is youtube_id.

Example:

Print YouTube video ID:
ID, ‘youtube_id’, true);?>

Thumbnails:
<img src="http://img.youtube.com/vi/ID, ‘youtube_id’, true);?>/mqdefault.jpg” alt=”” />

Video player:

<iframe src="http://www.youtube.com/embed/ID, ‘youtube_id’, true); ?>” width=”588″ height=”331″ frameborder=”0″ allowfullscreen>

屏幕截图

安装

  1. Upload youtube-metabox to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

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

对开发感兴趣吗?

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