內容簡介
這個外掛可以處理以下事項:
在清單檢視中的媒體項目的列選單中,提供額外的「建立文章」選項
一個新的「建立文章特色圖片」批次選項
新增一些程式碼,以確保當您刪除文章時,圖片會被正確清除(post_parent = 0),因此它會顯示在「未附加」篩選器中
在您的 RSS 中新增 MediaRSS。
預設情況下,它會建立「私人」文章,因為我需要此外掛來處理舊照片。由於我使用影像發佈日作為文章發佈日期,「私人」可以讓此日期保持不變,而「發佈」和「草稿→發佈」預設會將文章發佈日期移動到當天。在「文章」視窗中,也很容易找到「私人」文章。
它們還會獲得「media2post」標籤,因此它們很容易找到。
特別感謝 Jeremy Felt 先生撰寫了「Automatic Featured Image Posts」外掛的作者,他的程式碼對此外掛帶來了很大的「影響」。我從他的程式碼中學到了很多!
(https://jeremyfelt.com/wordpress/plugins/automatic-featured-image-posts/)
外掛標籤
開發者團隊
原文外掛簡介
This plugin handles a number of things:
An extra “create post” option in the row menu for mediaitems in the listview
An new “create post featured image” bulk option
add some code to make sure that when you delete a post, the image is cleared properly (post_parent = 0) so it shows up in the “unattached” filter
add MediaRSS to your feed.
By default it create “private” posts as I needed this plugin to deal with older photos. As I use the image postdate as
default for the postdate, private leaves this date alone which publish and draft->publish by default moves the postdate
the date of publishing. Private is also easy to find in the “posts” window.
They also get an “media2post” tag so they are easy to find.
De owner of the post equals the owner of the image.
Special thanks go to mr. Jeremy Felt who wrote “Automatic Featured Image Posts” and who’s code heavily
“influenced” this plugin. I learned a lot from his code!
(https://jeremyfelt.com/wordpress/plugins/automatic-featured-image-posts/)
