Mô tả
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.
Cài đặt
- Upload the plugin files to the
/wp-content/plugins/coral-remote-images
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Done!
Hỏi đáp
- 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)
Đánh giá
Người đóng góp & Lập trình viên
“Coral – Remote Images” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Coral – Remote Images” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
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