
內容簡介
這是一個簡單的 WordPress 外掛,可在發佈新文章之前進行多種檢查。它可以設定標題長度的最小值和最大值。設定必須有特色圖片。還可以指定特色圖片的最小/最大高度和寬度。此外,此插件還具有檢查文章網址是否為英文的額外功能。
如果您擁有一個多作者的網站,他們經常發佈標題太小或太大的文章,或者您自己在按“發佈”之前經常忘記添加特色圖片,那麼這個外掛非常適合您。有時發佈的文章特色圖片分辨率太小,無法在首頁清晰顯示,這個外掛也可以幫助您解決這個問題。
此外,此插件還可以設置自定義條件,必須在發佈文章之前滿足這些條件。如果某個條件未滿足(例如,在沒有添加特色圖片的情況下單擊“發佈”按鈕),則將截取發佈事件,將文章保存為草稿,並顯示適當的錯誤以告知用戶錯誤内容以便進行更改。
外掛標籤
開發者團隊
② 後台搜尋「PrePublish Checks by Kgaurav」→ 直接安裝(推薦)
原文外掛簡介
[Classic-Editor-Only] A simple plugin to enforce variety of checks before publishing any new post.Define minimum and maximum title length.
Make presence of a featured image compulsory.
Specify the minimum/maximum height and width for your featured images.
Bonus feature check for post slug to be in english.
Do you own a multi-author website,who keeps publishing posts with too small or too big title?
Or do you yourself keep forgetting to add featured image before clicking on that “publish” button?
Maybe people keep making posts on your website with featured images of such small resolution that they start looking blurry on your landing page?
This plugin will ensure that you can set custom conditions that need to be met before someone could publish a post.
If anyone clicks on the ‘publish’ button and one of the conditions are not met(For eg-if publish button is clicked without adding a featured image.) then the publish event will be intercepted,post will be saved as a draft instead and user will get an appropriate error showing what they did wrong and how they can correct their mistake before publishing.
