<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>Support Forum - Topic: adding code to dynamic template</title>
		<link>http://www.kriesi.at/support/topic/adding-code-to-dynamic-templete</link>
		<description>Support Forum - Topic: adding code to dynamic template</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 23:53:55 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/adding-code-to-dynamic-templete" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "adding code to dynamic template"</title>
			<link>http://www.kriesi.at/support/topic/adding-code-to-dynamic-templete#post-79604</link>
			<pubDate>Sat, 13 Oct 2012 07:15:08 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">79604@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Search for following code in includes/helper-templates.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($contact_page_id == $query_id)
				{
					ob_start();
					get_template_part( &#38;#39;includes/contact-form&#38;#39; );
					$output .= ob_get_contents() ;
    				ob_end_clean();
				}
			}

			$output .= &#38;quot;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and replace it with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($contact_page_id == $query_id)
				{
					ob_start();
					get_template_part( &#38;#39;includes/contact-form&#38;#39; );
					$output .= ob_get_contents() ;
    				ob_end_clean();
				}
			}

			$output .= &#38;#39;&#38;lt;div id=&#38;quot;fb-root&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;script src=&#38;quot;http://connect.facebook.net/en_US/all.js#xfbml=1&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;&#38;#39;;
			$output .= &#38;#39;&#38;lt;fb:comments href=&#38;quot;&#38;#39;. get_the_permalink() . &#38;#39;&#38;quot; width=&#38;quot;880&#38;quot;&#38;gt;&#38;lt;/fb:comments&#38;gt;&#38;#39;;
			$output .= &#38;quot;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>mr_jason on "adding code to dynamic template"</title>
			<link>http://www.kriesi.at/support/topic/adding-code-to-dynamic-templete#post-79444</link>
			<pubDate>Thu, 11 Oct 2012 17:06:09 +0000</pubDate>
			<dc:creator>mr_jason</dc:creator>
			<guid isPermaLink="false">79444@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I think I need to explain a little further.  I was able to find the line of code you mentioned in the helper-templates.php file but I'm unsure as to where I add the code.  I want to add the following code&#60;/p&#62;
&#60;p&#62;&#38;lt;div id=&#34;fb-root&#34;&#38;gt;&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;script src=&#34;http://connect.facebook.net/en_US/all.js#xfbml=1&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;fb:comments href=&#34;&#38;lt;?php the_permalink(); ?&#38;gt;&#34; width=&#34;880&#34;&#38;gt;&#38;lt;/fb:comments&#38;gt; &#60;/p&#62;
&#60;p&#62;to appear just below and 'page/post' content.&#60;/p&#62;
&#60;p&#62;The reason I'm trying to hard code this instead of using the facebook plugin is that it does not render correctly or show when using dynamic templates.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ismael on "adding code to dynamic template"</title>
			<link>http://www.kriesi.at/support/topic/adding-code-to-dynamic-templete#post-79346</link>
			<pubDate>Thu, 11 Oct 2012 04:02:29 +0000</pubDate>
			<dc:creator>Ismael</dc:creator>
			<guid isPermaLink="false">79346@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;You can check includes &#38;gt; helper-templates.php and find this code&#60;/p&#62;
&#60;p&#62;&#60;code&#62;function post_page($element)&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Ismael
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mr_jason on "adding code to dynamic template"</title>
			<link>http://www.kriesi.at/support/topic/adding-code-to-dynamic-templete#post-79307</link>
			<pubDate>Wed, 10 Oct 2012 20:36:04 +0000</pubDate>
			<dc:creator>mr_jason</dc:creator>
			<guid isPermaLink="false">79307@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I've created a dynamic template for my blog posts.  I would like to edit the &#34;post/page content&#34; section of the template and add a line of code at the bottom.  What is the file name for this 'area'?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
