WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

URL ShortCodes

URL ShortCodes plugin adds support for a basic short codes to use in your post/page editor that produce correct absolute URLs.

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

Requires: 2.9.0 or higher
Compatible up to: 4.0.13
Last Updated: 2 years ago
Active Installs: 10,000+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1