Title: Basic URL ShortCodes
Author: Vikas Sharma
Published: <strong>2017 年 7 月 20 日</strong>
Last modified: 2026 年 2 月 28 日

---

搜尋外掛

![](https://s.w.org/plugins/geopattern-icon/basic-url-shortcodes.svg)

# Basic URL ShortCodes

 由 [Vikas Sharma](https://profiles.wordpress.org/devikas301/) 開發

[下載](https://downloads.wordpress.org/plugin/basic-url-shortcodes.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/basic-url-shortcodes/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/basic-url-shortcodes/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/basic-url-shortcodes/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/basic-url-shortcodes/#developers)

 [技術支援](https://wordpress.org/support/plugin/basic-url-shortcodes/)

## 外掛說明

Sometimes you need to display your website’s base URL, active theme URL or uploads
folder URL directly inside your content editor.

Basic URL Shortcodes allows you to easily insert important WordPress URLs using 
simple shortcodes inside posts, pages and widgets.

#### Available Shortcodes

**[home_url]**
 Outputs the website’s home URL (as set in WordPress Settings). Example:
http://localhost/wp-demo

**[theme_url_template]**
 Outputs the URL of the currently active theme (child theme
supported). Example: http://localhost/wp-demo/wp-content/themes/mytheme

**[UPLOAD_URL]**
 Outputs the base URL of the WordPress uploads directory. Example:
http://localhost/wp-demo/wp-content/uploads

These shortcodes are useful when building custom layouts, inserting dynamic links
or when theme customization options are limited.

Lightweight, simple and fully compatible with modern WordPress editors.

### License

This plugin uses the GPLv3 license.

## 螢幕擷圖

 * [[
 * Sample short code use.
 * [[
 * Rendered output.

## 安裝方式

Use WordPress Add New Plugin feature, searching “BASIC URL ShortCodes”, or download
the archive and:

 1. Unzip the archive on your computer
 2. Upload `basic-url-shortcodes` directory to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Use shortcode & enjoy

## 常見問題集

There are no FAQs at this time. Feel free to suggest some!

## 使用者評論

![](https://secure.gravatar.com/avatar/2d7bbf8bb3b03413c850a4e2ece125ea56d0133e053495c840813e948b6900cd?
s=60&d=retro&r=g)

### 󠀁[I love plugins that do what says on the box](https://wordpress.org/support/topic/i-love-plugins-that-do-what-says-on-the-box/)󠁿

 [aaylasecura](https://profiles.wordpress.org/aaylasecura/) 2025 年 2 月 5 日

I’m a developer and hate installing bloat or generally plugins that have 2MB of 
code to just do one simple thing. This one is just a screen-height of simplicity
that just adds the shortcodes it says it does. Perfect 🙂

![](https://secure.gravatar.com/avatar/272b6ea380d3b5632d977768820daf10da195cbb6182b96fee367cf0268b98ef?
s=60&d=retro&r=g)

### 󠀁[Great basic plugin](https://wordpress.org/support/topic/great-basic-plugin/)󠁿

 [kpdeveloper65](https://profiles.wordpress.org/kpdeveloper65/) 2019 年 9 月 19 
日

Great basic plugin Exactly what I was looking for. Great works for website with 
any theme. Thanks!

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/basic-url-shortcodes/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Basic URL ShortCodes〉的開發相關工作。

參與者

 *   [ Vikas Sharma ](https://profiles.wordpress.org/devikas301/)

[將〈Basic URL ShortCodes〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/basic-url-shortcodes)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/basic-url-shortcodes/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/basic-url-shortcodes/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/basic-url-shortcodes/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/basic-url-shortcodes/)。

## 中繼資料

 *  版本 **4.0.2**
 *  最後更新 **3 個月前**
 *  啟用安裝數 **3,000+**
 *  WordPress 版本需求 ** 4.0.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  語言
 * [English (US)](https://wordpress.org/plugins/basic-url-shortcodes/)
 * 標籤:
 * [rockon](https://tw.wordpress.org/plugins/tags/rockon/)[shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
   [stylesheet](https://tw.wordpress.org/plugins/tags/stylesheet/)[template](https://tw.wordpress.org/plugins/tags/template/)
 *  [進階檢視](https://tw.wordpress.org/plugins/basic-url-shortcodes/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/basic-url-shortcodes/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/basic-url-shortcodes/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/basic-url-shortcodes/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/basic-url-shortcodes/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/basic-url-shortcodes/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/basic-url-shortcodes/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/basic-url-shortcodes/reviews/)

## 參與者

 *   [ Vikas Sharma ](https://profiles.wordpress.org/devikas301/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/basic-url-shortcodes/)