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 lets you insert important WordPress URLs using simple shortcodes inside posts, pages and widgets. Every shortcode accepts an optional path attribute so you can build a full URL in one go, and the output is escaped for you. Available Shortcodes [home_url] The website’s home URL, as set in WordPress Settings. Example: http://localhost/wp-demo [site_url] The URL where WordPress itself is installed. This differs from [home_url] when Wor...
Read the full description on WordPress.org →