Title: Tiny YouTube Post Widget
Author: Rnaby
Published: <strong>2015 年 3 月 19 日</strong>
Last modified: 2016 年 10 月 8 日

---

搜索插件

![](https://ps.w.org/tiny-youtube-post-widget/assets/banner-772x250.png?rev=1117492)

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

![](https://ps.w.org/tiny-youtube-post-widget/assets/icon-128x128.png?rev=1117528)

# Tiny YouTube Post Widget

 作者：[Rnaby](https://profiles.wordpress.org/rnaby/)

[下载](https://downloads.wordpress.org/plugin/tiny-youtube-post-widget.zip)

 * [详情](https://cn.wordpress.org/plugins/tiny-youtube-post-widget/#description)
 * [评价](https://cn.wordpress.org/plugins/tiny-youtube-post-widget/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/tiny-youtube-post-widget/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/tiny-youtube-post-widget/#developers)

 [支持](https://wordpress.org/support/plugin/tiny-youtube-post-widget/)

## 描述

This is a widget to display different YouTube videos in widget assigned for different
posts or pages.

Just go to the post or page create admin and you’ll get a meta box where you’ve 
to put your YouTube URL. Then hit publish. After that go to your widget admin and
place the widget.
 If you wanna give any title, you have to give it in title box.
You also can provide the height of the video size. Then hit save. Now go to the 
front end and see the magic.

#### Features

 * Assing video to any kind of post types(Post, Page or any kind of custom post 
   type).
 * Define single as well as multiple post types in which the plugin will enable 
   the YouTube URL field.
 * Assign video to any kind of taxonomies.
 * Define single or multiple taxonomies in which the plugin will enable the YouTube
   URL field.
 * Shortcode functionlity for post also available.
 * As well as shortcode functionlity for taxonomies.
 * Can set custom height width.

#### Shortcodes

    ```
    [typw_post id="" height="" width=""]
    ```

Use this code with this parameters. here `id` is the post id which video you want
to show.

    ```
    [typw_tax id="" height="" width=""]
    ```

Use this code with this parameters. here `id` is the taxonomy id which video you
want to show.

## 屏幕截图

[⌊Tiny YouTube Post Widget Screenshot.⌉⌊Tiny YouTube Post Widget Screenshot.⌉[

Tiny YouTube Post Widget Screenshot.

[⌊YouTube URL meta box assigned to post.⌉⌊YouTube URL meta box assigned to post.⌉[

YouTube URL meta box assigned to post.

[⌊YouTube URL meta box assigned to page.⌉⌊YouTube URL meta box assigned to page.⌉[

YouTube URL meta box assigned to page.

[⌊YouTube URL meta box assigned to post category.⌉⌊YouTube URL meta box assigned
to post category.⌉[

YouTube URL meta box assigned to post category.

[⌊YouTube URL meta box assigned to post tags.⌉⌊YouTube URL meta box assigned to 
post tags.⌉[

YouTube URL meta box assigned to post tags.

[⌊Settings Page.⌉⌊Settings Page.⌉[

Settings Page.

## 安装

 1. Upload `tiny-youtube-post-widget` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Goto widget menu and place the ‘Tiny YouTube Post Widget’ where you want.

## 常见问题

  Is it have any shortcode to display the assigned video anywhere else?

Yes. You can. Just read the description.

  What about ‘Display Default YouTube URL if post URL input is empty’ check box?

If this is checked and you’ve not assigned any video with a post then it’s gonna
display the default video you provided in the widget for the post.

  Can I assign video to categories or tags?

Yes. You can. Just look at the screenshots.

  Can I enable the option to only for particular post type?

Yes. You can.

  Can I enable the option to only for particular type of taxonomy?

Yes. You can.

## 评价

![](https://secure.gravatar.com/avatar/9cd9cc0d27a59ce821ca48774c9635ed4f307b2a3097387380f8b351a6d4abb2?
s=60&d=retro&r=g)

### 󠀁[Couldn’t be better](https://wordpress.org/support/topic/couldnt-be-better-7/)󠁿

 [Anwar](https://profiles.wordpress.org/a1war/) 2017 年 1 月 6 日

I used it for my personal blog and it couldn’t be better.

 [ 阅读所有10条评价 ](https://wordpress.org/support/plugin/tiny-youtube-post-widget/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Rnaby ](https://profiles.wordpress.org/rnaby/)

[帮助将「Tiny YouTube Post Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/tiny-youtube-post-widget)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/tiny-youtube-post-widget/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/tiny-youtube-post-widget/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/tiny-youtube-post-widget/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/tiny-youtube-post-widget/)。

## 更新日志

#### 3.0.1

 * Multiple user role based authentication added.
 * Some code improvement.
 * Some bug fixed.

#### 3.0.0

 * Fixed some functions and made compatible with WordPress 4.6.1 .
 * Fully refactored with WordPress Plugin Development Boilerplate.
 * “Post Type” selection support added. Means now you can define the post types 
   where this plugin should execute its functionality.
 * “Taxonomy” selection support added. Means now you can define the taxonomies where
   this plugin should execute its functionality.
 * User role based authentication added.
 * Shortcode functionality added.

#### 2.0.0

 * Fixed Some functions and made compatible with WordPress 4.3 .

#### 1.0.0

 * Initial version.

## 额外信息

 *  版本 **3.0.1**
 *  最后更新：**10 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **4.6.30**
 *  语言
 * [English (US)](https://wordpress.org/plugins/tiny-youtube-post-widget/)
 * 标签
 * [meta box](https://cn.wordpress.org/plugins/tags/meta-box/)[video](https://cn.wordpress.org/plugins/tags/video/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)[youtube](https://cn.wordpress.org/plugins/tags/youtube/)
 *  [高级视图](https://cn.wordpress.org/plugins/tiny-youtube-post-widget/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  10 条 5 星评价     ](https://wordpress.org/support/plugin/tiny-youtube-post-widget/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/tiny-youtube-post-widget/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/tiny-youtube-post-widget/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/tiny-youtube-post-widget/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/tiny-youtube-post-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/tiny-youtube-post-widget/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/tiny-youtube-post-widget/reviews/)

## 贡献者

 *   [ Rnaby ](https://profiles.wordpress.org/rnaby/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/tiny-youtube-post-widget/)