Title: URL ShortCodes
Author: cgarvey
Published: <strong>March 4, 2010</strong>
Last modified: December 8, 2018

---

Search plugins

![](https://ps.w.org/url-shortcodes/assets/banner-772x250.jpg?rev=756935)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# URL ShortCodes

 By [cgarvey](https://profiles.wordpress.org/cgarvey/)

[Download](https://downloads.wordpress.org/plugin/url-shortcodes.rel_1-02.zip)

 * [Details](https://pcd.wordpress.org/plugins/url-shortcodes/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/url-shortcodes/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/url-shortcodes/#installation)
 * [Development](https://pcd.wordpress.org/plugins/url-shortcodes/#developers)

 [Support](https://wordpress.org/support/plugin/url-shortcodes/)

## Description

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 `<img src="[url_base]/test.png />` in your editor might output `<img
src="http://localhost/wordpress/test.png" />` (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.

## Screenshots

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

## Installation

There are 2 ways of installation. If your setup supports it, you can search for 
the plugin, by name, within your WordPress control panel and install it from there.

Alternatively, you download the .zip file, unzip it, and copy the resultant `url_short_codes`
folder to the `wp-content/plugins/` folder of your WordPress instaltion folder.

## FAQ

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

## Reviews

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

### 󠀁[Simple and userful](https://wordpress.org/support/topic/simple-and-userful-2/)󠁿

 [clebersleite](https://profiles.wordpress.org/clebersleite/) February 8, 2017

Tks for this simple solution \o

 [ Read all 1 review ](https://wordpress.org/support/plugin/url-shortcodes/reviews/)

## Contributors & Developers

“URL ShortCodes” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ cgarvey ](https://profiles.wordpress.org/cgarvey/)

[Translate “URL ShortCodes” into your language.](https://translate.wordpress.org/projects/wp-plugins/url-shortcodes)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/url-shortcodes/), check
out the [SVN repository](https://plugins.svn.wordpress.org/url-shortcodes/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/url-shortcodes/)
by [RSS](https://plugins.trac.wordpress.org/log/url-shortcodes/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

 * Version 1.2 – Confirmed suitability with WP 4.0.
 * Version 1.1 – Added graphics, and confirmed suitability with WP 3.6x.
 * Version 1.0 – Initial release.

## Meta

 *  Version **1.2**
 *  Last updated **7 years ago**
 *  Active installations **2,000+**
 *  WordPress version ** 2.9.0 or higher **
 *  Tested up to **5.0.25**
 *  Language
 * [English (US)](https://wordpress.org/plugins/url-shortcodes/)
 * Tags
 * [cgarvey](https://pcd.wordpress.org/plugins/tags/cgarvey/)[short code](https://pcd.wordpress.org/plugins/tags/short-code/)
   [shortcode](https://pcd.wordpress.org/plugins/tags/shortcode/)[stylesheet](https://pcd.wordpress.org/plugins/tags/stylesheet/)
   [template](https://pcd.wordpress.org/plugins/tags/template/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/url-shortcodes/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/url-shortcodes/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/url-shortcodes/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/url-shortcodes/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/url-shortcodes/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/url-shortcodes/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/url-shortcodes/reviews/)

## Contributors

 *   [ cgarvey ](https://profiles.wordpress.org/cgarvey/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/url-shortcodes/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6137112)