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

Simple Relative Content

外掛說明

When you use the WordPress editor to insert a media in the content field it stores a reference to the absolute path.
So if you change the location of your site (by switching from staging to production environment for example) all your paths will be incorrect.
This plugin stores relative pathes in the db instead of an absolute path.
Beware: this plugin must be activated BEFORE inserting a media into the content field. It has no effect on the medias stored before the activation.
It’s mostly based on the WP_SITEURL constant which should be defined in the wp_config.php file. If this constant isn’t defined it uses the “siteurl” option value instead.
If the plugin detects that you access the website from another location than the “siteurl” defined initially it can correct most of the wrong urls in the database.

Localisation of the plugin into french.

安裝方式

You can use the built in installer and upgrader, or you can install the plugin manually.

  1. You can either use the automatic plugin installer or your FTP program to upload it to your wp-content/plugins directory
    the top-level folder. Don’t just upload all the php files and put them in /wp-content/plugins/.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it!

If you have to upgrade manually simply repeat the installation steps.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Simple Relative Content〉的開發相關工作。

參與者

將〈Simple Relative Content〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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