
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
1,000+
安裝啟用
★★★★★
5/5 分(9 則評價)
841 天前
最後更新
—
問題解決
WordPress 4.3+ v1.7.0 上架:2019-05-08
內容簡介
當重新設計一個有大量上傳目錄的網站時,您可能不需要在開發或測試環境中使用所有的上傳文件,但同時您也不希望在整個網站上看到缺失的圖片。
這個外掛讓您使用產品伺服器來顯示缺失的媒體。使用常數BE_MEDIA_FROM_PRODUCTION_URL或過濾器be_media_from_production_url來定義產品URL。
在所有情況下,若本地檔案存在,則會優先使用本地檔案而非遠端檔案。
外掛標籤
開發者團隊
原文外掛簡介
When spinning up a staging or local development environment, you might not need the full uploads directory, but you also don’t want to see broken images throughout the site.
This plugin lets you use the production server for missing media. Define the production URL using a wp-config.php constant BE_MEDIA_FROM_PRODUCTION_URL or filter be_media_from_production_url.
In all cases, if a local file exists, it will be used in preference to the remote file.
