這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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.
  • YouTube URL meta box assigned to post.
  • YouTube URL meta box assigned to page.
  • YouTube URL meta box assigned to post category.
  • YouTube URL meta box assigned to post tags.
  • 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.

評價

閱讀全部10個評價

貢獻者及開發者

“Tiny YouTube Post Widget” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Tiny YouTube Post Widget 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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.