<?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 Shortcode API introduced</title>
	<atom:link href="http://wp-cms.com/wordpress-news/wordpress-25-shortcode-api-introduced/feed/" rel="self" type="application/rss+xml" />
	<link>http://wp-cms.com/wordpress-news/wordpress-25-shortcode-api-introduced/</link>
	<description>Making WordPress the ultimate CMS!</description>
	<lastBuildDate>Sat, 12 Jun 2010 22:23:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jonny</title>
		<link>http://wp-cms.com/wordpress-news/wordpress-25-shortcode-api-introduced/comment-page-1/#comment-401</link>
		<dc:creator>Jonny</dc:creator>
		<pubDate>Mon, 20 Oct 2008 11:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://wp-cms.com/wordpress-news/wordpress-25-shortcode-api-introduced/#comment-401</guid>
		<description>@ Numismatic - nice tip, thanks for contributing... sounds like a great way to implement shortcode elsewhere, cheers!</description>
		<content:encoded><![CDATA[<p>@ Numismatic &#8211; nice tip, thanks for contributing&#8230; sounds like a great way to implement shortcode elsewhere, cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Numismatic</title>
		<link>http://wp-cms.com/wordpress-news/wordpress-25-shortcode-api-introduced/comment-page-1/#comment-388</link>
		<dc:creator>Numismatic</dc:creator>
		<pubDate>Thu, 09 Oct 2008 09:17:41 +0000</pubDate>
		<guid isPermaLink="false">http://wp-cms.com/wordpress-news/wordpress-25-shortcode-api-introduced/#comment-388</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:
[code]
$text = yourShortCodeFunction(&#039;[your shortcode tag here]&#039;);
echo $text;
[/code]
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>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:<br />
[code]<br />
$text = yourShortCodeFunction('[your shortcode tag here]');<br />
echo $text;<br />
[/code]<br />
I&#8217;m not sure if the code will display here, always have problems posting code.</p>
<p>Very informative blog, lots of information.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

