<?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 API Overview</title>
	<atom:link href="http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/feed/" rel="self" type="application/rss+xml" />
	<link>http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/?source=rss</link>
	<description>A bit of my personal life, mainly focused on my kids. A bit of code, mainly focused on Wordpress and PHP. Overall, bits of nothing in particular.</description>
	<lastBuildDate>Wed, 08 Feb 2012 20:57:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Kristina</title>
		<link>http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/comment-page-1/#comment-120840</link>
		<dc:creator>Kristina</dc:creator>
		<pubDate>Tue, 24 Aug 2010 15:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/#comment-120840</guid>
		<description>Ahh,, figured it out. Works fine,,, except

My short-code shows in the xml feed of the site as short-code. How would I apply the filter to prevent this from happening?</description>
		<content:encoded><![CDATA[<p>Ahh,, figured it out. Works fine,,, except</p>
<p>My short-code shows in the xml feed of the site as short-code. How would I apply the filter to prevent this from happening?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/comment-page-1/#comment-120681</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Mon, 23 Aug 2010 07:15:45 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/#comment-120681</guid>
		<description>Sorry,,

My output is still

[tag3]Hello[/tag3]

not [tag3]something[/tag3]</description>
		<content:encoded><![CDATA[<p>Sorry,,</p>
<p>My output is still</p>
<p>[tag3]Hello[/tag3]</p>
<p>not [tag3]something[/tag3]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/comment-page-1/#comment-120679</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Mon, 23 Aug 2010 07:14:53 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/#comment-120679</guid>
		<description>So,,

I created a basic plugin and inserted this into it

// [tag3]something[/tag3] -&gt; You just said &quot;something&quot;, didn&#039;t you ?
function shortcode_example3($attr, $content) {
    return &quot;You just said &#039;$content&#039;, didn&#039;t you ?&quot;;
}
add_shortcode(&#039;tag3&#039;, &#039;shortcode_example3&#039;);


In the post I inserted this:

[tag3]Hello[/tag3]

and my output in the post is still

[tag3]something[/tag3]</description>
		<content:encoded><![CDATA[<p>So,,</p>
<p>I created a basic plugin and inserted this into it</p>
<p>// [tag3]something[/tag3] -&gt; You just said "something", didn't you ?<br />
function shortcode_example3($attr, $content) {<br />
    return "You just said '$content', didn't you ?";<br />
}<br />
add_shortcode('tag3', 'shortcode_example3');</p>
<p>In the post I inserted this:</p>
<p>[tag3]Hello[/tag3]</p>
<p>and my output in the post is still</p>
<p>[tag3]something[/tag3]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alper</title>
		<link>http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/comment-page-1/#comment-96429</link>
		<dc:creator>Alper</dc:creator>
		<pubDate>Sun, 25 Oct 2009 02:22:41 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/#comment-96429</guid>
		<description>Problem is solved, i&#039;am sorry for excess post. You all right, i&#039;ve forgotten an echo command for testing.. Thanks for that nice writing..</description>
		<content:encoded><![CDATA[<p>Problem is solved, i'am sorry for excess post. You all right, i've forgotten an echo command for testing.. Thanks for that nice writing..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alper</title>
		<link>http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/comment-page-1/#comment-96428</link>
		<dc:creator>Alper</dc:creator>
		<pubDate>Sun, 25 Oct 2009 02:03:08 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/#comment-96428</guid>
		<description>Hi Ozh i have the same problem with Jasmine and my shortcode returns the code part as always, i mean my shortcode is [ gpc id= &quot;name&quot; ] and on the top of all my pages/posts that i used shortcode name variable is seen.
in the function tried that if user enter &quot;name&quot; as shortcode show a div that named as &quot;name&quot;.. How can i stop that? Thanks right now..</description>
		<content:encoded><![CDATA[<p>Hi Ozh i have the same problem with Jasmine and my shortcode returns the code part as always, i mean my shortcode is [ gpc id= "name" ] and on the top of all my pages/posts that i used shortcode name variable is seen.<br />
in the function tried that if user enter "name" as shortcode show a div that named as "name".. How can i stop that? Thanks right now..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ozh</title>
		<link>http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/comment-page-1/#comment-88451</link>
		<dc:creator>Ozh</dc:creator>
		<pubDate>Wed, 18 Feb 2009 19:20:44 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/#comment-88451</guid>
		<description>Jasmine » Your shortcode function *echoes* something when it&#039;s supposed to *return* content.</description>
		<content:encoded><![CDATA[<p>Jasmine » Your shortcode function *echoes* something when it's supposed to *return* content.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasmine</title>
		<link>http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/comment-page-1/#comment-88447</link>
		<dc:creator>Jasmine</dc:creator>
		<pubDate>Wed, 18 Feb 2009 17:38:47 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/#comment-88447</guid>
		<description>I am trying to use short code to display the post id inside a post, however when I use [id] it is showing the post ID at the start of the post of the post content, not where I have typed it.

The shortcode I am using, I have placed this in the plugin folder.

[php]function shortcode_id() {
   $id = the_ID();
echo $id;
}
add_shortcode(&#039;id&#039;, &#039;shortcode_id&#039;);
[/php]

What displays on the post page: 10741This is a good post. This is Post ID:

I also tried: [php]echo the_ID();[/php] but it doesn&#039;t work either.</description>
		<content:encoded><![CDATA[<p>I am trying to use short code to display the post id inside a post, however when I use [id] it is showing the post ID at the start of the post of the post content, not where I have typed it.</p>
<p>The shortcode I am using, I have placed this in the plugin folder.</p>
<div class="igBar"><span id="lphp-1"><a href="#" onclick="javascript:showPlainTxt('php-1'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-1">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">function</span> shortcode_id<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;<span style="color:#0000FF;">$id</span> = the_ID<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000066;">echo</span> <span style="color:#0000FF;">$id</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">add_shortcode<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'id'</span>, <span style="color:#FF0000;">'shortcode_id'</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>What displays on the post page: 10741This is a good post. This is Post ID:</p>
<p>I also tried:
<div class="igBar"><span id="lphp-2"><a href="#" onclick="javascript:showPlainTxt('php-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-2">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000066;">echo</span> the_ID<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p> but it doesn't work either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress Shortcode API - WP Engineer</title>
		<link>http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/comment-page-1/#comment-83525</link>
		<dc:creator>WordPress Shortcode API - WP Engineer</dc:creator>
		<pubDate>Mon, 17 Nov 2008 13:08:11 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/#comment-83525</guid>
		<description>[...] It&#039;s easy to understand and to use. I will give a short introduction with some results below. The functionality and all details behind, plus a plugin with different examples are available at Ozh. [...]</description>
		<content:encoded><![CDATA[<p>[...] It's easy to understand and to use. I will give a short introduction with some results below. The functionality and all details behind, plus a plugin with different examples are available at Ozh. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress 2.5 Shortcode API - bueltge.de [by:ltge.de]</title>
		<link>http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/comment-page-1/#comment-54672</link>
		<dc:creator>WordPress 2.5 Shortcode API - bueltge.de [by:ltge.de]</dc:creator>
		<pubDate>Wed, 28 May 2008 05:18:19 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/#comment-54672</guid>
		<description>[...] kleine Einf&#252;hrung und ersichtliche Erfolge gibt es in Kurzversion in den folgenden Zeilen. Wie es genau geht und ein Plugin mit verschiedenen Beispielen gibt es bei Ozh, der derzeit auch die neue WordPress Funktion [...]</description>
		<content:encoded><![CDATA[<p>[...] kleine Einf&uuml;hrung und ersichtliche Erfolge gibt es in Kurzversion in den folgenden Zeilen. Wie es genau geht und ein Plugin mit verschiedenen Beispielen gibt es bei Ozh, der derzeit auch die neue WordPress Funktion [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ozh</title>
		<link>http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/comment-page-1/#comment-52965</link>
		<dc:creator>Ozh</dc:creator>
		<pubDate>Sun, 11 May 2008 23:19:17 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/2008/03/wordpress-25-shortcodes-api-overview/#comment-52965</guid>
		<description>Paul Menard » I had the same concern and proposed that instead/in parallel of [stuff] it should be &lt;!--stuff--&gt; but despite some traction the idea was rejected...
So basically, yes, when you disable a plugin that parses shortcodes, everybody see them. Quite lame.</description>
		<content:encoded><![CDATA[<p>Paul Menard » I had the same concern and proposed that instead/in parallel of [stuff] it should be &lt;!--stuff--> but despite some traction the idea was rejected...<br />
So basically, yes, when you disable a plugin that parses shortcodes, everybody see them. Quite lame.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

