Home Plugins url shortcodes
URL ShortCodes logo

URL ShortCodes

by cgarvey on WordPress.org

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

(1)
Sample short code use.

Sample short code use.

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

Active installations3K+
Weekly downloads
28-15.15%
Version1.2
Last updated12/8/2018
WordPress version2.9.0
Tested up to5.0.22
Tags
cgarveyshort codeshortcodestylesheettemplate