
內容簡介
當在文章的前 4000 個字元內放置 YouTube 或 Vimeo 影片時,該影片的縮略圖將自動上傳並設為文章的特色圖片,只要該文章還沒有設定特色圖片。
此外,在設置影片縮略圖為特色圖片後,將更新「is_video」文章元數據,以允許在您的迴圈內使用條件語句。
Pluginize由WebDevStudios於 2016 年推出,旨在推廣、支持和打造所有WordPress 外掛產品。 Pluginize 不僅一直創建新的 WordPress 產品,還為 WordPress 社區中受歡迎的外掛如 CPTUI、 CMB2 等提供持續的支持和開發。
外掛標籤
開發者團隊
② 後台搜尋「Automatic Featured Images from Videos」→ 直接安裝(推薦)
原文外掛簡介
When placing a YouTube or Vimeo video within the first 4000 characters of a post, the thumbnail of that video will automatically be uploaded and set as the featured image for the post as long as the post does not already have a set featured image.
In addition, after setting the video thumbnail as the featured image, an “is_video” post meta field is updated to allow for the use of conditional statements within your loop.
Pluginize was launched in 2016 by WebDevStudios to promote, support, and house all of their WordPress products. Pluginize is not only creating new products for WordPress all the time, but also provides ongoing support and development for WordPress community favorites like CPTUI, CMB2, and more.
