前言介紹
- 這款 WordPress 外掛「Lightweight YouTube Channel Widget」是 2015-01-04 上架。
- 目前有 20 個安裝啟用數。
- 上一次更新是 2015-01-05,距離現在已有 3772 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.9.0 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
matachi |
外掛標籤
widget | channel | youtube | playlist | favorites |
內容簡介
使用此外掛程式,當你想在你的網站側邊欄中顯示來自頻道或播放清單的最新 YouTube 影片時,就可以使用它。
此外掛程式是 Aleksandar Urošević 的 YouTube Channel 分支。這個外掛程式更輕巧,只有 YouTube Channel 的部分特色。
每個影片都只顯示縮圖,並且可以選擇顯示標題和/或描述。按一下縮圖會將使用者帶到 YouTube 上的影片頁面。這樣可以讓程式碼庫更小,且不需要額外的前端依賴。然而,原始外掛程式 YouTube Channel 依賴於幾個 JavaScript 函式庫(如 jQuery、FitVids.JS 和 Magnific Popup),這有可能使整個 WordPress 網站較慢而且使用不便。
特色
顯示來自 YouTube 頻道、收藏夾或播放清單的最新影片。
從上述資源中取得隨機影片的選項。
用縮圖來顯示影片。
按一下縮圖會將使用者帶到 YouTube 上的影片頁面。
自訂快取時間。
樣式
您可以使用主題中的 style.css 來為小工具的內容添加樣式。
.youtube_channel - 主要小工具包裝器類別(非響應式塊有額外的 default 類別,響應式塊有額外的 responsive 類別)。
.ytc_title - 縮圖上的影片標題類別。
.ytc_video_container - 單個項目的容器包裝器類別。
.ytc_video_1, .ytc_video_2, ... - 單個項目的容器類別,其中數字是列表中項目的位置。
.ytc_video_first - 第一個項目的容器類別。
.ytc_video_last - 最後一個項目的容器類別。
.ytc_video_mid - 所有其他容器的類別。
.ytc_description - 影片描述文字的類別。
開發人員
完整的外掛程式原始碼可以在 Github 上找到,網址為
github.com/MaTachi/lightweight-youtube-channel-widget。
鳴謝
原始程式碼庫(版本2.4.1.3)由 Aleksandar Urošević 編寫,並根據 GPLv3 授權。
原文外掛簡介
Use this plugin when you want to display a list of recent YouTube videos from a
channel or playlist in your site’s sidebar.
This plugin is a fork of Aleksandar Urošević’s YouTube
Channel. This plugin is much
more lightweight and does only have a subset of YouTube Channel’s features.
The videos are each only presented with a thumbnail, and optionally also its
title and/or description. Clicking a thumbnail takes the user to the video’s
page on YouTube. This results in a much smaller codebase and no additional
front-end dependencies. The original plugin, YouTube Channel by Aleksandar
Urošević, on the other hand depends on several JavaScript libraries
(jQuery, FitVids.JS and
Magnific Popup), which
potentially makes the whole WordPress site both slower to load and use.
Features
Display latest videos from YouTube channel, favorites or playlist.
Option to get random videos from resources mentioned above.
The videos are displayed with a thumbnail.
Clicking a thumbnail takes the user to the video’s page on YouTube.
Custom caching timeout.
Styling
You can use the style.css from your theme to style the widget’s content.
.youtube_channel – Main widget wrapper class (non-responsive block has
additional class default, responsive block has additional class
responsive).
.ytc_title – Class of video title above thumbnail.
.ytc_video_container – Class of a single item’s container wrapper.
.ytc_video_1, .ytc_video_2, … – Class for the container of a single
item where the number is the item’s placement in the list.
.ytc_video_first – Class of the first item’s container.
.ytc_video_last – Class of the last item’s container.
.ytc_video_mid – Class of all other containers.
.ytc_description – Class for video description text.
Developer
The full source code of the plugin can be found on Github at
github.com/MaTachi/lightweight-youtube-channel-widget.
Credits
Original codebase (YouTube Channel version
2.4.1.3) is written by
Aleksandar Urošević and licensed under GPLv3.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Lightweight YouTube Channel Widget」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Favorites 》取得函式: get_favorites_button($post_id, $site_id), 列印函式: the_favorites_button($post_id, $site_id), 短代碼: [favorite_button post_id="" site...。
HivePress Favorites 》HivePress Favorites 是一個擴展外掛,適用於 HivePress WordPress 外掛。它可以讓使用者建立他們喜愛的產品列表。, 範例 | 文件 | 支援。
WP Favorite Posts 》允許使用者將文章加入至我的最愛。此外掛程式會使用 Cookies 與資料庫儲存資料。, , 若使用者已登入,則我的最愛資料會儲存在資料庫中而非 Cookies 中。, 若...。
Slickstream: Engagement and Conversions 》這個外掛是給Slickstream客戶使用的,它會在不影響網站速度和效能的情況下,將我們的嵌入代碼和關鍵元數據加入您的網頁中。, Slickstream用戶可以獲得無限訪...。
My Favorites 》這款外掛可以讓使用者儲存喜愛的文章並列出清單。, 這款外掛很簡單,只要安裝後使用簡碼,即可儲存使用者喜愛的文章並在任何地方顯示清單。, 已登入使用者的...。
wp_favorites 》WP Favorites 允許已登錄用戶收藏標籤並只查看包含該標籤的文章。用戶還可以收藏多個標籤,並只查看包含所有這些標籤(或選擇包含其中任何一個標籤)的文章。...。
Howdy Tweaks 》更改右上角的「Howdy」問候語,並新增更多連結。同時,在「收藏」下拉選單中新增連結。, 我最喜歡的連結是「All Settings」,它連結至 options.php。。
DBWD Bookmark Page 》, 在不編輯主題的情況下,將一個「加入書籤」按鈕新增到您的標頭中 - 已經在 Firefox 和 IE 上進行測試。, 鼓勵您的訪客實際上將您的頁面加入書籤 - 增加回訪...。
Best Foot Forward 》變更日誌, Best Foot Forward 外掛提供了一個簡單的方式,藉由 WordPress 標籤系統自動建立精選文章列表。不需要手動建立列表或分類,只需要加上標籤就可以了...。
Custom Admin-Bar Favorites 》允許管理員和其他使用者(具有特別定義的使用者權限)在管理工具列上定義自訂選單,以放置最愛連結。, 支援, 本外掛的技術支援將透過 WordPress 外掛論壇提供...。
WP Favorite Posts Extended 》這個外掛基於「WP Favorite Posts」,並擴展了 JSON API,提供給手機應用程式存取。, 這個外掛提供了三個方法:, wpfp/add, postid:必填, cookie...。
Readability Favorites 》你想發布和分享上週在 Readability 中保存的所有連結嗎?現在你可以做到了!, 你可以決定是每天、每週自動發布,或者手動生成。, 你只需要連接到 Readability...。
Post Flagger 》這是一個 WordPress 外掛,旨在標記登入使用者的文章。允許主題開發人員和管理者創建和編輯文章標誌,例如收藏、已看過、喜歡等,同時提供一種簡單的方式通過...。
NS Like This 》藉由 NS Like This 外掛,您可以掌控自己的內容並查看使用者最喜歡的內容。使用者可以儲存自己喜歡的文章、頁面、分類或標籤,在自動建立且管理的私人頁面上...。
Keyring Reactions Importer 》此外掛backfeed可讓您獲取在您的所有社交網絡帳戶中有複製的文章的所有反應。, 必備的外掛程式, , Keyring, 註:使用 500px 時,您需要一個尚未合併入 Keyrin...。