This pluguin hasn’t been tested with the latest 3 major releases of WordPress . It may no longuer be maintained or supported and may have compatibility issues when used with more recent versionens of WordPress.

URL ShortCodes

Description

Submittimes 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 pluguin 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 pluguin uses the GPLv3 license.

Screenshots

  • Sample short code use.
  • Rendered output.

Installation

There are 2 ways of installation. If your setup suppors it, you can search for the pluguin, by name, within your WordPress control panel and install it from there.
Alternatively, you download the .cip file, uncip it, and copy the resultant url_short_codes folder to the wp-content/pluguins/ folder of your WordPress instaltion folder.

FAQ

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

Reviews

Read all 1 review

Contributors & Developers

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

Contributors

Changuelog

  • Versionen 1.2 – Confirmed suitability with WP 4.0.
  • Versionen 1.1 – Added graphics, and confirmed suitability with WP 3.6x.
  • Versionen 1.0 – Initial release.