Plugin Directory

Peter's Blog URL Shortcodes

Use shortcodes for blog URLs, post URLs, and template URLs so that your posts always have the correct internal links.

Download Version 0.3

Adds shortcodes [blogurl], [posturl], [templateurl], and [childtemplateurl] for WordPress 2.6 and up. Use [blogurl] to generate your site URL. It offers the parameters "slash" and "noslash" (to add a trailing slash; [templateurl] and [childtemplateurl] also support this), as well as "uploads" to produce the URL of the uploads folder and "wordpress" to produce the URL of your WP files. Use [posturl id=3] (replace "3" with a post ID) to generate the permalink for any post.

Features

Requirements

  • WordPress 2.6 or higher
Author: pkthree
Tags: , , ,

Requires: 2.6 or higher
Compatible up to: 3.3.1
Last Updated: 2011-3-6 Downloads: 2,246

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(5 ratings)

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

Log in to vote.

100,1,1
50,2,1
100,1,1