這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Coral – Remote Images

描述

Do you work with GIT repositories and develop WordPress websites locally? Have you found it time consuming and difficult to develop locally on a large WordPress website that has thousands of images? Does your development site get out of date within months due to active content management on the live site?

Activate this plugin on your local or development environment, and any linked images in the database content (wp-content/uploads folder) will be pulled from the live site URL.

安裝

  1. Upload the plugin files to the /wp-content/plugins/coral-remote-images directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Done!

常見問題

The plugin didn’t recognize the live URL

Yea, it might not. When we at Big Sea build websites locally, we tend to import the live database, and modify the URL for our local installs via PHP constants. If you do not do that, and modify the database, you can tell Coral Remote Images what the live URL is by setting:

define('BSD_CORAL_LIVE_URL', 'http://yourlivesiteURL.com');

Add this in your wp-config.php or theme’s functions.php … this is the location of your WordPress install, not your site’s root (if it varies)

評價

2018年1月23日
I’m working on sites that get way out of date within one day. I also develop at a fast cadence. I must have all the images in place and I’m running out of space on my local machine. This plugin is great for filling in the images in the background. I host my images on a CDN so I plopped the CDN URL in there instead of the application URL. All works correctly.
2016年9月3日
It does what it says. Saves the wait of yanking a giant folder of resources from /wp-content and keeps files consistent with live sites.
閱讀全部3個評價

貢獻者及開發者

“Coral – Remote Images” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Coral – Remote Images 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1

  • Added a settings page under ‘Settings’ called ‘Remote Images’. This allows you to set the live url via the database. Will only be overridden by the BSD_CORAL_LIVE_URL PHP constant.

1.0.3

  • [Fix] Discovered that we weren’t compensating for SSL redirection. URLs to change to weren’t properly being determined.

1.0.2

  • [Fix] Noticed during wp-cli activate that WP_SITEURL isn’t set during the time that it’s being utilized. Changed the location that it gets used, and swapped out some conditionals accordingly.

1.0

  • Initial Release