
內容簡介
輕鬆顯示最新的 YouTube 影片
使用 [latest_youtube_video] 短代碼,你可以輕鬆地顯示任何 YouTube 頻道的最新影片,僅需要使用頻道 ID,並可選擇影片的寬度和高度。
安裝
安裝這個 WordPress 外掛只需幾個簡單的步驟。
安裝 WordPress 外掛
以管理員身份登入 WordPress 的 WP-Admin 區域。
在左側選單中點擊「外掛」 ->「新增外掛」。
在關鍵字搜索中搜尋「Latest YouTube Video」。
在 Derek Codes 的「Latest YouTube Video」外掛旁點擊「立即安裝」。
設定 WordPress 外掛
前往想要加入 YouTube 影片的文章或頁面。
加入短代碼 [latest_youtube_video channel=’UCUE50FtRT_m6tEiAxpqVUkg’ width=’560′ height=’315′],將「channel」、「width」和「height」替換為自己的選項。
點擊「更新」,就可以立即看到影片了!
關於 Derek Codes
我製作編碼教學影片,希望協助對網頁程式設計有興趣的初學者學習編碼。我的內容包括行業中最熱門的語言的全面的教學。你會發現有關 PHP、Laravel、JavaScript、CSS 等的影片、指南和可下載資源,幫助你學習編碼。感謝您觀看!
網站:https://www.derekcodes.io
YouTube 頻道:https://www.youtube.com/@derekcodes
外掛標籤
開發者團隊
原文外掛簡介
Easily Display The Latest YouTube Video
Using the [latest_youtube_video] shortcode, you can easily display the latest video from any YouTube channel using just the channel id and optionally the width and height of the video.
Installation
Setting up the WordPress plugin is as easy as a few clicks.
Installing the WordPress Plugin
Login to your WordPress WP-Admin area as an Administrator.
Click on “Plugins -> Add New” in the left hand menu.
Search for “Latest YouTube Video” in the keyword search.
Click “Install Now” next to the “Latest YouTube Video” plugin by Derek Codes.
Configuring the WordPress Plugin
Navigate to the Post or Page you’d like to add a YouTube video.
Add the shortcode [latest_youtube_video channel=’UCUE50FtRT_m6tEiAxpqVUkg’ width=’560′ height=’315′] replacing the “channel”, “width”, and “height” with your choices.
Or, for AJAX support, use [latest_youtube_video channel=’UCUE50FtRT_m6tEiAxpqVUkg’ width=’560′ height=’315′ ajax=’1′]
Click “Update” and watch the magic!
About Derek Codes
I make coding tutorial videos with the goal of helping beginners interested in web programming learn to code. My content consists of a comprehensive collection of tutorials on the most popular languages in the industry. You’ll find videos, guides and downloadable assets to help you learn to code PHP, Laravel, JavaScript, CSS and more. Thanks for watching!
+Website: https://www.derekcodes.io
+YouTube: https://www.youtube.com/@derekcodes
