This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Blog URL and Page URL Shortcode


The plugin adds the following shortcode to the wordpress backend.

[blogurl id=’$id’ temp=’$temp’]

  • [blogurl] returns the url of the wordpress installation
  • [blogurl id=’$id’] returns the permalink for a page or post with the id $id
  • [blogurl temp=’true’] will return the directory of the template

  • [pageurl] shortcode can also be used using the same parameters this is included for legacy reasons


  1. Upload blogurl-plugin.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place [blogurl] with parameters if needed in your posts or pages

Contributors & Developers

“Blog URL and Page URL Shortcode” is open source software. The following people have contributed to this plugin.




  • Added template url.
  • Merged all functions into one shortcode.
  • Included pageurl shortcode to allow previous installations to work.