
內容簡介
Automatic Featured Image Posts 可以在每次上傳圖像時創建一個新的帶有特色圖像的文章。透過外掛設置頁面,您可以將圖像設置為發佈,並將其分配給您現有的自定義文章類型和/或文章格式之一。
想像的使用案例是使通過 WordPress 管理大量照片變得更有趣,更有趣。
在上傳活動或渡假的10、100或1000張照片後,您和其他用戶可以花費大部分時間將內容、標籤和標題添加到您的照片中,而不是一遍又一遍地進行單調乏味的帖子創建過程。
設置選項包括:
默認文章狀態(筆稿、待審核、已發佈、私密)
默認文章類型
默認情況下為 WordPress 文章。
可以選擇安裝在 WordPress 中的任何自定義文章類型。
默認文章格式
默認值為 "standard",相當於沒有。
如果通過您的主題註冊,提供其他選項
可用過濾器包括:
afip_new_post_title = 允許其他函數或主題在創建前更改文章標題。
afip_new_post_category = 允許其他函數或主題在創建前更改文章分類。
afip_new_post_content = 允許其他函數或主題在創建前更改文章內容。
afip_new_post_date = 允許其他函數或主題在創建前更改文章日期。
afip_post_parent_continue = 允許在現有文章中插入圖像時創建新文章。
afip_continue_new_post = 允許其他函數或主題跳過文章創建。
可用動作包括:
afip_pre_create_post = 在為圖像創建帖子之前立即運行。
afip_created_post = 在每次圖像加載被處理後立即運行。
請隨意 fork、提交問題和/或在 GitHub 上貢獻。
外掛標籤
開發者團隊
② 後台搜尋「Automatic Featured Image Posts」→ 直接安裝(推薦)
原文外掛簡介
Automatic Featured Image Posts creates a new post with a Featured Image every time an image is uploaded. Through the plugin settings page, you can set the image to publish and assign itself to one of your other existing custom post types and/or post formats.
The imagined use case is to make managing a large number of photos through WordPress a little more interesting and a little more fun.
After uploading 10, 100, or 1000 pictures from an event or vacation, you and other users can go through and spend the majority of your time adding content, tags, and titles to your photographs rather than going through a monotonous process creating new posts over and over again.
Settings are available for:
Default Post Status (draft, pending, published, private)
Default Post Type
Default is the WordPress post.
Can choose any custom post type registered in your WordPress installation.
Default Post Format
Default is ‘standard’, which equates to none.
Other options are provided if registered by your theme
Filters are available for:
afip_new_post_title = Allow other functions or themes to change the post title before creation.
afip_new_post_category = Allow other functions or themes to change the post categories before creation.
afip_new_post_content = Allow other functions or themes to change the post content before creation.
afip_new_post_date = Allow other functions or themes to change the post date before creation.
afip_post_parent_continue = Allow creation of a new post when an image is inserted in an existing post.
afip_continue_new_post = Allow other functions or themes to skip creation of a post.
Actions are available for:
afip_pre_create_post = Runs immediately before each post is created for an image.
afip_created_post = Runs after each image load is processed.
Feel free to fork, submit issues, and/or contribute on GitHub
