<?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>Mip Design themes &#187; Tutorials</title>
	<atom:link href="http://mipdesign.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://mipdesign.com</link>
	<description>Site Templates &#38; Wordpress Themes</description>
	<lastBuildDate>Mon, 24 May 2010 08:33:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Inspiredblog: How to implement filmstrip navigation from FancyTheme</title>
		<link>http://mipdesign.com/2009/10/28/inspiredblog-how-to-implement-filmstrip-navigation-from-fancytheme/</link>
		<comments>http://mipdesign.com/2009/10/28/inspiredblog-how-to-implement-filmstrip-navigation-from-fancytheme/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 14:35:36 +0000</pubDate>
		<dc:creator>Mip</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WP templates]]></category>

		<guid isPermaLink="false">http://mipdesign.com/?p=600</guid>
		<description><![CDATA[&#8220;I would really appreciate your suggestion of a tutorial, how to include the gallery of your Fancy Theme’s starting page to the starting page of Inspired Blog. I guess, this [...]


Related posts:<ol><li><a href='http://mipdesign.com/2009/09/29/fancytheme-v3-1-changelog/' rel='bookmark' title='Permanent Link: ChangeLog &#8211; FancyTheme v3.1'>ChangeLog &#8211; FancyTheme v3.1</a> <small>This update fixes the problem with other plugins that uses...</small></li><li><a href='http://mipdesign.com/2009/02/10/retro-theme-tutorials-part-i/' rel='bookmark' title='Permanent Link: Retro theme tutorials (part I): How to position the navigation menu below the header image?'>Retro theme tutorials (part I): How to position the navigation menu below the header image?</a> <small>TealGray Retro Theme is our most succesfull wordpress template so...</small></li><li><a href='http://mipdesign.com/2009/10/09/inspiredblog-how-to-disable-style-switchers/' rel='bookmark' title='Permanent Link: Inspiredblog: How to disable style switchers and select your default color?'>Inspiredblog: How to disable style switchers and select your default color?</a> <small>My latest theme Inspiredblog, has a pretty cool feature called...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<blockquote><p><em>&#8220;I would really appreciate your suggestion of a tutorial, how to include the gallery of your <a href="http://wptheme3.mipdesign.com/" target="_blank"><strong>Fancy Theme’s starting page</strong></a> to the starting page of Inspired Blog. </em>I guess, this would be interesting to others, too.. <em>&#8220;</em> said <strong>Colorit</strong>.</p></blockquote>
<p>Well, it took me a little while, but here is a tutorial how to do it.</p>
<h3>1. Add new options to administration</h3>
<p>Open &#8220;<strong>admin-options.php</strong>&#8221; file located in &#8220;<strong>functions</strong>&#8221; folder and insert (paste) the following code at line 46:</p>
<pre name="code" class="php">

array(	&quot;name&quot; =&gt; &quot;Filmstrip navigation&quot;,
&quot;type&quot; =&gt; &quot;heading&quot;,
&quot;desc&quot; =&gt; &quot;Settings for home post animation&quot;),

array(	&quot;name&quot; =&gt; &quot;Post/page Highlight IDs&quot;,
&quot;desc&quot; =&gt; &quot;Please enter ID of post(s) you want to display on homepage and separate them by commas&quot;,
&quot;id&quot; =&gt; $shortname.&quot;_hl_ID&quot;,
&quot;std&quot; =&gt; &quot;&quot;,
&quot;type&quot; =&gt; &quot;text&quot;),

array(	&quot;name&quot; =&gt; &quot;Highlight overlay color&quot;,
&quot;desc&quot; =&gt; &quot;Please enter color of overlay panel&quot;,
&quot;id&quot; =&gt; $shortname.&quot;_hl_overlay&quot;,
&quot;std&quot; =&gt; &quot;&quot;,
&quot;type&quot; =&gt; &quot;text&quot;),

array(	&quot;name&quot; =&gt; &quot;Highlight opacity&quot;,
&quot;desc&quot; =&gt; &quot;Please enter opacity overlay panel (Example: 0.6, 0.3 ...)&quot;,
&quot;id&quot; =&gt; $shortname.&quot;_hl_opacity&quot;,
&quot;std&quot; =&gt; &quot;&quot;,
&quot;type&quot; =&gt; &quot;text&quot;),

array(	&quot;name&quot; =&gt; &quot;Filmstrip Thumbnail width&quot;,
&quot;desc&quot; =&gt; &quot;Please enter desired thumbnail width&quot;,
&quot;id&quot; =&gt; $shortname.&quot;_h1_thumb_width&quot;,
&quot;std&quot; =&gt; &quot;&quot;,
&quot;type&quot; =&gt; &quot;text&quot;),

array(	&quot;name&quot; =&gt; &quot;Filmstrip Thumbnail height&quot;,
&quot;desc&quot; =&gt; &quot;Please enter desired thumbnail height&quot;,
&quot;id&quot; =&gt; $shortname.&quot;_h1_thumb_height&quot;,
&quot;std&quot; =&gt; &quot;&quot;,
&quot;type&quot; =&gt; &quot;text&quot;),
</pre>
<h3>2. Copy all javascript files</h3>
<p>Just <strong><a href="http://mipdesign.com/wp-content/uploads/2009/10/js_files.zip">download this zip file</a></strong> and extract it to themes &#8220;js&#8221; folder.</p>
<h3>3. Include javascript files</h3>
<p>Open &#8220;<strong>header.php</strong>&#8221; file and <strong>replace </strong>old jQuery easing plugin at line 43:</p>
<pre name="code" class="html">

&lt;script src=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/js/jquery.easing.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<p>with the following code:</p>
<pre name="code" class="html">

&lt;script src=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/js/jquery.easing.1.3.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<p>and <strong>add this two lines</strong> as last called javascript functions:</p>
<pre name="code" class="html">

&lt;script src=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/js/jquery.galleryview-1.1.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/js/jquery.timers-1.1.2.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<h3>4. Set new easing effect for LavaLamp menu</h3>
<p>New easing plugin has changed animation names so we need to change line 56:</p>
<pre name="code" class="javascript">

jQuery(&quot;#nav&quot;).lavaLamp({ fx: &quot;backout&quot;, speed: 700 });
</pre>
<p>to:</p>
<pre name="code" class="javascript">

jQuery(&quot;#nav&quot;).lavaLamp({ fx: &quot;easeOutBack&quot;, speed: 700 });
</pre>
<h3>5. Create filmstrip navigation file</h3>
<p>Create new <strong>blank </strong>file &#8220;<strong>filmstrip_navigation.php</strong>&#8221; in themes root directory and paste the following code:</p>
<pre name="code" class="php">

&lt;script type=&quot;text/javascript&quot;&gt;
jQuery(document).ready(function($){
$(&#039;#photos&#039;).galleryView({
panel_width: 930,
panel_height: 275,
overlay_width: 285,
overlay_opacity: &lt;?php echo get_option(&#039;miptheme_hl_opacity&#039;);?&gt;,
overlay_position: &#039;top&#039;,
overlay_color: &#039;&lt;?php echo get_option(&#039;miptheme_hl_overlay&#039;);?&gt;&#039;,
overlay_text_color: &#039;#fff&#039;,
caption_text_color: &#039;#dedfdf&#039;,
background_color: &#039;#444444&#039;,
border: &#039;none&#039;,
nav_theme: &#039;light&#039;,
frame_width: &lt;?php echo get_option(&#039;miptheme_h1_thumb_width&#039;);?&gt;,
frame_height: &lt;?php echo get_option(&#039;miptheme_h1_thumb_height&#039;);?&gt;,
easing: &#039;easeInOutQuad&#039;,
pause_on_hover: true
});
});
&lt;/script&gt;

&lt;div id=&quot;head-highlight&quot; class=&quot;box&quot;&gt;
&lt;div class=&quot;head-highlight-inner clearfix&quot;&gt;

&lt;div id=&quot;photos&quot; class=&quot;galleryview&quot;&gt;

&lt;?php
global $post;
$nav = &#039;&#039;;
$my_query = get_posts(&#039;include=&#039;.get_option(&#039;miptheme_hl_ID&#039;).&#039;&#039;);
foreach($my_query as $post) :
?&gt;
&lt;div class=&quot;panel&quot;&gt;
&lt;?php
if ( get_post_meta($post-&gt;ID,&#039;thumb&#039;, true) ) {
?&gt;
&lt;img src=&quot;&lt;?php echo bloginfo(&#039;template_url&#039;); ?&gt;/thumb.php?src=&lt;?php echo get_post_meta($post-&gt;ID, &quot;thumb&quot;, $single = true); ?&gt;&amp;amp;amp;amp;amp;amp;h=275&amp;amp;amp;amp;amp;amp;w=928&amp;amp;amp;amp;amp;amp;zc=1&amp;amp;amp;amp;amp;amp;q=80&quot; alt=&quot;&lt;?php the_title(); ?&gt;&quot; /&gt;
&lt;?php
}
?&gt;
&lt;div class=&quot;panel-overlay&quot;&gt;
&lt;h2&gt;&lt;a title=&quot;Permanent Link to &lt;?php the_title(); ?&gt;&quot; href=&quot;&lt;?php the_permalink(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;?php echo ShortenText( $post-&gt;post_content, 250 ); ?&gt;&lt;/p&gt;
&lt;a title=&quot;Permanent Link to &lt;?php the_title(); ?&gt;&quot; class=&quot;detail&quot; href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;more detail&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;?php
$nav .= &#039;&lt;li&gt;&lt;img src=&quot;&#039;. get_bloginfo(&#039;template_url&#039;) .&#039;/thumb.php?src=&#039;. get_post_meta($post-&gt;ID, &quot;thumb&quot;, $single = true) .&#039;&amp;amp;amp;amp;amp;amp;h=&#039;. get_option(&#039;miptheme_h1_thumb_height&#039;) .&#039;&amp;amp;amp;amp;amp;amp;w=&#039;. get_option(&#039;miptheme_h1_thumb_width&#039;) .&#039;&amp;amp;amp;amp;amp;amp;zc=1&amp;amp;amp;amp;amp;amp;q=80&quot; alt=&quot;&#039;. $post-&gt;post_title .&#039;&quot; /&gt;&lt;/li&gt;&#039;;
endforeach;
?&gt;
&lt;ul class=&quot;filmstrip&quot;&gt;
&lt;?php echo $nav; ?&gt;
&lt;/ul&gt;
&lt;/div&gt;

&lt;/div&gt;&lt;!-- end head-highlight-inner --&gt;
&lt;/div&gt;&lt;!-- end head-highlight --&gt;
</pre>
<h3>6. Include filmstrip navigation on homepage</h3>
<p>Open &#8220;<strong>index.php</strong>&#8221; file and insert this code at line 12:</p>
<pre name="code" class="php">

&lt;?php include (&#039;filmstrip_navigation.php&#039;); ?&gt;
</pre>
<h3>7. Let&#8217;s style the navigation</h3>
<p>Open &#8220;<strong>style.css</strong>&#8221; file and just insert the following code:</p>
<pre name="code" class="css">

/* Highlight - Main
------------------------------------------------------*/
#head-highlight
{
padding: 15px 15px 2px 15px;
margin-bottom: 15px;
font-size: 1.1em;
color: #dedfdf;
background-color: #444;
}

#head-highlight .panel img { border: 1px solid #999; }

#head-highlight h2
{
font: normal 1.8em/120% Georgia, Times, serif;
color: #fff;
margin-bottom: 10px;
}

#head-highlight h2 a
{
color: #fff;
}

#head-highlight p
{
color: #dedfdf;
}

#head-highlight a.detail
{
display: block;
font: bold 1.0em/140% Arial, Tahoma, sans-serif;
color: #fff;
margin-bottom: 5px;
background: url(&quot;images/bullet_1.png&quot;) no-repeat 0% 80%;
padding-left: 18px;
}
</pre>
<h3>8. Set up your navigation</h3>
<p>Go to wordpress administration and under Appearance select &#8220;Theme Options&#8221;. You will se new section here called &#8220;Filmstrip navigation&#8221;. You have to <strong>populate all the fields</strong> and click &#8220;Update&#8221; at the end of page. Here is the example how to insert proper values:</p>
<h3>Preview</h3>
<p>You can <strong><a href="http://wptheme5.mipdesign.com/?page_id=240" target="_blank">preview live demo here</a></strong>.</p>


<p>Related posts:<ol><li><a href='http://mipdesign.com/2009/09/29/fancytheme-v3-1-changelog/' rel='bookmark' title='Permanent Link: ChangeLog &#8211; FancyTheme v3.1'>ChangeLog &#8211; FancyTheme v3.1</a> <small>This update fixes the problem with other plugins that uses...</small></li><li><a href='http://mipdesign.com/2009/02/10/retro-theme-tutorials-part-i/' rel='bookmark' title='Permanent Link: Retro theme tutorials (part I): How to position the navigation menu below the header image?'>Retro theme tutorials (part I): How to position the navigation menu below the header image?</a> <small>TealGray Retro Theme is our most succesfull wordpress template so...</small></li><li><a href='http://mipdesign.com/2009/10/09/inspiredblog-how-to-disable-style-switchers/' rel='bookmark' title='Permanent Link: Inspiredblog: How to disable style switchers and select your default color?'>Inspiredblog: How to disable style switchers and select your default color?</a> <small>My latest theme Inspiredblog, has a pretty cool feature called...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://mipdesign.com/2009/10/28/inspiredblog-how-to-implement-filmstrip-navigation-from-fancytheme/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Inspiredblog: How to set up a simple contact form using Contact Form 7 plugin</title>
		<link>http://mipdesign.com/2009/10/13/inspiredblog-how-to-set-up-a-simple-contact-form-using-cf-7/</link>
		<comments>http://mipdesign.com/2009/10/13/inspiredblog-how-to-set-up-a-simple-contact-form-using-cf-7/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 14:15:02 +0000</pubDate>
		<dc:creator>Mip</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WP templates]]></category>

		<guid isPermaLink="false">http://mipdesign.com/?p=584</guid>
		<description><![CDATA[Most of us, are using some kind of wordpress plug-ins to easily create custom forms. One of the best is surely Contact Form 7.  Its key features are spam filters [...]


Related posts:<ol><li><a href='http://mipdesign.com/contact-us/' rel='bookmark' title='Permanent Link: Contact us'>Contact us</a> <small>Interested in working with us? Fill the form below and...</small></li><li><a href='http://mipdesign.com/2009/02/19/retro-theme-tutorials-part-ii/' rel='bookmark' title='Permanent Link: Retro theme tutorials (part II): How to replace the text main site name with a simple  PNG  file?'>Retro theme tutorials (part II): How to replace the text main site name with a simple  PNG  file?</a> <small>After v2.0 update, this theme got a little &#8220;boost&#8221;. I...</small></li><li><a href='http://mipdesign.com/2009/10/28/inspiredblog-how-to-implement-filmstrip-navigation-from-fancytheme/' rel='bookmark' title='Permanent Link: Inspiredblog: How to implement filmstrip navigation from FancyTheme'>Inspiredblog: How to implement filmstrip navigation from FancyTheme</a> <small>&#8220;I would really appreciate your suggestion of a tutorial, how...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Most of us, are using some kind of wordpress plug-ins to easily create custom forms. One of the best is surely <a href="http://wordpress.org/extend/plugins/contact-form-7/" target="_blank"><strong>Contact Form 7</strong></a>.  Its key features are spam filters from the Akismet database which will filter out any spam on your form. In this tutorial we&#8217;ll create a simple contact form usually placed on &#8220;<strong>about</strong>&#8221; or &#8220;<strong>contact us</strong>&#8221; page</p>
<h3>Create your form</h3>
<p>Copy/paste this code in &#8216;Form&#8217; area (Administration -&gt; Contact):</p>
<pre name="code" class="html">

&lt;label&gt;Your Name (required)&lt;/label&gt;[text* your-name]
&lt;label&gt;Your Email (required)&lt;/label&gt;[email* your-email]
&lt;label&gt;Subject&lt;/label&gt;[text your-subject]
&lt;label&gt;Your Message&lt;/label&gt;[textarea your-message]
[submit class:submit &quot;Send message&quot;]
</pre>
<p>save it, and copy and paste generated code into your post content on desired place.</p>
<h3>Style your form</h3>
<p>Now, for styling. Add these css properties to your &#8220;style.css&#8221; file, at the end.</p>
<pre name="code" class="css">

/* Page content - comment form 7 plugin
------------------------------------------------------*/

#page-content .wpcf7
{
margin: 30px 0 30px 0;
}

#page-content .wpcf7:after
{
content: &quot;.&quot;;
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}

#page-content .wpcf7 input, #page-content .wpcf7 textarea
{
background: url(&quot;images/bg_shadow.gif&quot;) repeat-x 0% 0%;
}

#page-content .wpcf7 input.submit
{
width: 130px;
background-color: #444;
color: #fff;
font-size: 0.9em;
font-weight: bold;
}

#page-content .wpcf7 textarea
{
width: 500px;
}
</pre>
<h3>New theme update</h3>
<p>I&#8217;ll will include this styles in my next update of <a href="/our-themes/wordpress-templates/inspiredblog-theme/"><strong>Inspiredblog</strong> </a>theme.</p>


<p>Related posts:<ol><li><a href='http://mipdesign.com/contact-us/' rel='bookmark' title='Permanent Link: Contact us'>Contact us</a> <small>Interested in working with us? Fill the form below and...</small></li><li><a href='http://mipdesign.com/2009/02/19/retro-theme-tutorials-part-ii/' rel='bookmark' title='Permanent Link: Retro theme tutorials (part II): How to replace the text main site name with a simple  PNG  file?'>Retro theme tutorials (part II): How to replace the text main site name with a simple  PNG  file?</a> <small>After v2.0 update, this theme got a little &#8220;boost&#8221;. I...</small></li><li><a href='http://mipdesign.com/2009/10/28/inspiredblog-how-to-implement-filmstrip-navigation-from-fancytheme/' rel='bookmark' title='Permanent Link: Inspiredblog: How to implement filmstrip navigation from FancyTheme'>Inspiredblog: How to implement filmstrip navigation from FancyTheme</a> <small>&#8220;I would really appreciate your suggestion of a tutorial, how...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://mipdesign.com/2009/10/13/inspiredblog-how-to-set-up-a-simple-contact-form-using-cf-7/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Inspiredblog: How to disable style switchers and select your default color?</title>
		<link>http://mipdesign.com/2009/10/09/inspiredblog-how-to-disable-style-switchers/</link>
		<comments>http://mipdesign.com/2009/10/09/inspiredblog-how-to-disable-style-switchers/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 11:31:11 +0000</pubDate>
		<dc:creator>Mip</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WP templates]]></category>

		<guid isPermaLink="false">http://mipdesign.com/?p=542</guid>
		<description><![CDATA[My latest theme Inspiredblog, has a pretty cool feature called style switcher. This gives some kind on interactivity to your visitors as it allows them to choose color/style they like [...]


Related posts:<ol><li><a href='http://mipdesign.com/2009/10/28/inspiredblog-how-to-implement-filmstrip-navigation-from-fancytheme/' rel='bookmark' title='Permanent Link: Inspiredblog: How to implement filmstrip navigation from FancyTheme'>Inspiredblog: How to implement filmstrip navigation from FancyTheme</a> <small>&#8220;I would really appreciate your suggestion of a tutorial, how...</small></li><li><a href='http://mipdesign.com/2009/11/14/changelog-%e2%80%93-fancytheme-v4-2/' rel='bookmark' title='Permanent Link: ChangeLog – FancyTheme v4.2'>ChangeLog – FancyTheme v4.2</a> <small>This update will fix most problems people have with Internet...</small></li><li><a href='http://mipdesign.com/2009/09/29/fancytheme-v3-1-changelog/' rel='bookmark' title='Permanent Link: ChangeLog &#8211; FancyTheme v3.1'>ChangeLog &#8211; FancyTheme v3.1</a> <small>This update fixes the problem with other plugins that uses...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>My latest theme <a href="http://themeforest.net/item/inspiredblog/59707?ref=mip" target="_blank"><strong>Inspiredblog</strong></a>, has a pretty cool feature called<strong> style switcher</strong>. This gives some kind on interactivity to your visitors as it allows them to choose color/style they like when surfing your site. In this theme I use two style switchers, one for background body/logo/color and other one for footer background/color.</p>
<h3>Option to disable color switchers?</h3>
<p>I&#8217;m planning to implement this option in <strong>&#8220;Theme options&#8221;</strong> panel so that administrators can select their own color/style and disable one or both style switchers. But, for now yu have to do it manually.</p>
<h3>Step 1: Select your header style</h3>
<p>Open &#8220;<strong>header.php</strong>&#8221; file and locate styles for body styles:</p>
<pre name="code" class="php">

&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/css/body2.css&quot; title=&quot;body2&quot; media=&quot;screen&quot; /&gt;
&lt;link rel=&quot;alternate stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/css/body1.css&quot; title=&quot;body1&quot; media=&quot;screen&quot; /&gt;
&lt;link rel=&quot;alternate stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/css/body3.css&quot; title=&quot;body3&quot; media=&quot;screen&quot; /&gt;
&lt;link rel=&quot;alternate stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/css/body4.css&quot; title=&quot;body4&quot; media=&quot;screen&quot; /&gt;
&lt;link rel=&quot;alternate stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/css/body5.css&quot; title=&quot;body5&quot; media=&quot;screen&quot; /&gt;
</pre>
<p>You see that there are five stylesheets and four of theme have &#8220;alternate&#8221; in<strong> &#8220;rel&#8221; attribute</strong>. This means that the first one is default and active. Now, delete the styles you don&#8217;t want to use, leave the one that will remain as default and <strong>delete &#8220;alternate&#8221; option from &#8220;rel&#8221; attribute</strong>. Result is only one body style.</p>
<h3>Step 2: Select your footer style</h3>
<p>Open &#8220;<strong>header.php</strong>&#8221; file and locate styles for footer styles:</p>
<pre name="code" class="php">

&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/css/foot3.css&quot; title=&quot;foot3&quot; id=&quot;foot3&quot; media=&quot;screen&quot; /&gt;
&lt;link rel=&quot;alternate stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/css/foot1.css&quot; title=&quot;foot1&quot; id=&quot;foot1&quot; media=&quot;screen&quot; /&gt;
&lt;link rel=&quot;alternate stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/css/foot2.css&quot; title=&quot;foot2&quot; id=&quot;foot2&quot; media=&quot;screen&quot; /&gt;
&lt;link rel=&quot;alternate stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/css/foot4.css&quot; title=&quot;foot4&quot; id=&quot;foot4&quot; media=&quot;screen&quot; /&gt;
&lt;link rel=&quot;alternate stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/css/foot5.css&quot; title=&quot;foot5&quot; id=&quot;foot5&quot; media=&quot;screen&quot; /&gt;
</pre>
<p>and follow all the steps as for body styles.</p>
<h3>Step 3: Remove body style switcher</h3>
<p>Open &#8220;<strong>sidebar_switcher.php</strong>&#8221; file and comment or delete complete code.</p>
<h3>Step 4: Remove footer style switcher</h3>
<p>Open &#8220;<strong>page_footer_switcher.php</strong>&#8221; file and comment or delete complete code.</p>
<h3>Finally</h3>
<p>Unfortunately, if you want to disable style switchers, you have to follow these steps. I&#8217;m working on new update for this theme which will have this option implemented in &#8220;Theme options&#8221; panel, among other new features. This update will be released by the end of this month.</p>


<p>Related posts:<ol><li><a href='http://mipdesign.com/2009/10/28/inspiredblog-how-to-implement-filmstrip-navigation-from-fancytheme/' rel='bookmark' title='Permanent Link: Inspiredblog: How to implement filmstrip navigation from FancyTheme'>Inspiredblog: How to implement filmstrip navigation from FancyTheme</a> <small>&#8220;I would really appreciate your suggestion of a tutorial, how...</small></li><li><a href='http://mipdesign.com/2009/11/14/changelog-%e2%80%93-fancytheme-v4-2/' rel='bookmark' title='Permanent Link: ChangeLog – FancyTheme v4.2'>ChangeLog – FancyTheme v4.2</a> <small>This update will fix most problems people have with Internet...</small></li><li><a href='http://mipdesign.com/2009/09/29/fancytheme-v3-1-changelog/' rel='bookmark' title='Permanent Link: ChangeLog &#8211; FancyTheme v3.1'>ChangeLog &#8211; FancyTheme v3.1</a> <small>This update fixes the problem with other plugins that uses...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://mipdesign.com/2009/10/09/inspiredblog-how-to-disable-style-switchers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to enhance your wordpress code?</title>
		<link>http://mipdesign.com/2009/09/03/how-to-upgrade-your-wordpress-code/</link>
		<comments>http://mipdesign.com/2009/09/03/how-to-upgrade-your-wordpress-code/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 13:38:55 +0000</pubDate>
		<dc:creator>Mip</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://mipdesign.com/?p=459</guid>
		<description><![CDATA[I get a lot of questions about enhancing my themes, put new functionality in them or just to help them do it themselves. Since I have a regular daily job, a freelance studio and <strong><em>themes</em></strong> as my little pet project, I simply can't answer and help everyone. But, I surely can try.


Related posts:<ol><li><a href='http://mipdesign.com/2009/09/29/fancytheme-v3-1-changelog/' rel='bookmark' title='Permanent Link: ChangeLog &#8211; FancyTheme v3.1'>ChangeLog &#8211; FancyTheme v3.1</a> <small>This update fixes the problem with other plugins that uses...</small></li><li><a href='http://mipdesign.com/2009/02/10/retro-theme-tutorials-part-i/' rel='bookmark' title='Permanent Link: Retro theme tutorials (part I): How to position the navigation menu below the header image?'>Retro theme tutorials (part I): How to position the navigation menu below the header image?</a> <small>TealGray Retro Theme is our most succesfull wordpress template so...</small></li><li><a href='http://mipdesign.com/2010/04/30/new-wordpress-theme-minimaxwhite/' rel='bookmark' title='Permanent Link: New Wordpress Theme: MinimaxWhite'>New Wordpress Theme: MinimaxWhite</a> <small>New Wordpress theme is now available at ThemeForest for only...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I get a lot of questions about enhancing my themes, put new functionality in them or just to help them do it themselves. Since I have a regular daily job, a freelance studio and <strong><em>themes</em></strong> as my little pet project, I simply can&#8217;t answer and help everyone. But, I surely can try.</p>
<p>Throughout this article, I&#8217;ll try to focus on <strong>most common questions</strong> you asked me during this year.</p>
<h3>How to only show posts with a specific custom field?</h3>
<p>Let&#8217;s say we want to only show posts that have custom field &#8220;thumb&#8221; and value &#8220;jpg&#8221;.<br />
We&#8217;ll use a <strong><a href="http://codex.wordpress.org/Template_Tags/query_posts" target="_blank">query_posts</a></strong> function and place it above the standard loop code.</p>
<pre name="code" class="php">
&lt;?php query_posts(&#039;meta_key=insert_key&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;thumb=jpg&#039;); ?&gt;

&lt;?php if (have_posts()) : ?&gt;
&lt;?php while (have_posts()) : the_post(); ?&gt;
</pre>
<h3>How to retrieve custom fields outside the loop?</h3>
<pre name="code" class="php">
&lt;?php
global $wp_query;
$postid = $wp_query-&gt;post-&gt;ID;
echo get_post_meta($postid, &#039;insert_your_custom_field_key&#039;, true);
?&gt;
</pre>
<h3>How to replace the &#8220;Read more&#8221; link?</h3>
<p>The most common problem with the “<strong>read more</strong>” link, is that you can’t change its text. Well, this was true till version 2.8. come out. Here is the solution for previous versions of wordpress. Just add this to your <strong>functions.php</strong> file.</p>
<pre name="code" class="php">

&lt;?php
add_filter( &#039;the_content_more_link&#039;, &#039;my_custom_link&#039;, 10, 2 );
$default_more = &quot;Continue reading&quot;;
function my_custom_link( $link_text, $link_class ) {
return str_replace( $link_text, $default_more, $link_class );
}
?&gt;
</pre>
<p><strong>From version 2.8.</strong> you can use parameters within the template tag <strong>the_content()</strong>.<br />
So, we just enhance are content tag:</p>
<pre name="code" class="php">

&lt;?php the_content(&quot;Continue reading this post&quot;); ?&gt;
</pre>
<h3>How to get short urls for social bookmarking?</h3>
<p>Sometimes you need short urls for social bookmarking and using permalinks is not a good solution. That&#8217;s why we&#8217;ll use post ID instead.</p>
<pre name="code" class="php">

&lt;?php echo get_bloginfo(&#039;url&#039;).&quot;/?p=&quot;.$post-&gt;ID; ?&gt;
</pre>
<p>But, if you want to send this url to twitter we have to use tinyurls.<br />
First, add this function to your <strong>functions.php</strong> file.</p>
<pre name="code" class="php">

function getTinyUrl($url) {
$tinyurl = file_get_contents(&quot;http://tinyurl.com/api-create.php?url=&quot;.$url);
return $tinyurl;
}
</pre>
<p>And now you can use it in your posts by calling this function.</p>
<pre name="code" class="php">

&lt;?php echo getTinyUrl(get_permalink($post-&gt;ID)); ?&gt;
</pre>
<h3>How to disable (don&#8217;t show) images on homepage?</h3>
<p>I prefer to show images on homepage but sometimes less is more, depends on theme design. If you want to prevent images to show on your homepage just add this hack to your <strong>functions.php</strong> file.</p>
<pre name="code" class="php">

&lt;?php
add_filter(&#039;the_content&#039;,&#039;wp_home_no_image_filter&#039;,11);

function wp_home_no_image_filter($content){
if (is_home() || is_front_page()){
$content = preg_replace(&quot;/&lt;img[^&gt;]+\&gt;/i&quot;, &quot;&quot;, $content);
}
return $content;
}
?&gt;
</pre>
<h3>How to show parent page/post title?</h3>
<p>This is quite simple. Just add this code where you want to show your parent page/post title.</p>
<pre name="code" class="php">

&lt;?php echo get_the_title($post-&gt;post_parent); ?&gt;
</pre>
<h3>How to add Breadcrumbs to WordPress?</h3>
<p><strong>Source: <a href="http://www.egracecreative.com/2009/07/08/add-breadcrumbs-to-wordpress-without-a-plugin/" target="_blank">Add Breadcrumbs to WordPress Without a Plugin</a></strong></p>
<p>There are a lot of wordpress plugins that will do the job. I personally, use <strong><a href="http://yoast.com/wordpress/breadcrumbs/" target="_blank">Yoast Breadcrumbs</a></strong> on my themes, but I run into a great article by <strong><a href="http://www.egracecreative.com/2009/07/08/add-breadcrumbs-to-wordpress-without-a-plugin/" target="_blank">Brandon Cox</a></strong> who wrote this excellent piece of code.</p>
<pre name="code" class="php">
&lt;?php
function breadcrumbs() {
$theFullUrl = $_SERVER[&quot;REQUEST_URI&quot;];
$urlArray=explode(&quot;/&quot;,$theFullUrl);
echo ‘You Are Here: &lt;a href=&quot;/&quot;&gt;Home&lt;/a&gt;’;
while (list($j,$text) = each($urlArray)) {
$dir=”;
if ($j &gt; 1) {
$i=1;
while ($i &lt; $j) {
$dir .= ‘/’ . $urlArray[$i];
$text = $urlArray[$i];
$i++;
}
if($j &lt; count($urlArray)-1) echo ‘ &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;raquo; &lt;a href=&quot;’.$dir.‘&quot;&gt;’ . str_replace(&quot;-&quot;, &quot; &quot;, $text) . ‘&lt;/a&gt;’;
}
}
echo wp_title();
}
breadcrumbs();
?&gt;
</pre>


<p>Related posts:<ol><li><a href='http://mipdesign.com/2009/09/29/fancytheme-v3-1-changelog/' rel='bookmark' title='Permanent Link: ChangeLog &#8211; FancyTheme v3.1'>ChangeLog &#8211; FancyTheme v3.1</a> <small>This update fixes the problem with other plugins that uses...</small></li><li><a href='http://mipdesign.com/2009/02/10/retro-theme-tutorials-part-i/' rel='bookmark' title='Permanent Link: Retro theme tutorials (part I): How to position the navigation menu below the header image?'>Retro theme tutorials (part I): How to position the navigation menu below the header image?</a> <small>TealGray Retro Theme is our most succesfull wordpress template so...</small></li><li><a href='http://mipdesign.com/2010/04/30/new-wordpress-theme-minimaxwhite/' rel='bookmark' title='Permanent Link: New Wordpress Theme: MinimaxWhite'>New Wordpress Theme: MinimaxWhite</a> <small>New Wordpress theme is now available at ThemeForest for only...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://mipdesign.com/2009/09/03/how-to-upgrade-your-wordpress-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fancy Theme: How to set up feature post slider</title>
		<link>http://mipdesign.com/2009/05/09/fancy-theme-how-to-set-up-feature-post-slider/</link>
		<comments>http://mipdesign.com/2009/05/09/fancy-theme-how-to-set-up-feature-post-slider/#comments</comments>
		<pubDate>Sat, 09 May 2009 13:21:56 +0000</pubDate>
		<dc:creator>Mip</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WP templates]]></category>

		<guid isPermaLink="false">http://mipdesign.com/?p=367</guid>
		<description><![CDATA[Step one: Create &#8220;cache&#8221; folder
This theme (and this feature specially) uses TimThumb to resize pictures and requires the GD library, which is available on any host sever with PHP 4.3+ [...]


Related posts:<ol><li><a href='http://mipdesign.com/2009/04/08/fancy-theme-v20/' rel='bookmark' title='Permanent Link: Fancy Theme v2.0'>Fancy Theme v2.0</a> <small>This is first update for my latest wordpress theme and...</small></li><li><a href='http://mipdesign.com/2009/10/28/inspiredblog-how-to-implement-filmstrip-navigation-from-fancytheme/' rel='bookmark' title='Permanent Link: Inspiredblog: How to implement filmstrip navigation from FancyTheme'>Inspiredblog: How to implement filmstrip navigation from FancyTheme</a> <small>&#8220;I would really appreciate your suggestion of a tutorial, how...</small></li><li><a href='http://mipdesign.com/our-themes/wordpress-templates/fancy-theme/' rel='bookmark' title='Permanent Link: Fancy Theme'>Fancy Theme</a> <small>A powerful WordPress theme special for online blogging and business/personal...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<h3 id="step1">Step one: Create &#8220;cache&#8221; folder</h3>
<p>This theme (and this feature specially) uses <strong>TimThumb </strong>to resize pictures and requires <a href="http://www.libgd.org/Main_Page" target="blank">the GD library</a>, which is available on any host sever with PHP 4.3+ installed. Once installed and in-use, TimThumb will <strong><strong>automaticall</strong><strong>y</strong></strong><strong> create a </strong><strong>/cache/ subfolder</strong> with proper write-permissions.</p>
<p>If your host server doesn’t allow this by default, be sure to <strong>manually create /cache/ folder</strong> in your theme’s root directory and set permissions to 777.</p>
<h3>Step two: Open &#8220;Theme options&#8221; in administration panel</h3>
<p>When you open <strong>&#8220;Theme options&#8221;</strong> you&#8217;ll see new group created here called <em>&#8220;Highlighted areas / Settings for 4 featured posts/pages&#8221;. </em>This is screenshot of all available oprions<em>:</em></p>
<p><em><img class="alignnone size-full wp-image-375" title="slider_setup_1" src="http://mipdesign.com/wp-content/uploads/2009/05/slider_setup_1.gif" alt="slider_setup_1" width="550" height="336" /></em></p>
<h3>What does that mean?</h3>
<p>Let&#8217;s look at this screenshot of slider with all features displayed.</p>
<p><img class="alignnone size-full wp-image-376" title="slider_setup_2" src="http://mipdesign.com/wp-content/uploads/2009/05/slider_setup_2.jpg" alt="slider_setup_2" width="550" height="206" /></p>
<ul>
<li><strong>1. </strong>Highlight background color &#8211; <span class="setting-description">color of filmstrip background</span></li>
<li><strong>2. </strong>Highlight overlay color &#8211; <span class="setting-description">color of overlay panel</span></li>
<li><strong>3. </strong>Filmstrip Thumbnail image</li>
</ul>
<h3>Slider navigation</h3>
<p>If you want simple slider navigation you have to insert these fields:</p>
<p><img class="alignnone size-full wp-image-377" title="slider_setup_3" src="http://mipdesign.com/wp-content/uploads/2009/05/slider_setup_3.gif" alt="slider_setup_3" width="550" height="336" /></p>
<ul>
<li><strong>Post/page Highlight ID&#8217;s:</strong> enter id&#8217;s of all posts and pages you want to display in slider (comma separated)</li>
<li><strong>Highlight overlay color: </strong> <span class="setting-description">enter </span>hexadecimal color code for <span class="setting-description">overlay panel<br />
</span></li>
<li><strong>Highlight opacity:</strong> enter value from 0.1 &#8211; 1 to show opacity of overlay panel (0.1 = 10% opacity)</li>
<li><strong>Highlight animation:</strong> choose Standard slider</li>
</ul>
<h3>Filmstrip navigation</h3>
<p>Well, this navigation requires that you <strong>populate all fields</strong>.</p>
<p><img class="alignnone size-full wp-image-374" title="slider_setup_4" src="http://mipdesign.com/wp-content/uploads/2009/05/slider_setup_4.gif" alt="slider_setup_4" width="550" height="336" /></p>
<ul>
<li><strong>Post/page Highlight ID&#8217;s:</strong> enter id&#8217;s of all posts and pages you want to display in slider (comma separated)</li>
<li><strong>Highlight overlay color: </strong> <span class="setting-description">enter </span>hexadecimal color code for <span class="setting-description">overlay panel<br />
</span></li>
<li><strong>Highlight opacity:</strong> enter value from <strong>0.1 &#8211; 1</strong> to show opacity of overlay panel (0.1 = 10% opacity)</li>
<li><strong>Highlight animation:</strong> choose Filmstrip animation</li>
<li><strong>Filmstrip thumbnail width:</strong> enter width of little thumbnail image (in pixels)</li>
<li><strong>Filmstrip thumbnail height:</strong> enter heightof little thumbnail image (in pixels)</li>
<li><strong>Filmstrip thumbnail count:</strong> enter how many thumbnails should be seen in filmstrip navigation</li>
</ul>
<h3>Conclusion</h3>
<p>If you follow these steps everything should work perfectly. <strong><br />
Do not forget <a href="#step1">Step one</a>. </strong>If you don&#8217;t create &#8220;cache&#8221; folder this theme will not work properly.</p>


<p>Related posts:<ol><li><a href='http://mipdesign.com/2009/04/08/fancy-theme-v20/' rel='bookmark' title='Permanent Link: Fancy Theme v2.0'>Fancy Theme v2.0</a> <small>This is first update for my latest wordpress theme and...</small></li><li><a href='http://mipdesign.com/2009/10/28/inspiredblog-how-to-implement-filmstrip-navigation-from-fancytheme/' rel='bookmark' title='Permanent Link: Inspiredblog: How to implement filmstrip navigation from FancyTheme'>Inspiredblog: How to implement filmstrip navigation from FancyTheme</a> <small>&#8220;I would really appreciate your suggestion of a tutorial, how...</small></li><li><a href='http://mipdesign.com/our-themes/wordpress-templates/fancy-theme/' rel='bookmark' title='Permanent Link: Fancy Theme'>Fancy Theme</a> <small>A powerful WordPress theme special for online blogging and business/personal...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://mipdesign.com/2009/05/09/fancy-theme-how-to-set-up-feature-post-slider/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Retro TUT: Update on rounded corners</title>
		<link>http://mipdesign.com/2009/03/20/retro-tut-part-iv/</link>
		<comments>http://mipdesign.com/2009/03/20/retro-tut-part-iv/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 14:03:43 +0000</pubDate>
		<dc:creator>Mip</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Site templates]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://mipdesign.com/?p=311</guid>
		<description><![CDATA[In my first Retro theme tutorial I covered &#8220;How to position the navigation menu below the header image&#8220;. The result of this tutorial was not perfect. Header image was without [...]


Related posts:<ol><li><a href='http://mipdesign.com/2009/02/10/retro-theme-tutorials-part-i/' rel='bookmark' title='Permanent Link: Retro theme tutorials (part I): How to position the navigation menu below the header image?'>Retro theme tutorials (part I): How to position the navigation menu below the header image?</a> <small>TealGray Retro Theme is our most succesfull wordpress template so...</small></li><li><a href='http://mipdesign.com/2009/10/28/inspiredblog-how-to-implement-filmstrip-navigation-from-fancytheme/' rel='bookmark' title='Permanent Link: Inspiredblog: How to implement filmstrip navigation from FancyTheme'>Inspiredblog: How to implement filmstrip navigation from FancyTheme</a> <small>&#8220;I would really appreciate your suggestion of a tutorial, how...</small></li><li><a href='http://mipdesign.com/2009/10/13/inspiredblog-how-to-set-up-a-simple-contact-form-using-cf-7/' rel='bookmark' title='Permanent Link: Inspiredblog: How to set up a simple contact form using Contact Form 7 plugin'>Inspiredblog: How to set up a simple contact form using Contact Form 7 plugin</a> <small>Most of us, are using some kind of wordpress plug-ins...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>In my <a href="/2009/02/10/retro-theme-tutorials-part-i"><strong>first Retro theme tutorial</strong></a> I covered &#8220;<em>How to position the navigation menu below the header image</em>&#8220;. The result of this tutorial was not perfect. Header image was without rounded corners on top. So, I left you to play with it.</p>
<h3>Let&#8217;s finish the job</h3>
<p>Open &#8216;<strong>index.php</strong>&#8216; file and on top you will see:</p>
<pre name="code" class="html">

...
&lt;div id=&quot;page-content&quot; class=&quot;clearfix&quot;&gt;
&lt;?php include (&#039;headimage.php&#039;); ?&gt;
...
</pre>
<p><strong>Replace the lines</strong> so the code looks like this:</p>
<pre name="code" class="html">

...
&lt;?php include (&#039;headimage.php&#039;); ?&gt;
&lt;div id=&quot;page-content&quot; class=&quot;clearfix&quot;&gt;
...
</pre>
<p>Now, repeat this step for pages: &#8216;<strong>single.php</strong>&#8216;, &#8216;<strong>page.php</strong>&#8216; and &#8216;<strong>search.php</strong>&#8216;.</p>
<h3>Add a little style</h3>
<p>Replace styles in &#8220;<strong>style.css</strong>&#8221; file with:</p>
<pre name="code" class="css">

#page-navigation
{
background: url(&quot;images/bg_page_content.png&quot;) repeat-y 0% 0%;
padding: 0px 0px 0px 20px;
}

#content-head
{
background: url(&quot;images/bg_page_navigation.png&quot;) no-repeat 0% 0%;
padding: 20px 10px 0px 10px;
height: 240px; /* insert height of your pictures */
}
</pre>
<h3>Finally</h3>
<p>The origibal &#8216;bg_page_navigation.png&#8217; file was only <em>60px </em>in height which is insufficient for our task. So, you have to replace it with a new one.</p>
<p><a class="zip" href="/wp-content/uploads/2009/03/bg_page_navigation.zip" target="_self">Download new  &#8216;bg_page_navigation.png&#8217; file</a></p>


<p>Related posts:<ol><li><a href='http://mipdesign.com/2009/02/10/retro-theme-tutorials-part-i/' rel='bookmark' title='Permanent Link: Retro theme tutorials (part I): How to position the navigation menu below the header image?'>Retro theme tutorials (part I): How to position the navigation menu below the header image?</a> <small>TealGray Retro Theme is our most succesfull wordpress template so...</small></li><li><a href='http://mipdesign.com/2009/10/28/inspiredblog-how-to-implement-filmstrip-navigation-from-fancytheme/' rel='bookmark' title='Permanent Link: Inspiredblog: How to implement filmstrip navigation from FancyTheme'>Inspiredblog: How to implement filmstrip navigation from FancyTheme</a> <small>&#8220;I would really appreciate your suggestion of a tutorial, how...</small></li><li><a href='http://mipdesign.com/2009/10/13/inspiredblog-how-to-set-up-a-simple-contact-form-using-cf-7/' rel='bookmark' title='Permanent Link: Inspiredblog: How to set up a simple contact form using Contact Form 7 plugin'>Inspiredblog: How to set up a simple contact form using Contact Form 7 plugin</a> <small>Most of us, are using some kind of wordpress plug-ins...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://mipdesign.com/2009/03/20/retro-tut-part-iv/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Retro theme tutorials (part III): How to create a proper portfolio page</title>
		<link>http://mipdesign.com/2009/03/01/retro-theme-tutorials-part-iii/</link>
		<comments>http://mipdesign.com/2009/03/01/retro-theme-tutorials-part-iii/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 14:17:20 +0000</pubDate>
		<dc:creator>Mip</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WP templates]]></category>

		<guid isPermaLink="false">http://mipdesign.com/?p=184</guid>
		<description><![CDATA[I noticed that a couple of you have a problem with creating portfolio page without sidebar and project overview with slideshow gallery. I want to thank mdusing for showing so [...]


Related posts:<ol><li><a href='http://mipdesign.com/2009/05/03/retro-theme-v30/' rel='bookmark' title='Permanent Link: Retro Theme v3.0'>Retro Theme v3.0</a> <small>For the last two months I summarized all your wishes...</small></li><li><a href='http://mipdesign.com/2009/06/14/a-classy-theme-first-preview/' rel='bookmark' title='Permanent Link: A Classy Theme (first preview)'>A Classy Theme (first preview)</a> <small>I just finished new wordpress theme called "A Classy Theme"....</small></li><li><a href='http://mipdesign.com/our-themes/wordpress-templates/a-classy-theme/' rel='bookmark' title='Permanent Link: A Classy Theme'>A Classy Theme</a> <small>A great and classy WordPress theme special for web portals,...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I noticed that a couple of you have a problem with creating portfolio page without sidebar and project overview with slideshow gallery. I want to thank <strong>mdusing </strong>for showing so much interest in this theme and giving me a couple new ideas for my tutorials.</p>
<h3>Step 1: Preparing the layout</h3>
<p>First, let&#8217;s create a new page and enter data for page title (&#8220;My portfolio&#8221;) and page content (page description).<br />
Now, we insert a custom field:</p>
<ul>
<li> name:<strong> template</strong></li>
<li>value:<strong> &#8220;wide&#8221;</strong></li>
</ul>
<p><img src="http://mipdesign.com/wp-content/uploads/2009/03/retro_tut_3_0.jpg" alt="retro_tut_3_0" width="520" height="300" /></p>
<p>This will remove sidebar from content layout and give more content space. <strong>Update your post</strong>.</p>
<h3>Step 2: Add project to your layout</h3>
<p>Let us add projects to prepared layout. Create new page, enter project title, description and place it under &#8220;My Portfolio&#8221; page.<br />
Now, we insert <strong>first custom field</strong> that will say this is a project page and replace standard sidebar with portfolio navigation:</p>
<ul>
<li> name:<strong> template</strong></li>
<li>value:<strong> &#8220;project-view&#8221;</strong></li>
</ul>
<p><img src="http://mipdesign.com/wp-content/uploads/2009/03/retro_tut_3_1.jpg" alt="retro_tut_3_1" width="520" height="103" /></p>
<p>Our <strong>second custom field</strong> will add a thumbnail to portfolio page:</p>
<ul>
<li> name:<strong> thumb</strong></li>
<li>value:<strong> html image tag </strong>(enter your own image source)<strong><br />
</strong></li>
</ul>
<p><img src="http://mipdesign.com/wp-content/uploads/2009/03/retro_tut_3_2.jpg" alt="retro_tut_3_2" width="520" height="103" /></p>
<p><strong>Third custom field</strong> add a short description on portfolio page and in portfolio navigation on project page:</p>
<ul>
<li> name:<strong> clean-desc</strong></li>
<li>value:<strong> short project description </strong>(enter your project description)</li>
</ul>
<p><img src="http://mipdesign.com/wp-content/uploads/2009/03/retro_tut_3_3.jpg" alt="retro_tut_3_3" width="520" height="103" /></p>
<p>And finally, <strong>fourth custom field</strong> adds image slideshow on top of project page:</p>
<ul>
<li> name:<strong> gallery</strong></li>
<li>value:<strong> </strong><strong>html image tags </strong>(enter your own image sources)<strong><br />
</strong></li>
</ul>
<p><img src="http://mipdesign.com/wp-content/uploads/2009/03/retro_tut_3_4.jpg" alt="retro_tut_3_4" width="520" height="103" /></p>
<p><strong>Do not forget</strong> to add a css class &#8220;thumb&#8221; to gallery images.</p>


<p>Related posts:<ol><li><a href='http://mipdesign.com/2009/05/03/retro-theme-v30/' rel='bookmark' title='Permanent Link: Retro Theme v3.0'>Retro Theme v3.0</a> <small>For the last two months I summarized all your wishes...</small></li><li><a href='http://mipdesign.com/2009/06/14/a-classy-theme-first-preview/' rel='bookmark' title='Permanent Link: A Classy Theme (first preview)'>A Classy Theme (first preview)</a> <small>I just finished new wordpress theme called "A Classy Theme"....</small></li><li><a href='http://mipdesign.com/our-themes/wordpress-templates/a-classy-theme/' rel='bookmark' title='Permanent Link: A Classy Theme'>A Classy Theme</a> <small>A great and classy WordPress theme special for web portals,...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://mipdesign.com/2009/03/01/retro-theme-tutorials-part-iii/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Retro theme tutorials (part II): How to replace the text main site name with a simple  PNG  file?</title>
		<link>http://mipdesign.com/2009/02/19/retro-theme-tutorials-part-ii/</link>
		<comments>http://mipdesign.com/2009/02/19/retro-theme-tutorials-part-ii/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 10:04:48 +0000</pubDate>
		<dc:creator>Mip</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WP templates]]></category>

		<guid isPermaLink="false">http://mipdesign.com/?p=108</guid>
		<description><![CDATA[After v2.0 update, this theme got a little &#8220;boost&#8221;. I get a lot of questions about modifying &#8220;particular&#8221; sections of theme layout, so this tutorials will answer one of those [...]


Related posts:<ol><li><a href='http://mipdesign.com/2009/02/10/retro-theme-tutorials-part-i/' rel='bookmark' title='Permanent Link: Retro theme tutorials (part I): How to position the navigation menu below the header image?'>Retro theme tutorials (part I): How to position the navigation menu below the header image?</a> <small>TealGray Retro Theme is our most succesfull wordpress template so...</small></li><li><a href='http://mipdesign.com/2009/10/13/inspiredblog-how-to-set-up-a-simple-contact-form-using-cf-7/' rel='bookmark' title='Permanent Link: Inspiredblog: How to set up a simple contact form using Contact Form 7 plugin'>Inspiredblog: How to set up a simple contact form using Contact Form 7 plugin</a> <small>Most of us, are using some kind of wordpress plug-ins...</small></li><li><a href='http://mipdesign.com/2009/11/14/changelog-%e2%80%93-fancytheme-v4-2/' rel='bookmark' title='Permanent Link: ChangeLog – FancyTheme v4.2'>ChangeLog – FancyTheme v4.2</a> <small>This update will fix most problems people have with Internet...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>After v2.0 update, this theme got a little &#8220;boost&#8221;. I get a lot of questions about modifying &#8220;particular&#8221; sections of theme layout, so this tutorials will answer one of those questions.</p>
<h3>How do I replace the text main site name with a simple  PNG  file?</h3>
<p>There are two ways to do this.  You can replace text with the png file or you can set png in background leaving the code intact and SEO friendly. I think this is a much better way then just replacing text with image.  Everything you need to do i to open &#8220;<strong>style.css</strong>&#8221; file and replace this section:</p>
<pre name="code" class="css">

#logo h1
{
font: normal 3.6em/125% Georgia, &quot;Times New Roman&quot;, Times, serif;
color: #f3efe9;
width: 400px;
float: left;
text-align: center;
padding: 15px 0px 0px 75px;
}

#logo h1 span
{
font: italic 0.4em Georgia, &quot;Times New Roman&quot;, Times, serif;
color: #d0d1c0;
display: block;
}
</pre>
<p>with this:</p>
<pre name="code" class="css">

#logo h1
{
display: block;
width: 400px;
height: 80px;
text-indent: -9999px;
float: left;
background: url(&quot;image_path/image_name.png&quot;) no-repeat 0% 0%;
padding: 0px;
}
</pre>
<p>I put some &#8220;dummy&#8221; values in this code, which should be replaced with your own. Enter your own <strong>width </strong>(image width), <strong>height </strong>(image height) and <strong>image </strong>itself (path and image name).</p>


<p>Related posts:<ol><li><a href='http://mipdesign.com/2009/02/10/retro-theme-tutorials-part-i/' rel='bookmark' title='Permanent Link: Retro theme tutorials (part I): How to position the navigation menu below the header image?'>Retro theme tutorials (part I): How to position the navigation menu below the header image?</a> <small>TealGray Retro Theme is our most succesfull wordpress template so...</small></li><li><a href='http://mipdesign.com/2009/10/13/inspiredblog-how-to-set-up-a-simple-contact-form-using-cf-7/' rel='bookmark' title='Permanent Link: Inspiredblog: How to set up a simple contact form using Contact Form 7 plugin'>Inspiredblog: How to set up a simple contact form using Contact Form 7 plugin</a> <small>Most of us, are using some kind of wordpress plug-ins...</small></li><li><a href='http://mipdesign.com/2009/11/14/changelog-%e2%80%93-fancytheme-v4-2/' rel='bookmark' title='Permanent Link: ChangeLog – FancyTheme v4.2'>ChangeLog – FancyTheme v4.2</a> <small>This update will fix most problems people have with Internet...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://mipdesign.com/2009/02/19/retro-theme-tutorials-part-ii/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Retro theme tutorials (part I): How to position the navigation menu below the header image?</title>
		<link>http://mipdesign.com/2009/02/10/retro-theme-tutorials-part-i/</link>
		<comments>http://mipdesign.com/2009/02/10/retro-theme-tutorials-part-i/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 15:13:54 +0000</pubDate>
		<dc:creator>Mip</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WP templates]]></category>

		<guid isPermaLink="false">http://mipdesign.com/?p=44</guid>
		<description><![CDATA[TealGray Retro Theme is our most succesfull wordpress template so far. We receive a lot of &#8220;how to&#8221; questions on daily basis and so we decided to create a little [...]


Related posts:<ol><li><a href='http://mipdesign.com/2009/10/28/inspiredblog-how-to-implement-filmstrip-navigation-from-fancytheme/' rel='bookmark' title='Permanent Link: Inspiredblog: How to implement filmstrip navigation from FancyTheme'>Inspiredblog: How to implement filmstrip navigation from FancyTheme</a> <small>&#8220;I would really appreciate your suggestion of a tutorial, how...</small></li><li><a href='http://mipdesign.com/2009/03/20/retro-tut-part-iv/' rel='bookmark' title='Permanent Link: Retro TUT: Update on rounded corners'>Retro TUT: Update on rounded corners</a> <small>In my first Retro theme tutorial I covered &#8220;How to...</small></li><li><a href='http://mipdesign.com/2009/11/14/changelog-%e2%80%93-fancytheme-v4-2/' rel='bookmark' title='Permanent Link: ChangeLog – FancyTheme v4.2'>ChangeLog – FancyTheme v4.2</a> <small>This update will fix most problems people have with Internet...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://mipdesign.com/our-themes/wordpress-templates/tealgray-retro-theme" target="_blank">TealGray Retro Theme</a> is our most succesfull wordpress template so far. We receive a lot of <strong>&#8220;how to&#8221;</strong> questions on daily basis and so we decided to create a little tutorials that will be updated based on your interest.</p>
<h3>How to position the navigation menu below the header image</h3>
<p>Start by <strong>opening &#8220;navigation.php&#8221;</strong> and <strong>&#8220;headimage.php&#8221;</strong> files.<br />
Find &#8220;page-navigation&#8221; tag in :&#8221;navigation.php&#8221; file</p>
<pre name="code" class="html">

&lt;div id=&quot;page-navigation&quot; class=&quot;clearfix&quot;&gt;
&lt;a href=&quot;&lt;?php bloginfo(&#039;rss_url&#039;); ?&gt;&quot; class=&quot;rss&quot; title=&quot;RSS Feed&quot;&gt;RSS Feed&lt;/a&gt;
&lt;ul id=&quot;nav&quot; class=&quot;sf-menu&quot;&gt;
&lt;li&lt;? echo (is_home())? &#039; class=&quot;current_page_item&quot;&#039; : &#039;&#039;; ?&gt;&gt;&lt;a href=&quot;&lt;?php echo get_option(&#039;home&#039;); ?&gt;/&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;?php wp_list_pages(&#039;title_li=&amp;amp;amp;amp;amp;amp;amp;amp;amp;depth=3&#039;); ?&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- end page-navigation --&gt;
</pre>
<p>and <strong>move </strong>it (line 01-07) to &#8220;headimage.php&#8221; file below &#8220;content-head&#8221; tag..</p>
<h4>Styling</h4>
<p>Finally, we have to customize the look of navigation menu. Page background, manu padding, crumbtrail padding, we have to make changes for our menu to fit in.<br />
<strong>Replace </strong>styles in &#8220;style.css&#8221; file with:</p>
<pre name="code" class="css">

#page-navigation
{
padding: 0px 0px 0px 20px;
}

#page-navigation .rss
{
background: url(&quot;images/icon_rss.png&quot;) no-repeat 0% 0%;
display: block;
float: left;
width: 48px;
height: 48px;
text-indent: -9999px;
margin: -15px 15px 0px 0px;
position: relative;
}

#breadcrumbs
{
padding: 8px 20px 8px 30px;
background-color: #c5c59f;
}

#content-head
{
background: url(&quot;images/bg_page_navigation.png&quot;) no-repeat 0% 0%;
height: 240px;
}
</pre>
<h4>Finally</h4>
<p>Well, this will position the navigation menu below header images but one more thing remains.<br />
Header image does not have rounded corners on top. I will leave it up to you to play with it.</p>
<h3>How to show authors details in posts</h3>
<p>A lot of blog sites have multiple authors who wants to be credited for their work. Let&#8217;s see how to add author details at the end of blog posts. First, <strong>open &#8220;single.php&#8221;</strong> file and <strong>add this code</strong> (line 03-06):</p>
<pre name="code" class="php">

&lt;?php the_content(); ?&gt;

&lt;div id=&quot;author&quot;&gt;
&lt;h4&gt;Author: &lt;?php the_author_firstname(); ?&gt; &lt;?php the_author_lastname(); ?&gt;&lt;/h4&gt;
&lt;p&gt;&lt;?php the_author_description(); ?&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;div id=&quot;post-indexing&quot;&gt;
</pre>
<p>Line 4 gives you authors first and last name, line 5 authors description. Check all <a href="http://codex.wordpress.org/Template_Tags#Author_tags" target="_blank"><strong>Wordpress Author Template Tags</strong></a> and decide what information you want to display on your blog.</p>


<p>Related posts:<ol><li><a href='http://mipdesign.com/2009/10/28/inspiredblog-how-to-implement-filmstrip-navigation-from-fancytheme/' rel='bookmark' title='Permanent Link: Inspiredblog: How to implement filmstrip navigation from FancyTheme'>Inspiredblog: How to implement filmstrip navigation from FancyTheme</a> <small>&#8220;I would really appreciate your suggestion of a tutorial, how...</small></li><li><a href='http://mipdesign.com/2009/03/20/retro-tut-part-iv/' rel='bookmark' title='Permanent Link: Retro TUT: Update on rounded corners'>Retro TUT: Update on rounded corners</a> <small>In my first Retro theme tutorial I covered &#8220;How to...</small></li><li><a href='http://mipdesign.com/2009/11/14/changelog-%e2%80%93-fancytheme-v4-2/' rel='bookmark' title='Permanent Link: ChangeLog – FancyTheme v4.2'>ChangeLog – FancyTheme v4.2</a> <small>This update will fix most problems people have with Internet...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://mipdesign.com/2009/02/10/retro-theme-tutorials-part-i/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
