<?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>Rockwall TX Web Design &#124; Application Solutions&#187; Featured Content Gallery</title>
	<atom:link href="http://application-solutions.com/tag/featured-content-gallery/feed/" rel="self" type="application/rss+xml" />
	<link>http://application-solutions.com</link>
	<description>Custom WordPress Website Design &#124; Software Application Development</description>
	<lastBuildDate>Mon, 12 Mar 2012 16:06:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to use Featured Content Gallery and Tabber on Home Page of Studio Press Magazine Theme</title>
		<link>http://application-solutions.com/tutorials/how-to-use-featured-content-gallery-and-tabber-on-home-page-of-studio-press-magazine-theme/</link>
		<comments>http://application-solutions.com/tutorials/how-to-use-featured-content-gallery-and-tabber-on-home-page-of-studio-press-magazine-theme/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 16:06:36 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Featured Content Gallery]]></category>
		<category><![CDATA[Magazine Theme]]></category>
		<category><![CDATA[StudioPress Theme Customization]]></category>
		<category><![CDATA[Tabber]]></category>

		<guid isPermaLink="false">http://application-solutions.com/?p=89</guid>
		<description><![CDATA[First, here&#8217;s a screen shot to show what it looks like when completed. First thing to do is go into the home.php page and find the following code: &#60;div id=&#34;contentleft&#34;&#62; &#60;?php if(get_theme_mod('tabber') == 'Yes') { ?&#62; &#60;div class=&#34;hptabber&#34;&#62; &#60;?php include(TEMPLATEPATH.&#34;/tabber.php&#34;);?&#62; &#60;/div&#62; &#60;?php } else { ?&#62; &#60;?php } ?&#62; &#60;div class=&#34;clear&#34;&#62;&#60;/div&#62; Replace that with this [...]]]></description>
			<content:encoded><![CDATA[<p>First, here&#8217;s a screen shot to show what it looks like when completed.</p>
<p align="center"><img src="http://application-solutions.com/images/magazine.jpg" alt="StudioPress Magazine Theme Modification" /></p>
<p>First thing to do is go into the home.php page and find the following code:</p>
<p><code></p>
<p>&lt;div id=&quot;contentleft&quot;&gt;</p>
<p>&lt;?php if(get_theme_mod('tabber') == 'Yes') { ?&gt;</p>
<p>  &lt;div class=&quot;hptabber&quot;&gt;<br />
  &lt;?php include(TEMPLATEPATH.&quot;/tabber.php&quot;);?&gt;<br />
  &lt;/div&gt; </p>
<p>  &lt;?php } else { ?&gt;<br />
  &lt;?php } ?&gt; </p>
<p>  &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;</p>
<p></code></p>
<p>Replace that with this code below:</p>
<p><code></p>
<p>&lt;div id=&quot;contentleft&quot;&gt; </p>
<p>  &lt;?php if (function_exists('gallery_styles')) : ?&gt;</p>
<p>  &lt;div class=&quot;featuredcontentleft&quot;&gt; <br />
  &lt;div class=&quot;fcg&quot;&gt;<br />
  &lt;?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?&gt;<br />
  &lt;/div&gt;<br />
  &lt;/div&gt;<br />
  &lt;?php endif; ?&gt; </p>
<p>  &lt;?php if(get_theme_mod('tabber') == 'Yes') { ?&gt;<br />
  &lt;div class=&quot;tabberright&quot;&gt; <br />
  &lt;div class=&quot;hptabber&quot;&gt;<br />
  &lt;?php include(TEMPLATEPATH.&quot;/tabber.php&quot;);?&gt;<br />
  &lt;/div&gt;<br />
  &lt;/div&gt; </p>
<p>  &lt;?php } else { ?&gt;<br />
  &lt;?php } ?&gt; </p>
<p>  &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;</p>
<p></code>
</p>
<p>That is all you&#8217;ll need to do for the home.php page.</p>
<p>Then, open up style.css and find the following code (if you have not modified the stylesheet, it should be at about line 539:</p>
<p><code></p>
<p>.hptabber {<br />
  background: #FFFFFF;<br />
  margin: 0px 0px 10px 0px;<br />
  padding: 15px 10px 0px 10px;<br />
  border: 1px solid #C0C0C0;<br />
  }</p>
<p></code></p>
<p>Replace that with the following:</p>
<p><code></p>
<p>.featuredcontentleft {<br />
  background: #FFFFFF;<br />
  border: 1px solid #C0C0C0;<br />
  float: left;<br />
  width: 299px;<br />
  height: 325px;<br />
  margin: 0px 0px 10px 0px;<br />
  padding: 0px;<br />
  }</p>
<p>.tabberright {<br />
  background: #FFFFFF;<br />
  border: 1px solid #C0C0C0;<br />
  float: right;<br />
  width: 299px;<br />
  height: 325px;<br />
  margin: 0px 0px 10px 0px;<br />
  padding: 0px;<br />
  }</p>
<p>.fcg {<br />
  background: #FFFFFF;<br />
  margin: 0px 0px 10px 0px;<br />
  padding: 10px 10px 10px 10px;<br />
  }</p>
<p>  .hptabber {<br />
  background: #FFFFFF;<br />
  margin: 0px 0px 10px 0px;<br />
  padding: 10px 10px 10px 10px;<br />
  }</p>
<p></code>
</p>
<p>Now, you&#8217;ll need to go into tabber.php and find the following:</p>
<p><code></p>
<p>&lt;?php <br />
  $i = 1;<br />
  while($i &lt; 7) { <br />
  ?&gt;<br />
  </code></p>
<p>You need to adjust the amount of tabs (atleast I did so it looked better) to only display 3 (&lt;4)</p>
<p><code></p>
<p>&lt;?php <br />
  $i = 1;<br />
  while($i &lt; 4) { <br />
  ?&gt;</p>
<p></code></p>
<p>Then, upload all 3 files back to your server.</p>
<p>Go to the featured content gallery options and set the width to 275 and the height to 300.</p>
<p>That is all it took and now you&#8217;ll have both features on the home page!</p>
<p>Hope this helps!  <img src='http://application-solutions.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  </p>
<p>Adam</p>
]]></content:encoded>
			<wfw:commentRss>http://application-solutions.com/tutorials/how-to-use-featured-content-gallery-and-tabber-on-home-page-of-studio-press-magazine-theme/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

