plugin-icon

Basic URL ShortCodes

作者:Vikas Sharma·
Provides simple shortcodes to output essential WordPress URLs inside posts, pages and widgets.
评级
5
版本
4.0.2
活跃安装
3K
最后更新
Feb 28, 2026

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.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9.4
这个插件是可用的下载,适用于您的站点。