前言介紹
- 這款 WordPress 外掛「Dynamic Links」是 2011-12-15 上架。
- 目前有 30 個安裝啟用數。
- 上一次更新是 2014-01-24,距離現在已有 4118 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.2 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
greencp |
外掛標籤
images | relative urls | dynamic image links |
內容簡介
在文章中插入圖片時,WordPress 會在圖片的 src 和 href 屬性上使用絕對 URL(即包括網域名稱),並且會在相關聯的連結上使用相同的方式。但如果您更改了網域名稱(例如從測試環境變成正式環境)或上傳目錄的基本路徑,這樣做將會帶來問題。此外,使用相對 URL(即不包括網域部分的絕對文件路徑)可以減少文件大小,但在饋送中可能無法使用。
動態連結將上傳目錄中所有文件的連結替換為占位符,當檢視內容時,占位符將再次被替換為上傳目錄的基本路徑,因此圖像連結會根據網域名稱或上傳基本路徑的變化進行動態調整。
作為額外選項,當在您的網站上顯示內容時,可以使用相對連結以減少頁面大小(儘管有更好的選項可供選擇,而它只是因為可行而被包含)。饋送中的圖像和連結始終會得到完整的路徑。
許可證
本程式是自由軟體,您可以在自由軟體基金會發布的 GNU 通用公共授權條款第 2 版或任何之後版本下再分發或修改它。
本程式是基於 "現狀" 提供,沒有任何明示或暗示的擔保或條件保證,開發者也不對程式的特定目的進行擔保。詳情請參閱 GNU 通用公共授權條款。
原文外掛簡介
When inserting an image into a posts WordPress uses absolute urls (i.e. including domain name) for the src and href attributes of the image and associated link. This leads to problems if you change your domain (e.g. when moving from test to production environment) or if you change the base path of your upload directory. Also usage of relative URLs (i.e. absolute path to file without domain part) can reduce file size, but may not be used in feeds.
Dynamic Links replaces all links to files in the upload directory with a placeholder which is replaced again with the base path to the upload dir when the content is viewed. This way image links are dynamically adapted to changes in domain name or upload base path.
As additional option relative links can be used when content is display on your site to reduce page size (Though there are better options to do this. It’s just included because it’s possible). Images and links in feeds will always get the full path.
License
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Dynamic Links」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.1 |
延伸相關外掛(你可能也想知道)
Roots Plug 》Roots Plug 是一個萬能的 WordPress 外掛,它可以清除默認輸出並提供我們在網上搜索的所有便捷功能–所有這些功能都包含在一個方便的套件中!它還自動附...。