BASIC URL ShortCodes plugin support for a basic short codes to use in your post/page editor that produce correct absolute URLs.
| Author: | Vikas Sharma (profile at wordpress.org) |
| WordPress version required: | 4.0.0 |
| WordPress version tested: | 6.9.1 |
| Plugin version: | 4.0.2 |
| Added to WordPress repository: | 20-07-2017 |
| Last updated: | 28-02-2026 |
| Rating, %: | 100 |
| Rated by: | 2 |
| Plugin URI: | https://wordpress.org/plugins/basic-url-short... |
| Total downloads: | 7 843 |
| Active installs: | 3 000+ |
![]() Click to start download |
|
Sometimes you need to display your website’s base URL, active theme URL or uploads folder URL directly inside your content editor.
Basic URL Shortcodes allows you to easily insert important WordPress URLs using simple shortcodes inside posts, pages and widgets.
Available Shortcodes
[home_url]
Outputs the website’s home URL (as set in WordPress Settings).
Example:
http://localhost/wp-demo
[theme_url_template]
Outputs the URL of the currently active theme (child theme supported).
Example:
http://localhost/wp-demo/wp-content/themes/mytheme
[UPLOAD_URL]
Outputs the base URL of the WordPress uploads directory.
Example:
http://localhost/wp-demo/wp-content/uploads
These shortcodes are useful when building custom layouts, inserting dynamic links or when theme customization options are limited.
Lightweight, simple and fully compatible with modern WordPress editors.
License
This plugin uses the GPLv3 license.
Screenshots
FAQ


