<?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: WordPress 2.5 Shortcodes</title>
	<atom:link href="http://www.attackr.com/wordpress-25-shortcodes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.attackr.com/wordpress-25-shortcodes/</link>
	<description>Come To Share, Come To Learn</description>
	<lastBuildDate>Tue, 24 Aug 2010 02:03:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Get Slim</title>
		<link>http://www.attackr.com/wordpress-25-shortcodes/comment-page-1/#comment-41641</link>
		<dc:creator>Get Slim</dc:creator>
		<pubDate>Mon, 02 Mar 2009 18:11:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.attackr.com/wordpress-25-shortcodes/#comment-41641</guid>
		<description>This will be useful to everybody </description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->This will be useful to everybody<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Buffalo</title>
		<link>http://www.attackr.com/wordpress-25-shortcodes/comment-page-1/#comment-23722</link>
		<dc:creator>Buffalo</dc:creator>
		<pubDate>Fri, 10 Oct 2008 05:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.attackr.com/wordpress-25-shortcodes/#comment-23722</guid>
		<description>I had previously tried the apply_filters method and it didn&#039;t work for me.  After looking at your apply_filter code, I think I had the arguments reversed for the paramenters.  Your code is working for me, so I guess I made an error the first time I used the apply_filter method.  I will use this method, it is much cleaner and like you said, maybe better for future plugins.

Thanks</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->I had previously tried the apply_filters method and it didn&#8217;t work for me.  After looking at your apply_filter code, I think I had the arguments reversed for the paramenters.  Your code is working for me, so I guess I made an error the first time I used the apply_filter method.  I will use this method, it is much cleaner and like you said, maybe better for future plugins.</p>
<p>Thanks<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xavisys - Web Development</title>
		<link>http://www.attackr.com/wordpress-25-shortcodes/comment-page-1/#comment-23703</link>
		<dc:creator>Xavisys - Web Development</dc:creator>
		<pubDate>Thu, 09 Oct 2008 14:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.attackr.com/wordpress-25-shortcodes/#comment-23703</guid>
		<description>Buffalo: You can apply all your active shortcodes to text using the do_shortcode function like this:
&lt;code&gt;$text = do_shortcode($text);&lt;/code&gt;
or using a filter like this:
&lt;code&gt;$text = apply_filters(&#039;do_shortcode&#039;, $text);&lt;/code&gt;
Using the filter is probably better just in case any future plugins want to hook into the do_shortcode filter.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Buffalo: You can apply all your active shortcodes to text using the do_shortcode function like this:<br />
<code>$text = do_shortcode($text);</code><br />
or using a filter like this:<br />
<code>$text = apply_filters('do_shortcode', $text);</code><br />
Using the filter is probably better just in case any future plugins want to hook into the do_shortcode filter.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Buffalo</title>
		<link>http://www.attackr.com/wordpress-25-shortcodes/comment-page-1/#comment-23687</link>
		<dc:creator>Buffalo</dc:creator>
		<pubDate>Thu, 09 Oct 2008 09:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.attackr.com/wordpress-25-shortcodes/#comment-23687</guid>
		<description>The wordpress shortcodes will work only by default on posts and pages.  You could add this statement add_filter(&#039;widget_text&#039;, &#039;do_shortcode&#039;); to your wordpress themes functions.php file to make the shortcodes work in the Text Widget. You will need to replace &quot;do_shortcode&quot; with the name of your shortcode function.

To use your shortcodes outside of posts, pages, and the text widget, you could always call your shortcode function directly like this:

&lt;code&gt;
$text = yourShortCodeFunction(&#039;[your shortcode tag here]&#039;);
echo $text;
&lt;/code&gt;

I&#039;m not sure if the code will display here, always have problems posting code.

Very informative blog, lots of information.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->The wordpress shortcodes will work only by default on posts and pages.  You could add this statement add_filter(&#8216;widget_text&#8217;, &#8216;do_shortcode&#8217;); to your wordpress themes functions.php file to make the shortcodes work in the Text Widget. You will need to replace &#8220;do_shortcode&#8221; with the name of your shortcode function.</p>
<p>To use your shortcodes outside of posts, pages, and the text widget, you could always call your shortcode function directly like this:</p>
<p><code><br />
$text = yourShortCodeFunction('[your shortcode tag here]');<br />
echo $text;<br />
</code></p>
<p>I&#8217;m not sure if the code will display here, always have problems posting code.</p>
<p>Very informative blog, lots of information.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
</channel>
</rss>
