Title: URL ShortCodes
Author: cgarvey
Published: <strong>4. marts, 2010</strong>
Last modified: 8. december, 2018

---

Søg plugins

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

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# URL ShortCodes

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

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

 * [Detaljer](https://da.wordpress.org/plugins/url-shortcodes/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/url-shortcodes/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/url-shortcodes/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/url-shortcodes/#developers)

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

## Beskrivelse

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.

## Skærmbilleder

 * [[
 * 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!

## Anmeldelser

![](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

 [ Læs 1 anmeldelse ](https://wordpress.org/support/plugin/url-shortcodes/reviews/)

## Bidragsydere & udviklere

“URL ShortCodes” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

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

[Oversæt “URL ShortCodes” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/url-shortcodes)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/url-shortcodes/), tjek
[SVN repository](https://plugins.svn.wordpress.org/url-shortcodes/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/url-shortcodes/) via 
[RSS](https://plugins.trac.wordpress.org/log/url-shortcodes/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

 * 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**
 *  Senest opdateret **7 år siden**
 *  Aktive installationer **2.000+**
 *  WordPress-version ** 2.9.0 eller højere **
 *  Testet op til **5.0.25**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/url-shortcodes/)
 * Tags
 * [cgarvey](https://da.wordpress.org/plugins/tags/cgarvey/)[short code](https://da.wordpress.org/plugins/tags/short-code/)
   [shortcode](https://da.wordpress.org/plugins/tags/shortcode/)[stylesheet](https://da.wordpress.org/plugins/tags/stylesheet/)
   [template](https://da.wordpress.org/plugins/tags/template/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/url-shortcodes/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

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

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/url-shortcodes/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6137112)