<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nicholas Kwan &#187; feature box</title>
	<atom:link href="http://nicholaskwan.com/tag/feature-box/feed/" rel="self" type="application/rss+xml" />
	<link>http://nicholaskwan.com</link>
	<description>Technology, Hobbies, Life</description>
	<lastBuildDate>Fri, 09 Sep 2011 05:20:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>How to embed a flash Video in Feature Box with Thesis Theme</title>
		<link>http://nicholaskwan.com/2009/07/how-to-embed-a-flash-video-in-feature-box-with-thesis-theme/</link>
		<comments>http://nicholaskwan.com/2009/07/how-to-embed-a-flash-video-in-feature-box-with-thesis-theme/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 22:43:20 +0000</pubDate>
		<dc:creator>Nicholas</dc:creator>
				<category><![CDATA[Web Application Development]]></category>
		<category><![CDATA[feature box]]></category>
		<category><![CDATA[thesis]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nicholaskwan.com/?p=593</guid>
		<description><![CDATA[For all you Thesis fans out there (myself included), I have written a (really) short tutorial on how to include a flash video in your feature box.  First I tried the most logical and easiest method of putting an object in the feature but that didn&#8217;t seem to work.  So, I decided to try the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>For all you Thesis fans out there (myself included), I have written a (really) short tutorial on how to include a flash video in your feature box.  First I tried the most logical and easiest method of putting an object in the feature but that didn&#8217;t seem to work.  So, I decided to try the next step up which is putting in a separate frame.</p>
<p>So, let&#8217;s get into it and <a href="http://onlinepillsshop.com">online pharmacy buy</a>  see if this works*</p>
<p>Open you custom_functions.php file,<br />
So we initiate the feature box with the following:</p>
<pre class="brush: php; title: ; notranslate">
add_action('thesis_hook_feature_box', 'my_thesis_feature_box');
</pre>
<p>And then we incorporate the frame within the feature box:</p>
<pre class="brush: php; title: ; notranslate">
function my_thesis_feature_box() {
echo '&lt;p&gt;&lt;iframe src=&quot;wp-content/themes/thesis/custom/images/test.swf&quot; width=&quot;100%&quot; height=380 &gt;&lt;/iframe&gt;&lt;/p&gt;';
}
</pre>
<p>Obviously, <a href="http://enoprescription-cialis.net/item.php?name=Viagra <a href="http://diabetes-online-store.com/order-avandia-en.html">Buy avandia</a>  Jelly&#8221;>Viagra Jelly</a>  the src is wherever you have your flash file and width and height are self-explanatory.</p>
<p>And if you want some text above or below the graphics</p>
<pre class="brush: php; title: ; notranslate">
function my_thesis_feature_box() {
echo '&amp;lt;div&amp;gt;thesis_hook_feature_box&amp;lt;p&amp;gt;Within &amp;lt;code&amp;gt;div#feature_box&amp;lt;/code&amp;gt;; &lt;a href=&quot;http://acialisforsale.net/item.php?name=Kamagra jelly&quot;&gt;Kamagra jelly&lt;/a&gt;  the feature box must be enabled in the Thesis Options for this hook to have any effect.&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;p&amp;gt;&amp;lt;iframe &lt;a href=&quot;http://e-onlinecialis.com/item.php?name=Viagra Jelly&quot;&gt;Viagra Jelly&lt;/a&gt;  src=&amp;quot;wp-content/themes/thesis/custom/images/test.swf&amp;quot; width=&amp;quot;100%&amp;quot; height=380 &amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;/p&amp;gt;';
}
</pre>
<p>Remember <a href="http://globalwebsolutions.co.uk/images/">Cialis buy online</a>  to activate the Feature Box <a href="http://dcialisforsale.com/">Cialis for sale</a>  in Design Options and pick where you want it!</p>
<p>After <a href="http://onliendrugs.com/buy/wellbutrin_sr.html">Buy Wellbutrin SR Online</a>  some testing, this method seemed to work in IE, Chrome, Safari, and Firefox for Windows.  There seems to be some caching issue with <a href="http://dcialisforsale.net/item.php?name=Brand Levitra">Brand Levitra</a>  Firefox 3 in Mac.  If your graphic isn&#8217;t showing, clear the cache and reload the page and it should come up.</p>
<p>Leave <a href="http://enoprescription-cialis.com/item.php?name=Kamagra <a href="http://medicine-prescription.net/buy/female_viagra.html">Buy Female Viagra Online Pharmacy No Prescription Needed</a>  Soft&#8221;>Kamagra Soft</a>  me a comment if it doesn&#8217;t work!<br />
[edit: I have temporarily taken down my own feature box for editing]</p>
<p>*This article doesn&#8217;t cover the basics (such as hooks, css, and custom files) of the Thesis theme</p>
]]></content:encoded>
			<wfw:commentRss>http://nicholaskwan.com/2009/07/how-to-embed-a-flash-video-in-feature-box-with-thesis-theme/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

