<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Automatically generate your blog URL in WordPress posts</title>
	<atom:link href="http://www.theblog.ca/blog-url-shortcodes/feed" rel="self" type="application/rss+xml" />
	<link>http://www.theblog.ca/blog-url-shortcodes</link>
	<description>Useful tips on Canada, cell phones, banking, technology, WordPress, PHP and more</description>
	<lastBuildDate>Fri, 12 Mar 2010 23:56:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nathan Sudds</title>
		<link>http://www.theblog.ca/blog-url-shortcodes/comment-page-1#comment-12464</link>
		<dc:creator>Nathan Sudds</dc:creator>
		<pubDate>Wed, 17 Feb 2010 04:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=375#comment-12464</guid>
		<description>Maybe it was easier than I expected, there were a few references to siteurl in the plugin code --- just wondering if I need to change more than one.  I changed the one in the first line: $blogurl_settings[&#039;siteurl&#039;] = get_option(&#039;siteurl&#039;);

TO 

$blogurl_settings[&#039;siteurl&#039;] = get_option(&#039;home&#039;);

That works for the [blogurl]  do I need to change anything for uploads?</description>
		<content:encoded><![CDATA[<p>Maybe it was easier than I expected, there were a few references to siteurl in the plugin code &#8212; just wondering if I need to change more than one.  I changed the one in the first line: $blogurl_settings[&#039;siteurl&#039;] = get_option(&#039;siteurl&#039;);</p>
<p>TO </p>
<p>$blogurl_settings[&#039;siteurl&#039;] = get_option(&#039;home&#039;);</p>
<p>That works for the [blogurl]  do I need to change anything for uploads?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Sudds</title>
		<link>http://www.theblog.ca/blog-url-shortcodes/comment-page-1#comment-12463</link>
		<dc:creator>Nathan Sudds</dc:creator>
		<pubDate>Wed, 17 Feb 2010 04:45:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=375#comment-12463</guid>
		<description>Hi Peter, 

Great plugin --- have you made any progress with updating the plugin to support using this with Wordpress in a subdirectory as mentioned by Mario above?

If it would be possible to provide more details on what to edit in the plugin code that would be great --- I think your plugin has some great potential for people who install Wordpress in subdirectory for development and then use the Move your wordpress directory steps (http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory ) to make it live at the root url of the site.   This keeps any hardcoded links from being broken when the permalink structure changes for launch

Thanks again

Nathan</description>
		<content:encoded><![CDATA[<p>Hi Peter, </p>
<p>Great plugin &#8212; have you made any progress with updating the plugin to support using this with Wordpress in a subdirectory as mentioned by Mario above?</p>
<p>If it would be possible to provide more details on what to edit in the plugin code that would be great &#8212; I think your plugin has some great potential for people who install Wordpress in subdirectory for development and then use the Move your wordpress directory steps (<a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory" rel="nofollow">http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory</a> ) to make it live at the root url of the site.   This keeps any hardcoded links from being broken when the permalink structure changes for launch</p>
<p>Thanks again</p>
<p>Nathan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.theblog.ca/blog-url-shortcodes/comment-page-1#comment-11911</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Mon, 30 Nov 2009 20:27:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=375#comment-11911</guid>
		<description>Peter, can you supply me with the code I would be able to use for your plugin to insert a short code for the post title?

Thanks,
Eric

&lt;strong&gt;Reply from Peter: The example two posts above should give you enough of a framework.  You have to search the WordPress documentation to see how to access the post title generally.  Due to the number of requests that I get, the volunteer time I can dedicate is limited.&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p>Peter, can you supply me with the code I would be able to use for your plugin to insert a short code for the post title?</p>
<p>Thanks,<br />
Eric</p>
<p><strong>Reply from Peter: The example two posts above should give you enough of a framework.  You have to search the WordPress documentation to see how to access the post title generally.  Due to the number of requests that I get, the volunteer time I can dedicate is limited.</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://www.theblog.ca/blog-url-shortcodes/comment-page-1#comment-11896</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Wed, 25 Nov 2009 23:51:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=375#comment-11896</guid>
		<description>Unbelievable! A free plugin and you help me hack it for free. You are extraordinary, Sir!</description>
		<content:encoded><![CDATA[<p>Unbelievable! A free plugin and you help me hack it for free. You are extraordinary, Sir!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://www.theblog.ca/blog-url-shortcodes/comment-page-1#comment-11891</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Wed, 25 Nov 2009 04:14:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=375#comment-11891</guid>
		<description>How would I add a token for [admin_email]?
I tried but failed to hack it. I looks like any option for &#039;get_bloginfo&#039; should work...I&#039;m not good enough to figure it out I guess...any help? I&#039;d like to just add this to what is there already...this plugin is so cool!

&lt;strong&gt;Reply from Peter: It would look something like:

function adminEmailFunc() {
    return get_bloginfo( &#039;admin_email&#039; );
}

add_shortcode(&#039;admin_email&#039;, &#039;adminEmailFunc&#039;);&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p>How would I add a token for [admin_email]?<br />
I tried but failed to hack it. I looks like any option for &#039;get_bloginfo&#039; should work&#8230;I&#039;m not good enough to figure it out I guess&#8230;any help? I&#039;d like to just add this to what is there already&#8230;this plugin is so cool!</p>
<p><strong>Reply from Peter: It would look something like:</p>
<p>function adminEmailFunc() {<br />
    return get_bloginfo( &#8216;admin_email&#8217; );<br />
}</p>
<p>add_shortcode(&#8216;admin_email&#8217;, &#8216;adminEmailFunc&#8217;);</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jen</title>
		<link>http://www.theblog.ca/blog-url-shortcodes/comment-page-1#comment-11383</link>
		<dc:creator>Jen</dc:creator>
		<pubDate>Tue, 04 Aug 2009 18:21:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=375#comment-11383</guid>
		<description>Is there a way to get this to work in custom fields?

&lt;strong&gt;Reply from Peter: There may be a way to parse custom fields the same way as post / page bodies, but off the top of my head I do not know how.&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p>Is there a way to get this to work in custom fields?</p>
<p><strong>Reply from Peter: There may be a way to parse custom fields the same way as post / page bodies, but off the top of my head I do not know how.</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://www.theblog.ca/blog-url-shortcodes/comment-page-1#comment-11030</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Fri, 22 May 2009 23:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=375#comment-11030</guid>
		<description>I desperately want this plugin to work, but I&#039;m having some issues with it. I&#039;m running WP 2.7.1 with this plugin installed, yet everytime I try to use the shortcode, it doesn&#039;t convert the tag to the URL.. I just see &quot;[blogurl]&quot; in the middle of my page. Does the plugin definitely work with 2.7.1, and I&#039;m just doing something stupid?

&lt;strong&gt;Reply from Peter: Yes, it is confirmed to be working with 2.7.1 with and without the visual editor enabled.  Perhaps there is a conflicting plugin or somehow it isn&#039;t actually activated?&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p>I desperately want this plugin to work, but I&#039;m having some issues with it. I&#039;m running WP 2.7.1 with this plugin installed, yet everytime I try to use the shortcode, it doesn&#039;t convert the tag to the URL.. I just see &quot;[blogurl]&quot; in the middle of my page. Does the plugin definitely work with 2.7.1, and I&#039;m just doing something stupid?</p>
<p><strong>Reply from Peter: Yes, it is confirmed to be working with 2.7.1 with and without the visual editor enabled.  Perhaps there is a conflicting plugin or somehow it isn&#8217;t actually activated?</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Austin @ NicheWeapons</title>
		<link>http://www.theblog.ca/blog-url-shortcodes/comment-page-1#comment-10839</link>
		<dc:creator>Austin @ NicheWeapons</dc:creator>
		<pubDate>Wed, 01 Apr 2009 11:01:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=375#comment-10839</guid>
		<description>Brilliant, thank you Peter - was just looking into shortcodes to do exactly this :)</description>
		<content:encoded><![CDATA[<p>Brilliant, thank you Peter &#8211; was just looking into shortcodes to do exactly this <img src='http://www.theblog.ca/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.theblog.ca/blog-url-shortcodes/comment-page-1#comment-10638</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sat, 14 Feb 2009 19:34:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=375#comment-10638</guid>
		<description>Thanks for pointing that out, Mario.  I&#039;ll add that for a future release.  In the meantime, if anybody needs that URL distinction, you can follow the code in my plugin and use get_option(&#039;home&#039;) for that value instead of get_option(&#039;siteurl&#039;).</description>
		<content:encoded><![CDATA[<p>Thanks for pointing that out, Mario.  I&#039;ll add that for a future release.  In the meantime, if anybody needs that URL distinction, you can follow the code in my plugin and use get_option(&#039;home&#039;) for that value instead of get_option(&#039;siteurl&#039;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario</title>
		<link>http://www.theblog.ca/blog-url-shortcodes/comment-page-1#comment-10632</link>
		<dc:creator>Mario</dc:creator>
		<pubDate>Fri, 13 Feb 2009 16:58:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=375#comment-10632</guid>
		<description>Your plug-in returns the WordPress URL and not the blog URL. I have WordPress in a subfolder called WordPress. My blog url is http://site.com and my WordPress URL is http://site.com/wordpress. The latter is what your plug-in returns. For an update, it would be nice, if [blogurl] would return what I have entered under &quot;Blog Address (URL)&quot; in the settings. Otherwise it is rather irritating. Another [wordpressurl] tag would then be nice in addition to [blogurl].</description>
		<content:encoded><![CDATA[<p>Your plug-in returns the WordPress URL and not the blog URL. I have WordPress in a subfolder called WordPress. My blog url is <a href="http://site.com" rel="nofollow">http://site.com</a> and my WordPress URL is <a href="http://site.com/wordpress" rel="nofollow">http://site.com/wordpress</a>. The latter is what your plug-in returns. For an update, it would be nice, if [blogurl] would return what I have entered under &quot;Blog Address (URL)&quot; in the settings. Otherwise it is rather irritating. Another [wordpressurl] tag would then be nice in addition to [blogurl].</p>
]]></content:encoded>
	</item>
</channel>
</rss>
