<?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>WP Marketing &#187; Tag: template files - Recent Posts</title>
		<link>http://wpmarketing.org/forum/tags/template-files</link>
		<description>Wordpress for Internet and Affiliate Marketing</description>
		<language>en-US</language>
		<pubDate>Tue, 07 Feb 2012 21:23:10 +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://wpmarketing.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://wpmarketing.org/forum/rss/tags/template-files" rel="self" type="application/rss+xml" />

		<item>
			<title>hanadaddy on "Hanna Code Insert"</title>
			<link>http://wpmarketing.org/forum/topic/hanna-code-insert#post-136</link>
			<pubDate>Mon, 15 Mar 2010 13:13:15 +0000</pubDate>
			<dc:creator>hanadaddy</dc:creator>
			<guid isPermaLink="false">136@http://wpmarketing.org/forum/</guid>
			<description>&#60;p&#62;Hello&#60;br /&#62;
So you want to use this function in your theme  template files.  There is no function created for this purpose, but you can simple use below codes in your template file.&#60;/p&#62;
&#60;p&#62;Just change &#60;code&#62;$entry_name&#60;/code&#62; variable to your entry name used in the Hana Code settings page. &#60;/p&#62;
&#60;pre&#62;
&#38;lt;?php
$entry_name=&#34;entry123&#34;;
if ($hana_code) { echo $hana_code-&#38;gt;hana_code_return(&#34;[hana-code-insert name='$entry_name' /]&#34;); }
?&#38;gt;
&#60;/pre&#62;</description>
		</item>
		<item>
			<title>tagriffith on "Hanna Code Insert"</title>
			<link>http://wpmarketing.org/forum/topic/hanna-code-insert#post-135</link>
			<pubDate>Mon, 15 Mar 2010 12:25:11 +0000</pubDate>
			<dc:creator>tagriffith</dc:creator>
			<guid isPermaLink="false">135@http://wpmarketing.org/forum/</guid>
			<description>&#60;p&#62;Any help someone can give me on this would be great! The PHP does not recognize the code. I contacted StudioPress and they said that you would to create a template code. That way I can put the code in the templates code and use it on the header.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tagriffith on "Hanna Code Insert"</title>
			<link>http://wpmarketing.org/forum/topic/hanna-code-insert#post-129</link>
			<pubDate>Tue, 02 Mar 2010 15:50:06 +0000</pubDate>
			<dc:creator>tagriffith</dc:creator>
			<guid isPermaLink="false">129@http://wpmarketing.org/forum/</guid>
			<description>&#60;p&#62;How can you insert the Hanna Code into a theme template? I want to use this code to put a flash web banner on one of the StudioPress themes and it does not recognize it as code in the php template.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

