Title: URL ShortCodes
Author: cgarvey
Published: <strong>4. mars 2010</strong>
Last modified: 8. desember 2018

---

Søk gjennom innstikk

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

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

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

# URL ShortCodes

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

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

 * [Detaljar](https://nn.wordpress.org/plugins/url-shortcodes/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/url-shortcodes/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/url-shortcodes/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/url-shortcodes/#developers)

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

## Skildring

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.

## Skjermbilete

[⌊Sample short code use.⌉⌊Sample short code use.⌉[

Sample short code use.

[⌊Rendered output.⌉⌊Rendered output.⌉[

Rendered output.

## Installasjon

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.

## Vanlege spm.

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

## Omtalar

![](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/) 8. februar 2017

Tks for this simple solution \o

 [ Les 1 omtale ](https://wordpress.org/support/plugin/url-shortcodes/reviews/)

## Bidragsytarar og utviklarar

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

Contributors

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

[Omset “URL ShortCodes” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/url-shortcodes)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/url-shortcodes/), sjekk
[SVN-lageret](https://plugins.svn.wordpress.org/url-shortcodes/) eller abonner på
[utviklingsloggen](https://plugins.trac.wordpress.org/log/url-shortcodes/) med [RSS](https://plugins.trac.wordpress.org/log/url-shortcodes/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

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

## Om

 *  Version **1.2**
 *  Last updated **8 år sidan**
 *  Active installations **2 000+**
 *  WordPress version ** 2.9.0 eller nyare **
 *  Tested up to **5.0.25**
 *  Language
 * [English (US)](https://wordpress.org/plugins/url-shortcodes/)
 * Tags
 * [cgarvey](https://nn.wordpress.org/plugins/tags/cgarvey/)[short code](https://nn.wordpress.org/plugins/tags/short-code/)
   [shortcode](https://nn.wordpress.org/plugins/tags/shortcode/)[stylesheet](https://nn.wordpress.org/plugins/tags/stylesheet/)
   [template](https://nn.wordpress.org/plugins/tags/template/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/url-shortcodes/advanced/)

## Vurderingar

 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/)

## Contributors

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

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](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)