Basic URL ShortCodes

وەسف

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.

سکرین شۆتەکان

  • Sample short code use.
  • Rendered output.

دامەزراندن

Use WordPress Add New Plugin feature, searching “BASIC URL ShortCodes”, or download the archive and:

  1. Unzip the archive on your computer
  2. Upload basic-url-shortcodes directory to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Use shortcode & enjoy

پهد

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

پێداچوونەوەکان

شوبات 5, 2025
I’m a developer and hate installing bloat or generally plugins that have 2MB of code to just do one simple thing. This one is just a screen-height of simplicity that just adds the shortcodes it says it does. Perfect 🙂
ئه‌یلول 19, 2019
Great basic plugin Exactly what I was looking for. Great works for website with any theme. Thanks!
خوێندنەوەی 2 پێداچوونەوە

بەشداربووان و گەشەپێدەران

“Basic URL ShortCodes” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.

بەشداربووان

“Basic URL ShortCodes” وەربگێڕە بۆ زمانەکەی خۆت.

دەتەوێت بەشداربیت لە گەشەپێدان؟

گەڕان لە کۆدەکەدا بکە، سەیری تەمارگەی (SVN) بکە، یان بەشداربە لە ڕووداوتۆماری گەشەپێدان لە ڕێگەی (RSS).