<?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: Shortcode for Includes</title>
	<atom:link href="http://digwp.com/2010/06/shortcode-for-includes/feed/" rel="self" type="application/rss+xml" />
	<link>http://digwp.com/2010/06/shortcode-for-includes/</link>
	<description>Take your WordPress skills to the next level.</description>
	<lastBuildDate>Sat, 11 Feb 2012 00:52:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Acts7</title>
		<link>http://digwp.com/2010/06/shortcode-for-includes/#comment-8303</link>
		<dc:creator>Acts7</dc:creator>
		<pubDate>Thu, 02 Sep 2010 00:53:01 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=2365#comment-8303</guid>
		<description>Thanks for clearing that up Alex</description>
		<content:encoded><![CDATA[<p>Thanks for clearing that up Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex (Viper007Bond)</title>
		<link>http://digwp.com/2010/06/shortcode-for-includes/#comment-8299</link>
		<dc:creator>Alex (Viper007Bond)</dc:creator>
		<pubDate>Wed, 01 Sep 2010 21:21:19 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=2365#comment-8299</guid>
		<description>I think you&#039;re mistaken. My code doesn&#039;t go anywhere near the title of the post.</description>
		<content:encoded><![CDATA[<p>I think you&#8217;re mistaken. My code doesn&#8217;t go anywhere near the title of the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex (Viper007Bond)</title>
		<link>http://digwp.com/2010/06/shortcode-for-includes/#comment-8298</link>
		<dc:creator>Alex (Viper007Bond)</dc:creator>
		<pubDate>Wed, 01 Sep 2010 21:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=2365#comment-8298</guid>
		<description>Take a look at the source of &lt;code&gt;get_the_content()&lt;/code&gt;. ;)

&lt;code&gt;get_the_content()&lt;/code&gt; hides the content of password protected but also does some stuff with the &#8220;more&#8221; feature.

Probably better to use &lt;code&gt;get_the_content()&lt;/code&gt;.</description>
		<content:encoded><![CDATA[<p>Take a look at the source of <code>get_the_content()</code>. ;)</p>
<p><code>get_the_content()</code> hides the content of password protected but also does some stuff with the &ldquo;more&rdquo; feature.</p>
<p>Probably better to use <code>get_the_content()</code>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Acts7</title>
		<link>http://digwp.com/2010/06/shortcode-for-includes/#comment-8279</link>
		<dc:creator>Acts7</dc:creator>
		<pubDate>Wed, 01 Sep 2010 14:54:07 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=2365#comment-8279</guid>
		<description>Alchymyth - THANKS A TON. 
I had just come across a similar solution and I found your reply.

&lt;code&gt;return apply_filters( &#039;the_content&#039;, $post-&gt;post_content );&lt;/code&gt;

Could you tell me - what the difference is between

&lt;code&gt;apply_filters( &#039;the_content&#039;, $post-&gt;post_content );&lt;/code&gt;

and 

&lt;code&gt;apply_filters(&#039;the_content&#039;,get_the_content($post-&gt;ID));&lt;/code&gt;

Are these two identical? Or is there a difference in what they are pulling?</description>
		<content:encoded><![CDATA[<p>Alchymyth &#8211; THANKS A TON.<br />
I had just come across a similar solution and I found your reply.</p>
<p><code>return apply_filters( 'the_content', $post-&gt;post_content );</code></p>
<p>Could you tell me &#8211; what the difference is between</p>
<p><code>apply_filters( 'the_content', $post-&gt;post_content );</code></p>
<p>and </p>
<p><code>apply_filters('the_content',get_the_content($post-&gt;ID));</code></p>
<p>Are these two identical? Or is there a difference in what they are pulling?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alchymyth</title>
		<link>http://digwp.com/2010/06/shortcode-for-includes/#comment-8196</link>
		<dc:creator>alchymyth</dc:creator>
		<pubDate>Mon, 30 Aug 2010 20:57:05 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=2365#comment-8196</guid>
		<description>hi Acts7,
try to use:
&lt;code&gt;$output .= apply_filters(&#039;the_content&#039;,get_the_content($post-&gt;ID));&lt;/code&gt;

that will put the &#039;formatting&#039; back on.</description>
		<content:encoded><![CDATA[<p>hi Acts7,<br />
try to use:<br />
<code>$output .= apply_filters('the_content',get_the_content($post-&gt;ID));</code></p>
<p>that will put the &#8216;formatting&#8217; back on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://digwp.com/2010/06/shortcode-for-includes/#comment-8174</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 30 Aug 2010 06:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=2365#comment-8174</guid>
		<description>Did anyone ever fix @Alex&#039;s code? It doesn&#039;t return just content, it includes the title.</description>
		<content:encoded><![CDATA[<p>Did anyone ever fix @Alex&#8217;s code? It doesn&#8217;t return just content, it includes the title.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Acts7</title>
		<link>http://digwp.com/2010/06/shortcode-for-includes/#comment-7010</link>
		<dc:creator>Acts7</dc:creator>
		<pubDate>Mon, 26 Jul 2010 20:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=2365#comment-7010</guid>
		<description>//$output .= get_the_content($post-&gt;ID);
$output .= the_content($post-&gt;ID);

PLEASE PLEASE??? Someone explain this? 
I&#039;ve searched. And when using &quot;get_the_content&quot; I get the raw content.
When I use &quot;the_content&quot; I get what I want - content that gets html formatted.

What is the functional difference? And why would you ever want it to not maintain its html formatting? Is that the difference? AND Is it safe to use &quot;the_content&quot; rather than &quot;get_the_content&quot;?</description>
		<content:encoded><![CDATA[<p>//$output .= get_the_content($post-&gt;ID);<br />
$output .= the_content($post-&gt;ID);</p>
<p>PLEASE PLEASE??? Someone explain this?<br />
I&#8217;ve searched. And when using &#8220;get_the_content&#8221; I get the raw content.<br />
When I use &#8220;the_content&#8221; I get what I want &#8211; content that gets html formatted.</p>
<p>What is the functional difference? And why would you ever want it to not maintain its html formatting? Is that the difference? AND Is it safe to use &#8220;the_content&#8221; rather than &#8220;get_the_content&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Acts7</title>
		<link>http://digwp.com/2010/06/shortcode-for-includes/#comment-7009</link>
		<dc:creator>Acts7</dc:creator>
		<pubDate>Mon, 26 Jul 2010 20:48:01 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=2365#comment-7009</guid>
		<description>Could someone please assist me&gt;??
When I use the above, its grabbing the content. But it is not placing the html formatting around p tags etc like wordpress normally would.
The original post has all the hard returns replaced with  tags.
However when I run this - it grabs all of the copy. But if there is no specific  tag hardcoded - then all I get is one big run-on.</description>
		<content:encoded><![CDATA[<p>Could someone please assist me&gt;??<br />
When I use the above, its grabbing the content. But it is not placing the html formatting around p tags etc like wordpress normally would.<br />
The original post has all the hard returns replaced with  tags.<br />
However when I run this &#8211; it grabs all of the copy. But if there is no specific  tag hardcoded &#8211; then all I get is one big run-on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://digwp.com/2010/06/shortcode-for-includes/#comment-6817</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 21 Jul 2010 12:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=2365#comment-6817</guid>
		<description>Works like a dream, BUT and there&#039;s always a but....

I have Custom Fields which I would like to put the shortcode include in but shortcodes don&#039;t run in custom fields. Any code I can add to the function.php to get the custom fields to work with shortcodes?

I&#039;m using Page.ly Multi-edit plugin to give the user a panel of content to update and some of these panels will just be includes of common content, but means with your solution they can still maintain that content. http://blog.page.ly/multiedit-plugin/ it&#039;s this plugin that uses custom fields hence the need for the shortcodes to work.

Any guidance please ?</description>
		<content:encoded><![CDATA[<p>Works like a dream, BUT and there&#8217;s always a but&#8230;.</p>
<p>I have Custom Fields which I would like to put the shortcode include in but shortcodes don&#8217;t run in custom fields. Any code I can add to the function.php to get the custom fields to work with shortcodes?</p>
<p>I&#8217;m using Page.ly Multi-edit plugin to give the user a panel of content to update and some of these panels will just be includes of common content, but means with your solution they can still maintain that content. <a href="http://blog.page.ly/multiedit-plugin/" rel="nofollow">http://blog.page.ly/multiedit-plugin/</a> it&#8217;s this plugin that uses custom fields hence the need for the shortcodes to work.</p>
<p>Any guidance please ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Acts7</title>
		<link>http://digwp.com/2010/06/shortcode-for-includes/#comment-6393</link>
		<dc:creator>Acts7</dc:creator>
		<pubDate>Fri, 09 Jul 2010 20:39:08 +0000</pubDate>
		<guid isPermaLink="false">http://digwp.com/?p=2365#comment-6393</guid>
		<description>Hmm working now:
I had already deleted the page and created a new page
SOLUTION:
Even though I permenantly deleted the old page, I had to give it a new name.
So I have PAGE1(source)
Then PAGE2 (show source content)
deleted PAGE2. got the loop error
CREATED PAGE2-2 ---- WORKING.</description>
		<content:encoded><![CDATA[<p>Hmm working now:<br />
I had already deleted the page and created a new page<br />
SOLUTION:<br />
Even though I permenantly deleted the old page, I had to give it a new name.<br />
So I have PAGE1(source)<br />
Then PAGE2 (show source content)<br />
deleted PAGE2. got the loop error<br />
CREATED PAGE2-2 &#8212;- WORKING.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

