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

---

Search plugins

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

Nid yw’r ategyn hwn **wedi cael ei ddiweddaru ers 3 ryddhad mawr**. Efallai nad 
yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio
gyda fersiynau mwy diweddar o WordPress.

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

# URL ShortCodes

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

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

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

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

## Disgrifiad

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.

## Lluniau Sgrin

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

## Gosod

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.

## Cwestiynau Cyffredin

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

## Adolygiadau

![](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/) Chwefror 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.

Cyfranwyr

 *   [ 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).

## Cofnod Newid

 * 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 blynedd yn ôl**
 *  Active installations **2,000+**
 *  WordPress version ** 2.9.0 neu uwch **
 *  Tested up to **5.0.25**
 *  Language
 * [English (US)](https://wordpress.org/plugins/url-shortcodes/)
 * Tags
 * [cgarvey](https://cy.wordpress.org/plugins/tags/cgarvey/)[short code](https://cy.wordpress.org/plugins/tags/short-code/)
   [shortcode](https://cy.wordpress.org/plugins/tags/shortcode/)[stylesheet](https://cy.wordpress.org/plugins/tags/stylesheet/)
   [template](https://cy.wordpress.org/plugins/tags/template/)
 *  [Advanced View](https://cy.wordpress.org/plugins/url-shortcodes/advanced/)

## Graddau

 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)

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

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

## Cyfranwyr

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

## Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

 [Gweld y fforwm cefnogi](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)