[WordPress] 外掛分享: BE Media from Production

首頁外掛目錄 › BE Media from Production
WordPress 外掛 BE Media from Production 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
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。

在所有情況下,若本地檔案存在,則會優先使用本地檔案而非遠端檔案。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.7.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「BE Media from Production」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon