
內容簡介
有時候您想在內容編輯器中加入基本網址(博客的網址或活動模板的網址),但模板自訂可能不夠靈活。
透過這個外掛,您可以使用 [url_base] 輸出博客的基本網址(由您在「設定」中設定)。或者,您可以使用 [url_template] 輸出活動模板的網址。
例如,在您的編輯器中輸入 <img src="[url_base]/test.png /> 可能會輸出 <img src="http://localhost/wordpress/test.png" />(如果 http://localhost/wordpress 是您在「設定」中所設定的博客網址)
支援的短代碼如下:
* [url_base] - 設定的博客網址(在「設定」中設定)。例如 http://localhost/wordpress
* [url_template] - 活動模板的網址。例如 http://localhost/wordpress/wp-content/themes/mytheme1
授權
這個外掛使用 GPLv3 授權。
外掛標籤
開發者團隊
原文外掛簡介
Sometimes you want to put the base URL (that of the blog, or that of the active template) in your content editor. Times when the template customising isn’t quite flexible enough.
With this plugin you can use [url_base] to output the base URL of the blog (as set in your Settings). Or, you can use [url_template] to output the URL of the active template.
For example
(if http://localhost/wordpress is what you have configured as your blog URL in Settings).
The supported short codes are as follows:
* [url_base] – the configured blog URL (set in Settings). E.g. http://localhost/wordpress
* [url_template] – the URL of the active template. E.g. http://localhost/wordpress/wp-content/themes/mytheme1
License
This plugin uses the GPLv3 license.
