{"id":71914,"date":"2017-07-20T03:56:03","date_gmt":"2017-07-20T03:56:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/basic-url-shortcodes\/"},"modified":"2026-02-28T05:52:34","modified_gmt":"2026-02-28T05:52:34","slug":"basic-url-shortcodes","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/basic-url-shortcodes\/","author":15298435,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"4.0.2","stable_tag":"trunk","tested":"6.9.4","requires":"4.0.0","requires_php":"","requires_plugins":null,"header_name":"BASIC URL ShortCodes","header_author":"Vikas Sharma","header_description":"Adds support for a [home_url] and [theme_url_template] shortcodes for use in your post\/page editor.","assets_banners_color":"","last_updated":"2026-02-28 05:52:34","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/basic-url-shortcodes\/","header_author_uri":"https:\/\/profiles.wordpress.org\/devikas301","rating":5,"author_block_rating":0,"active_installs":3000,"downloads":7911,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":{"4.0":{"tag":"4.0","author":"devikas301","date":"2022-02-26 19:00:14"},"4.0.1":{"tag":"4.0.1","author":"devikas301","date":"2024-10-06 16:41:27"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["4.0","4.0.1"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":3471476,"resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3471476,"resolution":"1","location":"plugin"}},"screenshots":{"1":"Sample short code use.","2":"Rendered output."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[144074,144073,80,1739,975],"plugin_category":[43],"plugin_contributors":[144127],"plugin_business_model":[],"class_list":["post-71914","plugin","type-plugin","status-publish","hentry","plugin_tags-basic-url","plugin_tags-rockon","plugin_tags-shortcode","plugin_tags-stylesheet","plugin_tags-template","plugin_category-customization","plugin_contributors-devikas301","plugin_committers-devikas301"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/basic-url-shortcodes.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/basic-url-shortcodes\/trunk\/screenshot-1.png?rev=3471476","caption":"Sample short code use."},{"src":"https:\/\/ps.w.org\/basic-url-shortcodes\/trunk\/screenshot-2.png?rev=3471476","caption":"Rendered output."}],"raw_content":"<!--section=description-->\n<p>Sometimes you need to display your website's base URL, active theme URL or uploads folder URL directly inside your content editor.<\/p>\n\n<p>Basic URL Shortcodes allows you to easily insert important WordPress URLs using simple shortcodes inside posts, pages and widgets.<\/p>\n\n<h4>Available Shortcodes<\/h4>\n\n<p><strong>[home_url]<\/strong><br \/>\nOutputs the website\u2019s home URL (as set in WordPress Settings).<br \/>\nExample:<br \/>\nhttp:\/\/localhost\/wp-demo<\/p>\n\n<p><strong>[theme_url_template]<\/strong><br \/>\nOutputs the URL of the currently active theme (child theme supported).<br \/>\nExample:<br \/>\nhttp:\/\/localhost\/wp-demo\/wp-content\/themes\/mytheme<\/p>\n\n<p><strong>[UPLOAD_URL]<\/strong>\nOutputs the base URL of the WordPress uploads directory.<br \/>\nExample:<br \/>\nhttp:\/\/localhost\/wp-demo\/wp-content\/uploads<\/p>\n\n<p>These shortcodes are useful when building custom layouts, inserting dynamic links or when theme customization options are limited.<\/p>\n\n<p>Lightweight, simple and fully compatible with modern WordPress editors.<\/p>\n\n<h3>License<\/h3>\n\n<p>This plugin uses the GPLv3 license.<\/p>\n\n<!--section=installation-->\n<p>Use WordPress Add New Plugin feature, searching \"BASIC URL ShortCodes\", or download the archive and:<\/p>\n\n<ol>\n<li>Unzip the archive on your computer  <\/li>\n<li>Upload <code>basic-url-shortcodes<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use shortcode &amp; enjoy<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>There are no FAQs at this time. Feel free to suggest some!<\/p>","raw_excerpt":"Provides simple shortcodes to output essential WordPress URLs inside posts, pages and widgets.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/71914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=71914"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/devikas301"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=71914"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=71914"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=71914"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=71914"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=71914"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=71914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}