<?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>Webdevtuts &#187; PSD</title>
	<atom:link href="http://www.webdevtuts.net/tag/psd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevtuts.net</link>
	<description>Making tutorials fun and easy!</description>
	<lastBuildDate>Mon, 23 Jan 2012 11:36:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Create a rocking blue print website layout in photoshop</title>
		<link>http://www.webdevtuts.net/photoshop/create-a-rocking-blue-print-web-layout/</link>
		<comments>http://www.webdevtuts.net/photoshop/create-a-rocking-blue-print-web-layout/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 22:05:01 +0000</pubDate>
		<dc:creator>Marcell Purham</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[blueprint]]></category>
		<category><![CDATA[photoshop web design]]></category>
		<category><![CDATA[photoshop web layout]]></category>
		<category><![CDATA[photoshop website design tutorial]]></category>
		<category><![CDATA[PSD]]></category>
		<category><![CDATA[psd to html]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web layout]]></category>
		<category><![CDATA[website design tutorial]]></category>

		<guid isPermaLink="false">http://www.webdevtuts.net/?p=689</guid>
		<description><![CDATA[I know there are many tutorials on how to design a layout but I want you to actually learn some different techniques to better your design skills. In this tutorial we will be creating a blue print style website layout. Enjoy <a href="http://www.webdevtuts.net/photoshop/create-a-rocking-blue-print-web-layout/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In this tutorial you will be learning some new design techniques and I will teach you how to create a professional looking mockup. This tutorial is mainly for people who&#8217;ve design websites in photoshop so if you&#8217;re a beginner I recommend that you check out some of our other tutorials to better help you understand things. If you think you can do it then give it a shot! Enjoy</p>
<div class="clear"></div>
<div class="block_dload">
<a class="dload" href="https://s3.amazonaws.com/webdevtuts/uploads/2009/07/downloads/blue-print.rar" title="Download" target="_blank">Download</a> <a class="demo" href="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/blue-print.jpg" title="demonstration" target="_blank">Final</a>
</div>
<p><strong>Resources:</strong><br />
<a href="http://www.officialpsds.com/images/stocks/Blueprint-stock3306.jpg" target="_blank">Blue Print Paper</a><br />
<a href="http://www.officialpsds.com/ruler-2-PSD33521.html" target="_blank">Black Ruler</a><br />
<a href="http://farm4.static.flickr.com/3039/3020554925_df6010f4b2.jpg" target="_blank">Graph paper</a></p>
<h2>Step 1</h2>
<p>Create new document 1280px x 1000px 72dpi. Background Color #152a5b(Dark blue)<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/1.new-document.jpg" alt="Create new document" /></p>
<h2>Step 2</h2>
<p>Now turn on your rulers and put the guides(Lines that help you keep things contained) at 0px and 960px. You might not be able to see the guides after you&#8217;ve place them into your design because they are on the starting and ending point of the canvas.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/guide-lines.jpg" alt="" /></p>
<h2>Step 3</h2>
<p>Next we will center our 960px design. Press <strong>CTRL + AlT + C</strong> for Windows and for Mac Press <strong>CTRL + CMD + C</strong>. You should now see a box that says Canvas size.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/3.canvasbox.jpg" alt="canvas box" /></p>
<p>Change the Canvas width to 1160px then select the left arrow and press ok.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/3-1.canvasleft.jpg" alt="push left" /></p>
<p>Now we&#8217;re going to repeat the first step and change the canvas size from 1160px to 1360px and select the right arrow then press ok.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/3-2.canvasright.jpg" alt="push right" /></p>
<p><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/3-3.canvasdone.jpg" alt="After" /></p>
<p><strong>Note:</strong> If your canvas has two different colors after you&#8217;ve added the extra 200px to both sides, just select the paint bucket tool and fill in the opposite color area so that everything matches.</p>
<h2>Step 4</h2>
<p>Now place the blue print paper inside your photoshop document then select the rounded paint brush tool with the blurred edges and brush around the image<strong>After I resized the image and blurred around it.</strong><br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/4.blurundgraph.jpg" alt="blur around image" /></p>
<p><strong>With the back ground layer turned back on</strong><br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/4.blurafterex.jpg" alt="image with blur" /></p>
<h2>Step 5</h2>
<p>Now insert your ruler image and re size it to your comfort.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/5.ruler.jpg" alt="Insert ruler" /></p>
<p>Select the type tool, <strong>color:#383838</strong> and type in the name blue print. Right click on the blue print layer&gt;&gt;blending options&gt;&gt;Inner Shadow.<br />
<strong>Blend Mode:</strong>multiply, <strong>Opacity:</strong>75%, <strong>Angle:</strong>-171, <strong>Distance:</strong>5px, and <strong>size </strong>5px.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/5-2.innershadow.jpg" alt="inner shadow settings" /></p>
<p>Now select the gradient check box. and copy settings below<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/5-3.gradsettings.jpg" alt="copy gradient settings" /></p>
<p>Double click on the gradient color box. <strong>Left Color:</strong>#000, <strong>Right Color:</strong>26272d.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/colorboth.jpg" alt="copy gradient color bar settings" /></p>
<p>Logo should now looks like it is engraved into the ruler.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/ex.pic1.jpg" alt="ex1" /></p>
<p>Now lets add a light above our logo so we can give it a bit of a shine. Select the paint brush tool with the blurred edges, <strong>size:</strong>500px then press the brush tool once over the logo and change the layer opacity to 45%.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/ex.pic2.jpg" alt="expic2" /></p>
<h2>Step 6</h2>
<p>Select the rectangle tool, <strong>Color:#7a7a7a;</strong> and create a rectangle starting from the top ending at the bottom. Leave room between the logo and room so we can insert some footer text.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/6.container.jpg" alt="container bg" /></p>
<h2>Step 7</h2>
<p>Now lets add our graph paper. Insert your graph paper into photoshop then copy and duplicate the graph layer until you have a full covered graph.Leave 10 pixels space between the left, right, and bottom.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/7.graphpaper.jpg" alt="Full Graph" /></p>
<h2>Step 8</h2>
<p>Create a rectangle <strong>color:</strong>#6b6a6a for your left column. Make it around 620px wide leaving 10 px on the left, right, top, and bottom.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/8.rectanglegrey.jpg" alt="Rectangle box" /></p>
<h2>Step 9</h2>
<p>Now lets create our post area. Find or create an image <strong>Width:</strong>206px x <strong>Height:</strong>181px.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/9.postimg.jpg" alt="Post image" /></p>
<p>Select the type tool <strong>Font:</strong>Arial, Bold, <strong>Size:</strong>20px, <strong>Color:</strong>#383838, and type in some realistic headings.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/9-2.postheading.jpg" alt="Type in heading" /></p>
<p>Resize your graph paper so that it&#8217;s able to fit the post information inside it. Then add in some post text <strong>font:</strong>arial, <strong>size:</strong>12px, <strong>color:</strong>#383838. <strong>Ex:</strong><em>Posted in Blog, on 12.06.2009 by Marcell</em><br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/9-3.postinfo.jpg" alt="post information" /></p>
<p>Now lets create an excerpt. You can use dummy text for the excerpt if you would like. You can find dummy text by searching <strong>lorem ispum</strong>.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/9-4.postcerpt.jpg" alt="excerpt" /></p>
<p>We will now add a read more button. Select the rectangle tool <strong>Color:</strong>#7d7b7b, and create a box at the bottom right edge of the post. Then select the type tool and type <em>read more</em>.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/9-5.postreadbox.jpg" alt="read more button" /></p>
<p>Finally we&#8217;re going to add a 1px solid line so that we can keep our posts divided. Select the <strong>line tool</strong>(In same panel as rectangle tool) then create a 1px solid line <strong>Color:</strong>#838080. (<em>Look at the top at the panel after you&#8217;ve selected the line tool and change <strong>Weight</strong>) to 1px</em>)<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/9-6.postline.jpg" alt="1px solid line" /></p>
<p>Duplicate the post area 4 times. You can use the same image but It looks more realistic when you use different images.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/9-7.postduplicate.jpg" alt="duplicate post" /></p>
<h2>Step 10</h2>
<p>Now that out post area is completed we will now work on our sidebar area. Select the rectangle tool <strong>color:</strong>#383838 and create a rectangle box for our sidebar/widget heading. Then select the type tool <strong>font:</strong>arial, bold <strong>size:</strong>20px, then type <em>Subscribe</em>.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/10.sidehead.jpg" alt="heading" /></p>
<p>Next we will add some icons to our mockup. Here is a free set of <a>icons</a> that you can use for this tutorial. Add four icons to the design.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/10-2.sideiconhead.jpg" alt="icons" /></p>
<h2>Step 11</h2>
<p>Duplicate the widget/sidebar heading and title then change the title name to <em>Sponsors</em> and add in 4 advertiments, 125px x 125px<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/11.sideads.jpg" alt="adverts" /></p>
<h2>Step 12</h2>
<p>Duplicate the widget/sidebar heading and title then change the title name to <em>Popular Post</em>.  Then create 5 realistic or dummy post titles. Leave room on the left so we can add in some arrows later.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/12.sidepop.jpg" alt="widget/post titles" /></p>
<p>Now go to the custom shapes panel and select an arrow. I used the arrow selected below.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/12.sidearrow1.jpg" alt="" /></p>
<p>Change your <strong>foreground color:</strong> to #838080, then draw an arrow next to the sidebar text. Duplicate the arrows 4 times.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/12.sidearrow2.jpg" alt="arrow example" /></p>
<h2>Step 13</h2>
<p>Let&#8217;s create a navigation menu for our design. Create a new document <strong>Width:</strong>936px, x <strong>Height:</strong>74px then drag the graph paper into the new document and crop it. After you&#8217;ve cropped the image drag it back into our design layout<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/13.graphmenu.jpg" alt="graph menu" /></p>
<p>Now lets add out navigation links. Select the type tool <strong>font:</strong>arial, bold <strong>size:</strong>20px, <strong>Color:</strong>#383838, the type in the nav links.<br />
<strong>Ex</strong> <em>HOME   |   BLOG   |   DESIGN   |   TUTORIALS   |   FREEBIES   |   SUBMIT</em><br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/13-2.graphmenulinks.jpg" alt="graph menu links" /></p>
<h2>Step 14</h2>
<p>Now we will create a search form for our design. Select the rectangle tool <strong>Color:</strong>#383838 then create 2 rectangle boxes, 1 for the search form and the 2nd<br />
one for our search button.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/14.search-bg.jpg" alt="search button/form" /></p>
<h2>Step 15</h2>
<p>Select the type tool and type in <em>search</em> for the search form. For the search form button type <em>Submit</em> <strong>color:</strong>.#7a7a7a, <strong>Size:</strong>10px; Now add a search icon glass or image to the top left of the search form. I used an icon from the preset panel in photoshop.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/15.searchinfo.jpg" alt="search button" /></p>
<h2>Step 16</h2>
<p>For our last and final step we will add two things, a page navigation and some footer text. We will create and older entries nav link right under our post area. Select the type tool <strong>font:</strong>arial, <strong>size:</strong>12px, <strong>Color:</strong>#fff then type<em>Older entries</em>. Now we will create the footer text. Select the type tool <strong>font:</strong>arial, bold <strong>size:</strong>12px, <strong>Color:</strong>#6b6a6a<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/16.navfooter.jpg" alt="nav link and footer" /></p>
<p>You&#8217;re now done! Your final image should look like this, <b>Click to Enlarge</b></p>
<p><a href="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/blue-print.jpg"><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/blueprint/blue-print.jpg" alt="final" width="548" height="364" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevtuts.net/photoshop/create-a-rocking-blue-print-web-layout/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PSD to WordPress Series Part 3: Final Tutorial</title>
		<link>http://www.webdevtuts.net/wordpress/psd-to-wordpress-series-part-3-final-tutorial/</link>
		<comments>http://www.webdevtuts.net/wordpress/psd-to-wordpress-series-part-3-final-tutorial/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 22:19:57 +0000</pubDate>
		<dc:creator>Marcell Purham</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[html to wordpress]]></category>
		<category><![CDATA[part 3]]></category>
		<category><![CDATA[photoshop to wordpress]]></category>
		<category><![CDATA[PSD]]></category>
		<category><![CDATA[psd to wordpress]]></category>
		<category><![CDATA[psd to wordpress part 3]]></category>
		<category><![CDATA[psd to wordpress tutorial]]></category>
		<category><![CDATA[series]]></category>
		<category><![CDATA[theme conversion tutorial]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[website tutorial]]></category>
		<category><![CDATA[wordpress theme development tutorial]]></category>

		<guid isPermaLink="false">http://www.webdevtuts.net/?p=635</guid>
		<description><![CDATA[I know there are many developers and normal people who want to know how to design a wordpress theme from scratch. Well today is your lucky day. In this series, PSD to Wordpress we will design a Mockup in Photoshop, then code it for wordpress.(part3) <a href="http://www.webdevtuts.net/wordpress/psd-to-wordpress-series-part-3-final-tutorial/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I know there are many developers and normal people who want to know how to design a wordpress theme from scratch. Well today is your lucky day. In this series, PSD to WordPress we will design a Mockup in Photoshop, then code it for wordpress.(part3)</p>
<div class="clear"></div>
<div class="block_dload">
<a class="dload" href="https://s3.amazonaws.com/webdevtuts/uploads/2009/07/downloads/PSD TO WORDPRESS-Theme.rar" title="Download" target="_blank">Download</a>
</div>
<p>Ok Were finally on the last step on how to transform a photoshop mockup into a working wordpress theme. For this tutorial you will need</p>
<p>1.<a href="http://elliotjaystocks.com/blog/free-starkers-wordpress-theme/"><strong>Stalker Naked WordPress theme!</strong>-By Elliot Jay Stocks </a><br />
2. Local Server to run wordpress <a href="http://www.apachefriends.org/en/xampp.html"><strong>xxamp</strong></a><br />
3. The html file from<a href="http://www.webdevtuts.net/wordpress/psd-to-wordpress-series-part-2/"><strong>PSD to wordpress part 2</strong></a></p>
<p>Ok so now we will begin the final part to PSD to WordPress series. You should now have the stalkers wordpress downloaded and ready to use. Also before we begin make sure you have xxamp or a local server up and running so you can see changes we make to our wordpress theme.</p>
<p>Open up your primary code editor. I will used dreamweaver for this tutorial. If you do not have dreamweaver then you can download the free trial or use a free code editor like<br />
<a href="http://download.cnet.com/Notepad/3000-2352_4-10327521.html">notepad++</a> for windows and for <a href="http://www.activestate.com/komodo_edit/downloads/">Komondo</a> for mac</p>
<p>Now inside the stalker folder you should have 15 PHP files but we will only use 7 of them. The reason we will only use 7 because most of the steps we will cover today can be used on other pages. So after this tutorial you should have and idea or clear vision on what to do for the other wordpress pages.</p>
<p><strong>Note:</strong> You do not have to delete the ones we do not use</p>
<p>The files we will use/need for this tutorial are</p>
<ul>
<li>archive.php</li>
<li>footer.php</li>
<li>header.php</li>
<li>index.php</li>
<li>page.php</li>
<li>sidebar.php</li>
<li>single.php</li>
</ul>
<p><strong>archive.php</strong> &#8211; The page that shows after you&#8217;ve click on a category name<br />
<strong>header.php</strong> &#8211; for all JavaScript or Stylesheet imports<br />
<strong>index.php</strong> Main/Home page<br />
<strong>page.php</strong> Single page<br />
<strong>sidebar.php</strong> sidebar<br />
<strong>single.php</strong> after you click on a post its takes you to the single.php page</p>
<p>Since we&#8217;ve already coded the theme into xhtml/css we will just be copying and pasting a lot of things and changing some of our HTML markup into php functions.</p>
<h2>Step 1</h2>
<p>First thing is first. copy your entire <strong>style.css</strong> to your wordpress style.css</p>
<p><strong>Note:</strong> Copy everything after <strong>Code start</strong>. Everything above that is the css reset and has to go into another style sheet<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/1.copystyle.jpg" alt="copy style" /></p>
<h2>Step 2</h2>
<p>Now lets place the css reset code into the right file. Click on the <strong>Style&gt;&gt;Css&gt;&gt;Reset</strong>.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/2.stylefolder.jpg" alt="delete reset wordpress" /></p>
<p>Delete everything in the reset file.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/3.resetcodeb4.jpg" alt="reset before" /></p>
<p>Now copy everything above <strong>code starts</strong> and place it into the wordpress reset file then save it.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/3.resetcodeafter.jpg" alt="reset after" /></p>
<p>You should have something like this so far<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/preview.jpg" alt="preview" /></p>
<h2>Step 3</h2>
<p>Now that our css and reset files is taken care of its time to get the ball rolling and get our wordpress theme looking good. Open up your index.html file <em>(From part2 psd wordpress series)</em> and <strong>header.php</strong> file. Copy the highlighted code into your header.php file.</p>
<p><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/copyheader.jpg" alt="copy code" /></p>
<pre class="brush:php">
&lt;div id=&quot;header&quot;&gt;

&lt;div id=&quot;main_nav&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.webdevtuts.net&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;?php wp_list_categories('title_li='); ?&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!--end main_nav--&gt;

&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;

&lt;div id=&quot;logo&quot;&gt;&lt;/div&gt;&lt;!--end logo--&gt;

&lt;/div&gt;&lt;!--end header--&gt;

&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;

&lt;div id=&quot;Container&quot;&gt;<!--formatted-->
</pre>
<h2>Step 4</h2>
<p>Now open your <strong>index.php</strong> file.</p>
<p>First thing you should do is add</p>
<div id="main_col">right below the header tag then close it right above the sidebar tag.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/wrapmaincol.jpg" alt="add wrap" /></p>
<p>This code below is our post section. We will substitute some XHTML markup into wordpress php functions</p>
<p><strong>Below is the entire section for the post area (Just the normal HTML)</strong><br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/normalhtml.jpg" alt="normal html" /></p>
<p><strong>Below is the wordpress markup that we will be using</strong><br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/wordpresshtml.jpg" alt="Wordpress html" /></p>
<p>Copy the code below into your index.php</p>
<pre class="brush:css">
&lt;div class=&quot;post_break&quot;&gt;
&lt;div id=&quot;post_thumb&quot;&gt;&lt;img src=&quot;&lt;?php echo get_post_meta($post-&gt;ID, 'Thumbnail',true) ?&gt;&quot; alt=&quot;Post Image&quot; id=&quot;postbreakimg&quot; /&gt;&lt;/div&gt;
&lt;h2&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div id=&quot;post_info&quot;&gt;&lt;p&gt;Posted in &lt;?php the_category(', ') ?&gt; &lt;?php the_time('F jS, Y') ?&gt; by &lt;?php the_author_posts_link(); ?&gt;&lt;/p&gt;&lt;/div&gt;
&lt;div id=&quot;post_text&quot;&gt;&lt;?php the_excerpt('Read the rest of this entry &amp;raquo;'); ?&gt;&lt;/div&gt;
&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&quot; class=&quot;post_more&quot;&gt;Read More&lt;/a&gt;
&lt;/div&gt;&lt;!--end post break--&gt;

&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
</pre>
<p><strong>Note:</strong> Below is information to help you better understand what I did and what changes I made.</p>
<p>So I will start off with the <strong>div class=&#8221;Post_break&#8221;</strong>. I used <strong>div class</strong> because there are multiple post, and when you have multiple things using the same styling then it is good to use class instead of id, plus it will keep your code valid.</p>
<p>For the image I kept the <strong>div id=&#8221;post_thumb</strong> but I changed the inside to</p>
<pre class="brush:php">&lt;img src=&quot;&lt;?php echo get_post_meta($post-&gt;ID, 'Thumbnail',true) ?&gt;&quot; alt=&quot;Post Image&quot; id=&quot;postbreakimg&quot; /&gt;
</pre>
<p>The code above tells wordpress to grab the thumbnail image. Whenever you would create a new post you would insert the word Thumbnail into your custom fields and link to the direct image and there is where your image will appear.</p>
<p>For the second level heading(H2) I change the inside of the h2 tags to</p>
<pre class="brush:php">&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;<!--formatted--></code>
</pre>
<p>For the post info section I changed the inside of the div to</p>
<pre class="brush:php">
&lt;p&gt;Posted in &lt;?php the_category(', ') ?&gt; &lt;?php the_time('F jS, Y') ?&gt; by &lt;?php the_author_posts_link(); ?&gt;&lt;/p&gt;<!--formatted-->
</pre>
<p>The code above basically tells wordpress to find out what category the post was written for then the date of publish and finally the author name that has written that post.</p>
<p>For <strong>div id=&#8221;post_text&#8221;</strong> I&#8217;ve added</p>
<pre class="brush:php">
&lt;?php the_excerpt('Read the rest of this entry &amp;raquo;'); ?&gt;</code>
</pre>
<p>which tells wordpress to get the short description of the post instead of the entire post</p>
<p>For the read more link I&#8217;ve added</p>
<pre class="brush:css">
&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&quot; class=&quot;post_more&quot;&gt;Read More&lt;/a&gt;
</pre>
<p>which tells wordpress that you would like to read more and it will take you to the single page.</p>
<p>Finally I ended the post section then cleared the floats.</p>
<p>The index.php page is finally completed in here is what your page should like.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/preview2.jpg" alt="preview 2" /></p>
<h2>Step 5</h2>
<p>Now that our <strong>header.php, index.php</strong> are completed we will now work on our <strong>sidebar.php</strong> page. Open your sidebar.php page.</p>
<p><strong>Note:</strong> remember that most of the divs and markup codes are codes/tags I grab are from the original <strong>index.html</strong> file</p>
<p>Scroll down the index.html page until you see the sidebar tag. Copy <strong>div id=&#8221;sidebar&#8221;</strong> into your <strong>sidebar.php</strong> file. Add the code right below the php header tag<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/sidebar5.jpg" alt="sidebar example" /></p>
<p>Now lets add our advertisement 125&#215;125 into our wordpress layout.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/sidebarhelp.jpg" alt="sidebar layout" /></p>
<p>Copy the code below</p>
<pre class="brush:php">
&lt;h2&gt;Sponsors&lt;/h2&gt;
&lt;ul id=&quot;adverts&quot;&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/ad125.jpg&quot; alt=&quot;125x125 banner ad&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/ad125.jpg&quot; alt=&quot;125x125 banner ad&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/ad125.jpg&quot; alt=&quot;125x125 banner ad&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/ad125.jpg&quot; alt=&quot;125x125 banner ad&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;!--adverts--&gt;

&lt;a class=&quot;side_more&quot; href=&quot;&quot;&gt;Advertise here&lt;/a&gt;

&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
</pre>
<p><strong>Note:</strong> Below is information to help you better understand what I did and what changes I made.</p>
<p>In the normal HTML I just linked the images to the image folder but with wordpress you have to use a custom php function which calls the images.</p>
<p>Now lets add the Flickr images to our theme. Copy the code below</p>
<pre class="brush:css">
&lt;h2&gt;Flickr&lt;/h2&gt;
&lt;ul id=&quot;flickr&quot;&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;!--end flickr--&gt;
</pre>
<p>The code above does the same thing as the ads. WordPress calls for the images. If you wanted to turn these images into live working images from your flickr account then the best thing to do is use a wordpress plugin.</p>
<p>You should now have something like this<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/preview3.jpg" alt="preview3" /></p>
<h2>Step 6</h2>
<p>Now that are <strong>header.php, index.php,</strong> and <strong>sidebar.php</strong> are completed it is time to complete our single.php page. The single.php is very simple to complete.</p>
<p>All we have to do is add the main col tag after the header tag(Very first tag at the top) then delete this tag</p>
<pre class="brush:css">
&lt;?php previous_post_link('&amp;laquo; %link') ?&gt; | &lt;?php next_post_link('%link &amp;raquo;') ?&gt;
</pre>
<p><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/step6topcode.jpg" alt="Code explanation" /></p>
<p>Finally lets add this code after the end tag of main col<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/step6btmcode.jpg" alt="bottom code" /></p>
<pre class="brush:css">
&lt;?php get_sidebar(); ?&gt;
</pre>
<p>Your single page should now look like this<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/preview4.jpg" alt="preview 4" /></p>
<h2>Step 7</h2>
<p>Open your <strong>archive.php</strong>. For our archive page we will just be adding the main col tags and using the post code from index.php. Hope that made sense!<br />
Below is the archive page <strong>untouched!</strong><br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/archiveb4.jpg" alt="archive" /></p>
<p>Add the <strong>div id=&#8221;main_col&#8221;</strong> to the top of your <strong>archive.php</strong> page and place it right under the get header function. Then replace the post area code<br />
with the post area code from your <strong>index.php</strong> file. Do not forget to close the main col div.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/archivephptop.jpg" alt="Archive Top" /></p>
<p>Here is an example of what your <strong>archive.php</strong> should actually look like.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/archive-example.jpg" alt="archive example" /></p>
<h2>step 8</h2>
<p>Now we will work on the footer page Open your footer.php and copy the footer tag from the <strong>index.html</strong> into your footer.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/09/part3/setp8footer.jpg" alt="footer tag" /></p>
<p>CONGRATULATION! You are now finish and should have your first wordpress theme completed. I did not go over some of the pages because what you&#8217;ve learn from this tutorial can be applied to other pages in wordpress. If you would like for me to create a screencast for part 3 please leave a comment letting me know and will create a screen cast for part 3. Hard work was put into this series and I truly hope it helped you beginners out there understand wordpress better. I did not go over the <strong>comment.php</strong> page but you can check this <a href="http://www.darrenhoyt.com/2007/08/18/styling-your-wordpress-comments/">article</a> from Darren Hoyt and it will teach you all about the comment.php page. Thanks for following this tutorial, if you have any question leave a comment and I will respond asap.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevtuts.net/wordpress/psd-to-wordpress-series-part-3-final-tutorial/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>PSD to WordPress Series Part 2</title>
		<link>http://www.webdevtuts.net/wordpress/psd-to-wordpress-series-part-2/</link>
		<comments>http://www.webdevtuts.net/wordpress/psd-to-wordpress-series-part-2/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 02:49:13 +0000</pubDate>
		<dc:creator>Marcell Purham</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[html to wordpress]]></category>
		<category><![CDATA[part2]]></category>
		<category><![CDATA[photoshop to wordpress]]></category>
		<category><![CDATA[PSD]]></category>
		<category><![CDATA[psd to wordpress part 2]]></category>
		<category><![CDATA[psd to wp]]></category>
		<category><![CDATA[series]]></category>
		<category><![CDATA[wordpress theme development]]></category>
		<category><![CDATA[wordpress theme development tutorial]]></category>
		<category><![CDATA[wordpress theme tutorial]]></category>

		<guid isPermaLink="false">http://www.webdevtuts.net/?p=304</guid>
		<description><![CDATA[I know there are many developers and normal people who want to know how to design a Wordpress theme from scratch. Well today is your lucky day. In this series, PSD to Wordpress we will design a Mockup in Photoshop, then code it for Wordpress.(part2) <a href="http://www.webdevtuts.net/wordpress/psd-to-wordpress-series-part-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I know there are many developers and normal people who want to know how to design a wordpress theme from scratch. Well today is your lucky day. In this series, PSD to WordPress we will design a Mockup in Photoshop, then code it for wordpress. If everyone likes this tutorial then we will also do a theme option for it. So let&#8217;s get this thing started.</p>
<div class="block_dload">
<a class="dload" href="https://s3.amazonaws.com/webdevtuts/uploads/2009/07/downloads/psdtowordpresspt2.rar" title="Download" target="_blank">Download</a> <a class="demo" href="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/final-preview.jpg" title="demonstration" target="_blank">Final</a>
</div>
<p>Welcome to part 2 of PSD to WordPress Series. In this part of the tutorial we&#8217;re going to slice and code our theme for valid Xhtml/css.</p>
<p><b>Note:</b> I do not slice my layouts because I end up having so many unused images so in this tutorial we&#8217;re going to crop everything. Also When you have a cropped image I will not go over how to save.</p>
<h2>Step 1</h2>
<p>Open Photoshop (Continue where we left of from previous tutorial)</p>
<h2>Step 2</h2>
<p>Select the crop tool<br />
<img class="aligncenter" class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/2.slicetool.jpg" alt="crop tool" /></p>
<h2>Step 3</h2>
<p>First thing we&#8217;re going to crop will be the header top. ( Press enter key when you feel you have the appropriate crop. ) Save as body-bg.jpg</p>
<p><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/3.headertop.jpg" alt="crop header top" /></p>
<p><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/3.headertopper.jpg" alt="after crop" /></p>
<p><b>Note:</b> After you crop an image go to File&gt;&gt;Revert or press F12 to go back to last save point</p>
<h2>Step 4</h2>
<p>Now we will crop our logo. ( save as logo.jpg )<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/4croplogo.jpg" alt="crop logo" /></p>
<h2>Step 5</h2>
<p>To speed things up so we can get to coding this thing, I will go over the next 3 objects we will need to crop.</p>
<p>Post Thumbnail: Save as Post_thumb.jpg<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/cropthumb.jpg" alt="crop thumbnail" /></p>
<p>Sample ad 125&#215;125: Save as ad125.jpg<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/cropad.jpg" alt="125 ad" /></p>
<p>Flickr image: Save as flk_samp.jpg<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/cropflick.jpg" alt="flickr thumb" /></p>
<p>Now that we&#8217;ve finished cropping the images that well need for our layout, we can get to coding it.( Woooooooooooooo! )</p>
<p><b>Note:</b> Before we begin this tutorial Make sure you create a new folder so you can store files.</p>
<h2>Step 1</h2>
<p>Open dreamweaver ( Other text editors are fine! ) File&gt;&gt;New&gt;&gt;HTML&gt;none<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/1.new.jpg" alt="open dreamweaver" /></p>
<h2>Step 2</h2>
<p>We will first begin by creating our header section. Go ahead and copy &amp; paste it . I will explain it below.</p>
<pre class="brush:php">
&lt;div id=&quot;header&quot;&gt;
&lt;div id=&quot;main_nav&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;Articles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;Photoshop&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;Resources&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;Flash&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;Freebies&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!--end main_nav--&gt;

&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;

&lt;div id=&quot;logo&quot;&gt;&lt;/div&gt;&lt;!--end logo--&gt;

&lt;/div&gt;&lt;!--end header--&gt;

&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
</pre>
<h2>Step 3</h2>
<p>For the navigation I used an unordered list with links inside. Also we will take care of the logo and clear class when we begin styling our theme.</p>
<p><b>Note:</b> If you&#8217;re not familiar with that it is basically a push down for our theme. For example if you do not clear the floats the theme and everything will be completely disorder.</p>
<h2>Step 4</h2>
<p>Now we will begin adding the content. First we will create the page wrap to contain all of our content.</p>
<pre class="brush:php">
&lt;div id=&quot;Container&quot;&gt;

&lt;/div&gt;&lt;!--end container--&gt;
</pre>
<h2>Step 5</h2>
<p>Now we will create our main column which will hold all of our post, thumbnails and etc. The code below will go inside of the container tags.</p>
<pre class="brush:php">
&lt;div id=&quot;main_col&quot;&gt;

&lt;/div&gt;&lt;!--end main_col--&gt;
</pre>
<h2>Step 6</h2>
<p>Ok so we have our main_col wrap created, we can now start to add our post to our theme. div class=&#8221;post_break&#8221; holds our posts information. When working with divs id can not be repeated so we used a class so that we can repeat it and have valid code.</p>
<p>div id=&#8221;post_thumb&#8221; is our thumbnail for our </p>
<p>div id=&#8221;post_info&#8221; is what we will used to define the author and tags. </p>
<p>div id=&#8221;post_text&#8221; will be used for our wordpress excerpt.<br />
div id=&#8221;post_more&#8221; will be used to link our front page to the actual post. The will keep everything from overlapping and pushed the divs down. Now it&#8217;s time to Add the code below inside of the main_col div.</p>
<pre class="brush:php">
&lt;div class=&quot;post_break&quot;&gt;
&lt;div id=&quot;post_thumb&quot;&gt;&lt;img src=&quot;images/post_thumb.jpg&quot; alt=&quot;thumbnail&quot;/&gt;&lt;/div&gt;&lt;!--end post_thumb--&gt;
&lt;h2&gt;10 WordPress Theme You Probably Won&#039;t Forget&lt;/h2&gt;
&lt;div id=&quot;post_info&quot;&gt;&lt;p&gt;Posted in &lt;a href=&quot;&quot;&gt;Articles&lt;/a&gt;, by &lt;a href=&quot;&quot;&gt;Marcell&lt;/a&gt;, on May 5th | &lt;a href=&quot;&quot;&gt;19 comments&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!--end post_info--&gt;
&lt;div id=&quot;post_text&quot;&gt;
&lt;p&gt;
vitae mattis turpis nunc sed lectus. Integer vitae massa nisi, sed adipiscing enim. Etiam semper suscipit nunc, vel condimentum elit mollis ut. Duis scelerisque lacus quis dui sodales tincidunt. Nulla consectetur imperdiet eros vitae vestibulum.
&lt;/p&gt;
&lt;a href=&quot;&quot; class=&quot;post_more&quot;&gt;Read More&lt;/a&gt;
&lt;/div&gt;&lt;!--end post_text--&gt;
&lt;/div&gt;&lt;!--end post_break--&gt;

&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
</pre>
<p><b>Note:</b> Copy and paste the code above 4 times.</p>
<h2>Step 7</h2>
<p>Now it&#8217;s time to create our sidebar. For the sidebar I used an unordered list for advertising since most people want to run ads on their blog. Copy &#038; paste the code below inside of the main_col div.</p>
<pre class="brush:php">
&lt;div id=&quot;sidebar&quot;&gt;
&lt;h2&gt;Sponsors&lt;/h2&gt;
&lt;ul id=&quot;adverts&quot;&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;!--adverts--&gt;

&lt;a class=&quot;side_more&quot; href=&quot;&quot;&gt;Advertise here&lt;/a&gt;

&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;

&lt;h2&gt;Flickr&lt;/h2&gt;
&lt;ul id=&quot;flickr&quot;&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;!--end flickr--&gt;

&lt;/div&gt;&lt;!--end sidebar--&gt;
&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
</pre>
<h2>Step 8</h2>
<p>For the last html markup we will now add the footer</p>
<pre class="brush:php">
&lt;div id=&quot;footer&quot;&gt;
&lt;p&gt;Copyright 2009 Your Website.com All rights reserved&lt;/p&gt;
&lt;/div&gt;&lt;!--end footer--&gt;
</pre>
<h2>Step 9</h2>
<p>Here is the final HTML code.</p>
<pre class="brush:php">
&lt;div id=&quot;header&quot;&gt;
&lt;div id=&quot;main_nav&quot;&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a&gt;Home&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;Articles&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;Photoshop&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;Resources&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;Flash&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;Freebies&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;!--end main_nav--&gt;

&lt;!--end logo--&gt;&lt;/div&gt;
&lt;!--end header--&gt;
&lt;div id=&quot;Container&quot;&gt;
&lt;div id=&quot;main_col&quot;&gt;
&lt;div class=&quot;post_break&quot;&gt;
&lt;div id=&quot;post_thumb&quot;&gt;&lt;img src=&quot;images/post_thumb.jpg&quot; alt=&quot;thumbnail&quot; /&gt;&lt;/div&gt;
&lt;!--end post_thumb--&gt;
&lt;h2&gt;10 WordPress Theme You Probably Won&#039;t Forget&lt;/h2&gt;
&lt;div id=&quot;post_info&quot;&gt;

Posted in &lt;a&gt;Articles&lt;/a&gt;, by &lt;a&gt;Marcell&lt;/a&gt;, on May 5th | &lt;a&gt;19 comments&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_info--&gt;
&lt;div id=&quot;post_text&quot;&gt;

vitae mattis turpis nunc sed lectus. Integer vitae massa nisi, sed adipiscing enim. Etiam semper suscipit nunc, vel condimentum elit mollis ut. Duis scelerisque lacus quis dui sodales tincidunt. Nulla consectetur imperdiet eros vitae vestibulum.

&lt;a class=&quot;post_more&quot;&gt;Read More&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_text--&gt;&lt;/div&gt;
&lt;!--end post_break--&gt;
&lt;div class=&quot;post_break&quot;&gt;
&lt;div id=&quot;post_thumb&quot;&gt;&lt;img src=&quot;images/post_thumb.jpg&quot; alt=&quot;thumbnail&quot; /&gt;&lt;/div&gt;
&lt;!--end post_thumb--&gt;
&lt;h2&gt;10 WordPress Theme You Probably Won&#039;t Forget&lt;/h2&gt;
&lt;div id=&quot;post_info&quot;&gt;

Posted in &lt;a&gt;Articles&lt;/a&gt;, by &lt;a&gt;Marcell&lt;/a&gt;, on May 5th | &lt;a&gt;19 comments&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_info--&gt;
&lt;div id=&quot;post_text&quot;&gt;

vitae mattis turpis nunc sed lectus. Integer vitae massa nisi, sed adipiscing enim. Etiam semper suscipit nunc, vel condimentum elit mollis ut. Duis scelerisque lacus quis dui sodales tincidunt. Nulla consectetur imperdiet eros vitae vestibulum.

&lt;a class=&quot;post_more&quot;&gt;Read More&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_text--&gt;&lt;/div&gt;
&lt;!--end post_break--&gt;
&lt;div class=&quot;post_break&quot;&gt;
&lt;div id=&quot;post_thumb&quot;&gt;&lt;img src=&quot;images/post_thumb.jpg&quot; alt=&quot;thumbnail&quot; /&gt;&lt;/div&gt;
&lt;!--end post_thumb--&gt;
&lt;h2&gt;10 WordPress Theme You Probably Won&#039;t Forget&lt;/h2&gt;
&lt;div id=&quot;post_info&quot;&gt;

Posted in &lt;a&gt;Articles&lt;/a&gt;, by &lt;a&gt;Marcell&lt;/a&gt;, on May 5th | &lt;a&gt;19 comments&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_info--&gt;
&lt;div id=&quot;post_text&quot;&gt;

vitae mattis turpis nunc sed lectus. Integer vitae massa nisi, sed adipiscing enim. Etiam semper suscipit nunc, vel condimentum elit mollis ut. Duis scelerisque lacus quis dui sodales tincidunt. Nulla consectetur imperdiet eros vitae vestibulum.

&lt;a class=&quot;post_more&quot;&gt;Read More&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_text--&gt;&lt;/div&gt;
&lt;!--end post_break--&gt;
&lt;div class=&quot;post_break&quot;&gt;
&lt;div id=&quot;post_thumb&quot;&gt;&lt;img src=&quot;images/post_thumb.jpg&quot; alt=&quot;thumbnail&quot; /&gt;&lt;/div&gt;
&lt;!--end post_thumb--&gt;
&lt;h2&gt;10 WordPress Theme You Probably Won&#039;t Forget&lt;/h2&gt;
&lt;div id=&quot;post_info&quot;&gt;

Posted in &lt;a&gt;Articles&lt;/a&gt;, by &lt;a&gt;Marcell&lt;/a&gt;, on May 5th | &lt;a&gt;19 comments&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_info--&gt;
&lt;div id=&quot;post_text&quot;&gt;

vitae mattis turpis nunc sed lectus. Integer vitae massa nisi, sed adipiscing enim. Etiam semper suscipit nunc, vel condimentum elit mollis ut. Duis scelerisque lacus quis dui sodales tincidunt. Nulla consectetur imperdiet eros vitae vestibulum.

&lt;a class=&quot;post_more&quot;&gt;Read More&lt;/a&gt;&lt;/div&gt;
&lt;!--end post_text--&gt;&lt;/div&gt;
&lt;!--end post_break--&gt;&lt;/div&gt;
&lt;!--end main_col--&gt;
&lt;div id=&quot;sidebar&quot;&gt;
&lt;h2&gt;Sponsors&lt;/h2&gt;
&lt;ul id=&quot;adverts&quot;&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/ad125.jpg&quot; alt=&quot;ad&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!--adverts--&gt;

&lt;a class=&quot;side_more&quot;&gt;Advertise here&lt;/a&gt;
&lt;h2&gt;Flickr&lt;/h2&gt;
&lt;ul id=&quot;flickr&quot;&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;img src=&quot;images/flk_samp.jpg&quot; alt=&quot;flickr&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!--end flickr--&gt;&lt;/div&gt;
&lt;!--end sidebar--&gt;&lt;/div&gt;
&lt;!--end Container--&gt;

&lt;div id=&quot;footer&quot;&gt;
&lt;p&gt;Copyright 2009 Your Website.com All rights reserved&lt;/p&gt;
&lt;/div&gt;&lt;!--end footer--&gt;
</pre>
<h2>Step 10</h2>
<p>Now it&#8217;s time to style our HTML. We will begin by linking our stylesheet with our HTML document. Place the following code in the head section of the HTML.<br />
<img src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/10.style.jpg" alt="stylesheet" /></p>
<pre class="brush:css">
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;style.css&quot; /&#038;gt
</pre>
<h2>Step 11</h2>
<p>First let&#8217;s add our css reset into the top part of our stylesheet.</p>
<pre class="brush:css">
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,
form, fieldset, input, p, blockquote, table, th, td, embed, object {
padding: 0;
margin: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset, img, abbr {
border: 0;
}
address, caption, cite, code, dfn, em,
h1, h2, h3, h4, h5, h6, strong, th, var {
font-weight: normal;
font-style: normal;
}
ul {
list-style: none;
}
caption, th {
text-align: left;
}
h1, h2, h3, h4, h5, h6 {
font-size: 1.0em;
}
q:before, q:after {
content: &#039;&#039;;
}
a, ins {
text-decoration: none;
}
</pre>
<h2>Step 12</h2>
<p>Now lets add our basic typography into our stylesheet.</p>
<pre class="brush:css">
.clear							{ clear:both; }
a,a:hover,a:visited				{ color:#b8bab6; }
p							   { line-height:18px; }
</pre>
<h2>Step 13</h2>
<p>Ok we will now style our main divs.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/13.maindivs.jpg" alt="style main div tags" /></p>
<pre class="brush:css">
body							{ background: #72434d url(images/body-bg.jpg) repeat-x ; font-family:arial; }
#Container						{ width:972px; margin:0 auto; }
#header							{ width:972px; margin:auto; }
#logo							{ width:317px; height:98px; background:url(images/logo.jpg); }
#main_col						{ width:640px; float:left; padding:15px; font-family:arial; }
#main_col p						{ font-size:12px; text-align:left; padding-bottom:2em }
</pre>
<h2>Step 14</h2>
<p>It&#8217;s time to style the navigation.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/14.nav.jpg" alt="style navigation" /></p>
<pre class="brush:css">
/*
Navigation
*/
#main_nav						{ float:left; margin:10px 0 21px 0;}
#main_nav li						{ display:inline; font-weight:bold; font-size:12px;}
#main_nav li a					{ color:#fff;}
</pre>
<h2>Step 15</h2>
<p><strong>Post_break&gt;</strong>The code below will style our post.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/15.postbreak.jpg" alt="style post area" /></p>
<pre class="brush:css">
/*
Post
*/
.post_break						{ float:left; margin:10px 0 10px 0; }
.post_break h2					{ color:#222226; font-family: arial; font-weight:bold; font-size:24px; }
#post_text						{ padding:40px 0; font-size:12px; font-family:arial; }
#post_info						{ background:#000; float:left; color:#fff; font-size:12px; padding:5px;  margin:5px 0 5px 0;}
#post_info p						{ padding:0;}
#post_thumb						{ float:right;}
a.post_more						{ font-size:12px; color:#fff; float:right; margin-right:20em;}
</pre>
<h2>Step 16</h2>
<p><strong>adverts</strong> This will style the code thumbnails in our sidebar<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/16.adverts.jpg" alt="style thumbnails in sidebar" /></p>
<pre class="brush:css">
/*
Adverts
*/
#adverts						{ margin:0 0 0 10px;}
#adverts li						{ display:block; float:left; margin:5px 5px; }
#adverts 						{ }
#adverts						{ }
#flickr							{ margin:10px 0 0 10px;	}
#flickr li 						{ display:block; float:left; margin:5px;}
</pre>
<h2>Step 17</h2>
<p><strong>sidebar</strong> This will style out sidebar and sidebar headings<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/17.sidebar.jpg" alt="style side heading" /></p>
<pre class="brush:css">
/*
sidebar
*/
#sidebar						{ width:290px; float:right; background:#000;  }
#sidebar  h2						{ color:#fff; font-family: arial; font-weight:bold; font-size:31px; background:#71434b; padding:5px; margin:30px 40px 0 0; }
.side_more						{ font-size:12px; color:#fff; margin:0 15px; float:right;}
</pre>
<h2>Step 18</h2>
<p><strong>footer</strong> The final code below will style our wonderful, but simple footer.<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/wppart2/dreamweaver/18.footer.jpg" alt="footer" /></p>
<pre class="brush:css">
/*
Footer
*/
#footer							{ margin: auto; background:#000; height:50px; color:#fff; text-align:center; font-size:12px; font-weight:bold; }
#footer p						{ padding:15px;}
</pre>
<p>Here is the final css code! Hope this tutorial helps. Please leave comments giving feedback</p>
<pre class="brush:css">
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,
form, fieldset, input, p, blockquote, table, th, td, embed, object {
padding: 0;
margin: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset, img, abbr {
border: 0;
}
address, caption, cite, code, dfn, em,
h1, h2, h3, h4, h5, h6, strong, th, var {
font-weight: normal;
font-style: normal;
}
ul {
list-style: none;
}
caption, th {
text-align: left;
}
h1, h2, h3, h4, h5, h6 {
font-size: 1.0em;
}
q:before, q:after {
content: &#039;&#039;;
}
a, ins {
text-decoration: none;
}

/*---------------------------------------------------------------Code starts--------------------------------------------------------------------------------------*/
.clear							{ clear:both; }
a,a:hover,a:visited				{ color:#b8bab6; }
p								{ line-height:18px; }

body							{ background: #72434d url(images/body-bg.jpg) repeat-x ; font-family:arial; }
#Container						{ width:972px; margin:0 auto; }
#header							{ width:972px; margin:auto; }
#logo							{ width:317px; height:98px; background:url(images/logo.jpg);}
#main_col						{ width:640px; float:left; padding:15px; font-family:arial;}
#main_col p						{ font-size:12px; text-align:left; padding-bottom:2em}

/*
Navigation
*/
#main_nav						{ float:left; margin:10px 0 21px 0;}
#main_nav li						{ display:inline; font-weight:bold; font-size:12px;}
#main_nav li a					{ color:#fff;}

/*
Post
*/
.post_break						{ float:left; margin:10px 0 10px 0; }
.post_break h2					{ color:#222226; font-family: arial; font-weight:bold; font-size:24px; }
#post_text						{ padding:40px 0; font-size:12px; font-family:arial; }
#post_info						{ background:#000; float:left; color:#fff; font-size:12px; padding:5px;  margin:5px 0 5px 0;}
#post_info p						{ padding:0;}
#post_thumb						{ float:right;}
a.post_more						{ font-size:12px; color:#fff; float:right; margin-right:20em;}

/*
Adverts
*/
#adverts						{ margin:0 0 0 10px;}
#adverts li						{ display:block; float:left; margin:5px 5px; }
#adverts 						{ }
#adverts						{ }
#flickr							{ margin:10px 0 0 10px;	}
#flickr li 						{ display:block; float:left; margin:5px;}

/*
sidebar
*/
#sidebar						{ width:290px; float:right; background:#000;  }
#sidebar  h2						{ color:#fff; font-family: arial; font-weight:bold; font-size:31px; background:#71434b; padding:5px; margin:30px 40px 0 0; }
.side_more						{ font-size:12px; color:#fff; margin:0 15px; float:right;}

/*
Footer
*/
#footer							{ margin: auto; background:#000; height:50px; color:#fff; text-align:center; font-size:12px; font-weight:bold; }
#footer p						{ padding:15px;}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevtuts.net/wordpress/psd-to-wordpress-series-part-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PSD to WordPress Series Part 1</title>
		<link>http://www.webdevtuts.net/wordpress/psd-to-wordpress-part1/</link>
		<comments>http://www.webdevtuts.net/wordpress/psd-to-wordpress-part1/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 16:42:52 +0000</pubDate>
		<dc:creator>Marcell Purham</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[part 1]]></category>
		<category><![CDATA[PSD]]></category>
		<category><![CDATA[psd to wordpress]]></category>
		<category><![CDATA[psd to wp]]></category>
		<category><![CDATA[psd to wp tutorial]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[wordpress theme development]]></category>

		<guid isPermaLink="false">http://www.webdevtuts.net/?p=214</guid>
		<description><![CDATA[I know there are many developers and normal people who want to know how to design a Wordpress theme from scratch. Well today is your lucky day. In this series, PSD to Wordpress we will design a Mockup in Photoshop, then code it for Wordpress. <a href="http://www.webdevtuts.net/wordpress/psd-to-wordpress-part1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I know there are many developers and normal people who want to know how to design a wordpress theme from scratch. Well today is your lucky day. In this series, PSD to WordPress we will design a Mockup in Photoshop, then code it for wordpress. If everyone likes this tutorial then we will also do a theme option for it. So let&#8217;s get this thing started.</p>
<div class="clear"></div>
<div class="block_dload">
<a class="dload" href="https://s3.amazonaws.com/webdevtuts/uploads/2009/07/downloads/Psdtowordpress pt1.rar" title="Download" target="_blank">Download</a> <a class="demo" href="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/final-preview.jpg" title="demonstration" target="_blank">Final</a>
</div>
<p>Here&#8217;s what we&#8217;re going to create today! <b>Click image to enlarge</b><br />
<a href="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/final-preview.jpg" title="Final PSD to WordPress Theme"><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/final-preview.jpg" alt="Wordpress Theme" width="540" height="474" /></a></p>
<h2>Step 1</h2>
<p>Create new document 1170px x 1200px, background pink/redish ( #71434b ).<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/1.new-doc.jpg" alt="Open New document" /></p>
<blockquote><p>
<b>Note:</b> I am using a Photoshop grid system, 100px from left, and 55px from right leaving 970px in the middle.
</p></blockquote>
<h2>Step 2</h2>
<p>Select color black ( #000) and create a rectangle 50px from the top<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/2.topbg.jpg" alt="10px from top" /></p>
<blockquote><p><b>Note:</b> Arial font, 12px, bold and color#7ecffd is the font used for top menu</p></blockquote>
<h2>Step 3</h2>
<p>Select the type tool and create the following ( double click when type tool is preset for header lines )<br />
<img src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/4.typetool.jpg" alt="Type tool" /></p>
<h2>Step 4</h2>
<p>Now let&#8217;s create a heading. size 60px, color dark purple ( #222226 )</p>
<p><b>Note:</b> Font I used for heading is headline one( dafont.com )</p>
<p><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/4.logo.jpg" alt="logo" /></p>
<p><b>Note:</b> I will not go through details on post sections considering you should have experience with Photoshop if you&#8217;re reading this tutorial</p>
<h2>Step 5</h2>
<p>Next we will create our post area. ( post area is 660px wide )<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/6.660.jpg" alt="post area" /></p>
<p><b>Note:</b> Here&#8217;s and example of what the post area should look like</p>
<p>Post heading: Arial bold, 24px, color dark gray ( #222226 )<br />
Post information: Arial, 12px color white ( #fff ), Link color ( #b8bab6 )<br />
Post Excerpt: Arial, 12px, color dark gray ( #222226 )<br />
Post Thumbnail: width: 204px x Height: 193px<br />
More Link: Arial, 12px, color white ( #fff )<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/6.tip.jpg" alt="Post area example" /></p>
<p><b>Note:</b> sidebar is 298px wide, leaving 10px between the sidebar and post area</p>
<p><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/7note.PNG" alt="Leave 10 pixels" /></p>
<h2>Step 6</h2>
<p>Let&#8217;s create a sidebar for our mockup. Select the rectangle tool color black ( #000 ) and create a rectangle from top to bottom<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/7.jpg" alt="sidebar" /></p>
<h2>Step 7</h2>
<p>Select the rectangle tool and create a box like the one below. Then select the type tool and create headings</p>
<blockquote><p><b>Note:</b> Sidebar headings : Arial, 31px, bold, color white ( #fff )</p></blockquote>
<p><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/8.box.jpg" alt="sidebar headings" /></p>
<h2>Step 8</h2>
<p>Now let&#8217;s add some real ads to our mockup. Google search &#8220;ad 125&#215;125&#8243; and add 4 ads to mockup<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/9.ads.PNG" alt="ads" /></p>
<h2>Step 9</h2>
<p>Ok let&#8217;s add some flick photo&#8217;s ( 9 pictures, 75px x 75px )<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/10.flcirk.jpg" alt="Flickr" /></p>
<h2>Step 10</h2>
<p>Now we will add a footer area to the bottom of the page. Press ctrl+alt+c or Image&gt;Canvas size. Select the top arrow and change the height to 1250px<br />
<img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/11.canvas.PNG" alt="canvas size" /></p>
<blockquote><p><b>Note:</b> You should now have a open space at the bottom of the mockup that has no color. Select your main background layer, then select the paint bucket in fill in the background. color black ( #000 )</p></blockquote>
<p><img class="aligncenter" src="https://s3.amazonaws.com/webdevtuts/uploads/2009/08/psdwp/12footer.jpg" alt="footer" /></p>
<h2>Step 11</h2>
<p>For the final step we will add some footer text to our mockup, select the type tool and create your footer text. ( copyright 2009 your website.com all rights reserved ) Then you&#8217;re done</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevtuts.net/wordpress/psd-to-wordpress-part1/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: S3: webdevtuts.s3.amazonaws.com

Served from: www.webdevtuts.net @ 2012-02-04 02:55:02 -->
