>
Download This Plugin | |
Download Elegant Themes | |
Name | Peter's Blog URL Shortcodes |
Version | 0.4 |
Author | Peter Keung |
Rating | 0 |
Last updated | 2014-12-27 06:11:00 |
Downloads |
6515
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Peter's Blog URL Shortcodes plugin added 5 bytes of resources to the Home page and 14 bytes of resources to the sample Post page.
Peter's Blog URL Shortcodes plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Peter's Blog URL Shortcodes plugin ads no tables to your Wordpress blog database.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.
[blogurl] will generate http://www.yoursite.com/
[blogurl wordpress] will generate the URL to the root of your WordPress files, if they are in a different location than your site root
[blogurl noslash] will generate http://www.yoursite.com
[blogurl uploads] will generate http://www.yoursite.com/wp-content/uploads/
[blogurl uploads noslash] will generate http://www.yoursite.com/wp-content/uploads
[posturl id=375] will generate the correct permalink for the post with an ID of 375; for example, <a href="[posturl id=375]">post about this plugin</a> would generate post about this plugin
[templateurl] will generate the URL to your parent theme's root
[childtemplateurl] will generate the URL to your child theme's root