<?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>Web design and development in London and Surrey &#187; wordpress</title>
	<atom:link href="http://zorinweb.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://zorinweb.com</link>
	<description>Just another Web design and development weblog</description>
	<lastBuildDate>Fri, 13 Jan 2012 14:56:03 +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>New Site for Surrey Contact Sports Specialist</title>
		<link>http://zorinweb.com/2010/09/new-site-for-surrey-contact-sports-specialist/</link>
		<comments>http://zorinweb.com/2010/09/new-site-for-surrey-contact-sports-specialist/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 19:09:14 +0000</pubDate>
		<dc:creator>ZorinWeb</dc:creator>
				<category><![CDATA[Front end coding]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[London SEO]]></category>
		<category><![CDATA[psd to html]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[seo surrey]]></category>
		<category><![CDATA[surrey web design]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zorinweb.com/?p=282</guid>
		<description><![CDATA[Whipped up version two of a site for the guys at Nova Forca. Along with a new design, the site moves up to the much improved WordPress 3.]]></description>
			<content:encoded><![CDATA[<p>Whipped up version two of a site for the guys at Nova Forca. Along with a new design, the site moves up to the much improved WordPress 3.</p>
<p><span id="more-282"></span></p>
<p><a href="http://zorinweb.com/wp-content/uploads/2011/01/novaforca.png"><img class="alignnone size-large wp-image-283" title="novaforca" src="http://zorinweb.com/wp-content/uploads/2011/01/novaforca-440x330.png" alt="" width="440" height="330" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://zorinweb.com/2010/09/new-site-for-surrey-contact-sports-specialist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Coding for LegionLive.org</title>
		<link>http://zorinweb.com/2010/05/wordpress-coding-for-legionlive-org/</link>
		<comments>http://zorinweb.com/2010/05/wordpress-coding-for-legionlive-org/#comments</comments>
		<pubDate>Mon, 03 May 2010 18:16:42 +0000</pubDate>
		<dc:creator>ZorinWeb</dc:creator>
				<category><![CDATA[Front end coding]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[psd to html]]></category>
		<category><![CDATA[psd to wordpress]]></category>
		<category><![CDATA[Royal British Legion]]></category>
		<category><![CDATA[web design London]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zorinweb.com/?p=264</guid>
		<description><![CDATA[I implemented a new front end design for LegionLive, The Royal British Legion’s online community. The site has a very engaging look and feel, and leverages a good number of web 2.0/social community mediums, providing a hub of activity for Royal British Legion members and friends alike. I provided an interface for CMS functions, customised [...]]]></description>
			<content:encoded><![CDATA[<p>I implemented a new front end design for LegionLive, The Royal British Legion’s online community. The site has a very engaging look and feel, and leverages a good number of web 2.0/social community mediums, providing a hub of activity for Royal British Legion members and friends alike.</p>
<p><span id="more-264"></span></p>
<p>I provided an interface for CMS functions, customised a slideshow for the home page, all the while making sure it was fully integrated with WordPress Mu.</p>
<p><a href="http://legionlive.org.uk/"><img class="alignnone size-large wp-image-265" title="LegionLive_designs_home_new_3(2)" src="http://zorinweb.com/wp-content/uploads/2011/01/LegionLive_designs_home_new_32-254x440.png" alt="" width="254" height="440" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://zorinweb.com/2010/05/wordpress-coding-for-legionlive-org/feed/</wfw:commentRss>
		<slash:comments>66</slash:comments>
		</item>
		<item>
		<title>PSD to WordPress of London based Social Media Blogger</title>
		<link>http://zorinweb.com/2010/04/psd-to-wordpress-of-london-based-social-media-blogger/</link>
		<comments>http://zorinweb.com/2010/04/psd-to-wordpress-of-london-based-social-media-blogger/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 21:07:40 +0000</pubDate>
		<dc:creator>ZorinWeb</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Search Engine Optimisation]]></category>
		<category><![CDATA[psd to html]]></category>
		<category><![CDATA[psd to wordpress]]></category>
		<category><![CDATA[seo surrey]]></category>
		<category><![CDATA[social games]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zorinweb.com/?p=235</guid>
		<description><![CDATA[I recently took a very user orientated design, laden with the kind of best practices espoused in Steve Krug&#8217;s, &#8220;Don&#8217;t Make Me Think&#8221;, from Photoshop to WordPress. The site&#8217;s called Social galaxies, and is run by Ed Thompson, a social media and social games analyst. Interesting commentary and analysis is served up on social games, [...]]]></description>
			<content:encoded><![CDATA[<p>I recently took a very user orientated design, laden with the kind of best practices espoused in Steve Krug&#8217;s, &#8220;Don&#8217;t Make Me Think&#8221;, from Photoshop to WordPress. The site&#8217;s called <a href="http://www.socialgalaxies.com/">Social galaxies</a>, and is run by Ed Thompson, a social media and social games analyst. Interesting commentary and analysis is served up on social games, with a particular emphasis toward the Facebook platform.</p>
<p><span id="more-235"></span></p>
<p><img class="alignnone size-full wp-image-236" title="Social Galaxies" src="http://zorinweb.com/wp-content/uploads/2010/04/SG_About-e1271277951165.jpg" alt="" width="400" height="488" /></p>
<p>As an aside, content from Ed&#8217;s old Blogger account was transported via the handy WordPress &#8216;import&#8217; function. Although imported in an untidy spaghetti like inline code fashion, it certainly relived the burden of having to paste each and every blog post. All in all, it&#8217;s a great function for a prolific Blogger based blogger looking to upgrade to a self hosted WordPress outfit.</p>
<p>For the actual programming of the blog, customised template pages were utilised for the &#8216;about&#8217; , &#8216;newest&#8217;, and &#8216;archive&#8217; pages. The &#8216;about&#8217; page saw the use of custom fields to extend WordPress&#8217;s CMS capabilities to allow Ed to post both images and descriptions of his favourite books. The &#8216;newest&#8217; page leveraged a custom page template so as to order and limit the latest posts by date, while similarly, the &#8216;archive&#8217; displays category headings and related posts by date.</p>
<p>In addition to customised Facebook and Twitter plugins, a user subscription and Google sitemap plugin rounded out the build.</p>
]]></content:encoded>
			<wfw:commentRss>http://zorinweb.com/2010/04/psd-to-wordpress-of-london-based-social-media-blogger/feed/</wfw:commentRss>
		<slash:comments>104</slash:comments>
		</item>
		<item>
		<title>PSD to WordPress of Sharply Designed Craftsman Website</title>
		<link>http://zorinweb.com/2010/03/psd-to-wordpress-of-clean-design-craftsman-website/</link>
		<comments>http://zorinweb.com/2010/03/psd-to-wordpress-of-clean-design-craftsman-website/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 15:50:22 +0000</pubDate>
		<dc:creator>ZorinWeb</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[psd to html]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://zorinweb.com/?p=229</guid>
		<description><![CDATA[Coded up a talented designer&#8217;s clean tradesman layout. The design focuses on usability and straight to point content. Images play a large role as they&#8217;re an immediate endorsement of the craftsman&#8217;s ability and skill. In order for the website owner to manage his own content, WordPress was used as a CMS (content management system). Each [...]]]></description>
			<content:encoded><![CDATA[<p>Coded up a talented designer&#8217;s clean tradesman layout. The design focuses on usability and straight to point content. Images play a large role as they&#8217;re an immediate endorsement of the craftsman&#8217;s ability and skill.</p>
<p><span id="more-229"></span></p>
<p>In order for the website owner to manage his own content, WordPress was used as a CMS (content management system). Each page is editable, while images can be uploaded to a specific category, which will then appear on the website automatically re-sized. The quotations and contact pages feature forms that check for incorrect email addresses and make sure compulsory fields are satified. Here&#8217;s a screenshot of the site:</p>
<p><img class="alignnone size-large wp-image-230" title="banyan" src="http://zorinweb.com/wp-content/uploads/2010/03/banyan-440x334.jpg" alt="" width="440" height="334" /></p>
<p>To see it in action, go to <a href="http://banyanwoodworks.com/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://zorinweb.com/2010/03/psd-to-wordpress-of-clean-design-craftsman-website/feed/</wfw:commentRss>
		<slash:comments>102</slash:comments>
		</item>
		<item>
		<title>Problem with WordPress Plugin Activation</title>
		<link>http://zorinweb.com/2010/01/problem-with-wordpress-plugin-activation/</link>
		<comments>http://zorinweb.com/2010/01/problem-with-wordpress-plugin-activation/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 23:29:08 +0000</pubDate>
		<dc:creator>ZorinWeb</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php function]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zorinweb.com/?p=200</guid>
		<description><![CDATA[If you&#8217;re running a number of memory hungry plugins, you might exceed the 32mb worth of memory allotted by the standard WordPress install. I&#8217;ve used an e-commerce solution plugin before that used significantly more memory than the others. So, if you try to activate a WordPress plugin, but can&#8217;t, due to a memory allocation problem, [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re running a number of memory hungry plugins, you might exceed the 32mb worth of memory allotted by the standard WordPress install. I&#8217;ve used an e-commerce solution plugin before that used significantly more memory than the others.</p>
<p><span id="more-200"></span></p>
<p>So, if you try to activate a WordPress plugin, but can&#8217;t, due to a memory allocation problem, you can either modify the wp-settings.php script, or, if that has no effect, increase the &#8216;memory_limit&#8217; variable in the php .ini file. If you can access the php .ini file yourself, great, if not, contact your host.</p>
<p>To change the wp-settings.php file, open it up and locate the following lines:</p>
<p><code><br />
if ( !defined('WP_MEMORY_LIMIT') )<br />
define('WP_MEMORY_LIMIT', '32M');<br />
</code></p>
<p>Now change &#8217;32MB&#8217; to &#8217;64MB&#8217;, so it reads:</p>
<p><code><br />
if ( !defined('WP_MEMORY_LIMIT') )<br />
define('WP_MEMORY_LIMIT', '64M');<br />
</code><br />
Again, if this doesn&#8217;t and you can&#8217;t change the php .ini file yourself, contact your host. Incidentally, if you&#8217;d like to see your &#8216;memory_limit&#8217; allocation, pop the following code into a php web page and upload it to the server:</p>
<p><code><br />
&lt;? php echo phpinfo(); ?&gt;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://zorinweb.com/2010/01/problem-with-wordpress-plugin-activation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Collection of Handy WordPress Tips</title>
		<link>http://zorinweb.com/2009/12/collection-of-handy-wordpress-tips/</link>
		<comments>http://zorinweb.com/2009/12/collection-of-handy-wordpress-tips/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 14:26:02 +0000</pubDate>
		<dc:creator>ZorinWeb</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zorinweb.com/?p=147</guid>
		<description><![CDATA[When developing WordPress driven websites for Surrey and South London based businesses, more often than not, I find myself referring to a handy list of WordPress tips. Commonly, it&#8217;s the SQL commands for transferring the local site to the remote host. This is a convenient little resource featuring the abovementioned tip and plenty of others.]]></description>
			<content:encoded><![CDATA[<p>When developing WordPress driven websites for Surrey and South London based businesses, more often than not, I find myself referring to a handy list of WordPress tips. Commonly, it&#8217;s the SQL commands for transferring the local site to the remote host.</p>
<p><span id="more-147"></span></p>
<p><a href="http://www.greepit.com/2008/12/8-useful-wordpress-sql-hacks/" target="_blank">This is a convenient little resource</a> featuring the abovementioned tip and plenty of others.</p>
]]></content:encoded>
			<wfw:commentRss>http://zorinweb.com/2009/12/collection-of-handy-wordpress-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting a Design to a WordPress Website</title>
		<link>http://zorinweb.com/2009/12/converting-a-design-to-a-wordpress-website/</link>
		<comments>http://zorinweb.com/2009/12/converting-a-design-to-a-wordpress-website/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 19:09:22 +0000</pubDate>
		<dc:creator>ZorinWeb</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[psd to html]]></category>
		<category><![CDATA[user interface]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zorinweb.com/?p=103</guid>
		<description><![CDATA[There doesn&#8217;t appear to be too many psd to HTML tutorials on the net, so I thought I&#8217;d write one. Given the popularity of the WordPress blogging software, I&#8217;ll code the design up for WordPress rather than a static HTML site.  To reiterate, this is about taking a design (in whatever format), slicing it up [...]]]></description>
			<content:encoded><![CDATA[<p>There doesn&#8217;t appear to be too many psd to HTML tutorials on the net, so I thought I&#8217;d write one. Given the popularity of the WordPress blogging software, I&#8217;ll code the design up for WordPress rather than a static HTML site.  To reiterate, this is about taking a design (in whatever format), slicing it up in Photoshop, or similar (Gimp), then applying the CSS to the HTML. WordPress features intuitive markup, so I&#8217;ll base the HTML around theirs.</p>
<p><span id="more-103"></span></p>
<p>The slicing of the design will be dealt with first, followed by a look at the HTML, then proceeded by the all important CSS. To begin with, let&#8217;s look at the design in the slicing environment.</p>
<p><img class="alignnone size-large wp-image-107" title="1-overview" src="http://zorinweb.com/wp-content/uploads/2009/12/1-overview-440x255.jpg" alt="1-overview" width="440" height="255" /></p>
<p>This is the psd of a recently completed website opened up and ready to slice in Photoshop. It&#8217;s a clean, uncomplicated design, so should be ideal for a tutorial. For demonstration purposes, I&#8217;m using the &#8216;crop&#8217; tool instead of slicing tool, and saving each piece as a jpg in turn. There&#8217;s not a particular preference for image formt, so use what you wish; jpgs load up quicky, that&#8217;s all. Right, let the cutting begin.</p>
<p><img class="alignnone size-large wp-image-112" title="background-slice" src="http://zorinweb.com/wp-content/uploads/2009/12/background-slice-440x123.jpg" alt="background-slice" width="440" height="123" /></p>
<p>A slice is taken from the top of the psd going through the white space to just below the thick green line. It will be repeated across the &lt;body&gt; of the document, covering the width of the screen. Next, the little house with the lightbulb is cut out.</p>
<p><img class="alignnone size-large wp-image-116" title="cutting-out-the-little-hous" src="http://zorinweb.com/wp-content/uploads/2009/12/cutting-out-the-little-hous-440x113.jpg" alt="cutting-out-the-little-hous" width="440" height="113" /></p>
<p>The house is cut out from the top to just beneath the green like. It will later be layered over repeated background strip. Now for the logo and introductory text.</p>
<p><a href="http://zorinweb.com/wp-content/uploads/2009/12/cutting-out-the-logo.jpg"><img class="alignnone size-large wp-image-118" title="cutting-out-the-logo" src="http://zorinweb.com/wp-content/uploads/2009/12/cutting-out-the-logo-440x141.jpg" alt="cutting-out-the-logo" width="440" height="141" /></a></p>
<p><img class="alignnone size-large wp-image-117" title="cutting-out-logo" src="http://zorinweb.com/wp-content/uploads/2009/12/cutting-out-logo-440x113.jpg" alt="cutting-out-logo" width="440" height="113" /></p>
<p>A similar effect for the text could have been gained using sIFR, but on this occassion opted for a CSS text replacement technique. After cutting out the navigation buttons &#8211; both the blue and &#8216;hover effect&#8217; orange &#8211; and other bits and pieces, the last substantial piece of cutting is the Twitter section.</p>
<p><img class="alignnone size-large wp-image-119" title="cutting-out-twitter" src="http://zorinweb.com/wp-content/uploads/2009/12/cutting-out-twitter-bird-440x113.jpg" alt="cutting-out-twitter" width="440" height="113" /></p>
<p>That&#8217;s all the cutting; let&#8217;s run through the pieces.</p>
<ul>
<li>Background strip</li>
<li>Logo</li>
<li>Introductory text</li>
<li>House with lightbulb</li>
<li>Navigation buttons</li>
<li>Twitter section</li>
<li>Twitter button</li>
<li>Contact and Twitter headings</li>
</ul>
<h3>The HTML</h3>
<p>Assuming you&#8217;ve installed a copy of WordPress, let&#8217;s navigate to the default theme to inspect the markup &#8211; <em>&#8216;wp-content&#8217;, &#8216;themes&#8217;, &#8216;default&#8217;</em> directory. Open the index.php to view the following:<br />
<code><br />
&lt;?php<br />
/**<br />
* @package WordPress<br />
* @subpackage Default_Theme<br />
*/<br />
get_header(); ?&gt;<br />
&lt;div id="content" role="main"&gt;<br />
<strong>&lt;?php if (have_posts()) : ?&gt;<br />
&lt;?php while (have_posts()) : the_post(); ?&gt;<br />
&lt;div &lt;?php post_class() ?&gt; id="post-&lt;?php the_ID(); ?&gt;"&gt;<br />
&lt;h2&gt;&lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark" title="Permanent Link to &lt;?php the_title_attribute(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;<br />
&lt;small&gt;&lt;?php the_time('F jS, Y') ?&gt; &lt;!-- by &lt;?php the_author() ?&gt; --&gt;&lt;/small&gt;<br />
&lt;div&gt;<br />
&lt;?php the_content('Read the rest of this entry &amp;raquo;'); ?&gt;<br />
&lt;/div&gt;<br />
&lt;p&gt;&lt;?php the_tags('Tags: ', ', ', '&lt;br /&gt;'); ?&gt; Posted in &lt;?php the_category(', ') ?&gt; | &lt;?php edit_post_link('Edit', '', ' | '); ?&gt;  &lt;?php comments_popup_link('No Comments &amp;#187;', '1 Comment &amp;#187;', '% Comments &amp;#187;'); ?&gt;&lt;/p&gt;<br />
&lt;/div&gt;<br />
&lt;?php endwhile; ?&gt;<br />
&lt;div&gt;<br />
&lt;div&gt;&lt;?php next_posts_link('&amp;laquo; Older Entries') ?&gt;&lt;/div&gt;<br />
&lt;div&gt;&lt;?php previous_posts_link('Newer Entries &amp;raquo;') ?&gt;&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;?php else : ?&gt;<br />
&lt;h2&gt;Not Found&lt;/h2&gt;<br />
&lt;p&gt;Sorry, but you are looking for something that isn't here.&lt;/p&gt;<br />
&lt;?php get_search_form(); ?&gt;<br />
&lt;?php endif; ?&gt;</strong><br />
&lt;/div&gt;<br />
&lt;?php get_sidebar(); ?&gt;<br />
&lt;?php get_footer(); ?&gt;</code></p>
<p>The WordPress loop, in bold, doesn&#8217;t have any bearing on this tutorial, so we can ignore it. get_header() renders the header part of the HTML, while get_sidebar() and get_footer() render the sidebar and footer, respectively. I&#8217;ve gone through the index.php file to avoid confusion; what I&#8217;d like to do is go through the rendered HTML as that&#8217;s what we&#8217;re going to style. Here&#8217;s the rendered HTML of index.php without the PHP &#8216;loop&#8217; (I&#8217;ve deleted a few unordered lists fro the sidebar as they&#8217;re not relevant):<br />
<code><br />
&lt;body&gt;<br />
&lt;div id="page"&gt;<br />
&lt;div id="header" role="banner"&gt;<br />
&lt;div id="headerimg"&gt;&lt;h1&gt;&lt;a href="Blog name"&lt;/a&gt;&lt;/h1&gt;<br />
&lt;div&gt;&lt;?php bloginfo('description'); ?&gt;&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;hr /&gt;<br />
&lt;div id="content" role="main"&gt;<br />
&lt;/div&gt;<br />
&lt;div id="sidebar" role="complementary"&gt;<br />
&lt;ul role="navigation"&gt;<br />
&lt;li&gt;&lt;h2&gt;Archives&lt;/h2&gt;&lt;/ul&gt;&lt;/li&gt;<br />
&lt;ul&gt;&lt;li&gt;&lt;h2&gt;Meta&lt;/h2&gt;&lt;/li&gt;&lt;/ul&gt;<br />
&lt;/div&gt;<br />
&lt;hr /&gt;<br />
&lt;div id="footer" role="contentinfo"&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;/body&gt;<br />
</code><br />
Minus a few unordered listed from the sidebar, the above is more or less the standard HTML from the default theme. The site we&#8217;re working on in this tutorial is customised, so has slightly different HTML, but importantly, a similar structure. Here&#8217;s the HTML from DRC Electrical:<br />
<code><br />
&lt;body&gt;<br />
&lt;div id="page"&gt;<br />
&lt;div id="header"&gt;<br />
&lt;h1&gt;&lt;a href="http://drcelectrical.co.uk/" onfocus="if (this.blur)this.blur();"&gt;&lt;span&gt;DRC Electrical Services&lt;/span&gt;&lt;/a&gt;&lt;/h1&gt;<br />
&lt;ul id="nav"&gt;<br />
&lt;li&gt;&lt;a href="http://drcelectrical.co.uk/" onfocus="if (this.blur)this.blur();"&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="/services/" onfocus="if (this.blur)this.blur();"&gt;Services&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="/testimonials/" onfocus="if (this.blur)this.blur();"&gt;testimonials&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="/blog/" onfocus="if (this.blur)this.blur();"&gt;blog&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="/contact/" onfocus="if (this.blur)this.blur();"&gt;contact&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;div&gt;&lt;span&gt;Hello, we are a company offering electrical services&lt;/span&gt;&lt;/div&gt;<br />
&lt;div&gt;&lt;/div&gt;<br />
&lt;/div&gt;&lt;!--end of header--&gt;<br />
&lt;div id="content"&gt;<br />
&lt;div id="sidebar"&gt;<br />
&lt;div&gt;<br />
&lt;div&gt;<br />
&lt;h1&gt;&lt;span&gt;Contact DRC Electrical&lt;/span&gt;&lt;/h1&gt;<br />
&lt;p&gt;We always like to talk to people.<br />
Just drop us an email or call us.&lt;/p&gt;<br />
&lt;div&gt;020 8287 7907&lt;/div&gt;<br />
&lt;p&gt;Mobile:&lt;/p&gt;<br />
&lt;div&gt;07985 279916&lt;/div&gt;<br />
&lt;p&gt;Email:&lt;/p&gt;<br />
&lt;div&gt;info@drcelectrical.co.uk&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;div&gt;<br />
&lt;h1&gt;&lt;span&gt;Twitter&lt;/span&gt;&lt;/h1&gt;<br />
&lt;div&gt;<br />
Going to elex expo at sandown should be good &lt;a href="http://twitter.com/DRC_Electrical/statuses/6218208623" class="twitter-link"&gt;Go&lt;/a&gt; &lt;span class="twitter-timestamp"&gt;&lt;abbr title="2009/12/01 00:24:04"&gt;2009/12/01&lt;/abbr&gt;&lt;/span&gt;<br />
&lt;/div&gt; &lt;!--end of twitter-message--&gt;<br />
&lt;a href="http://twitter.com/DRC_Electrical/"&gt;&lt;/a&gt;<br />
&lt;/div&gt;&lt;!--end of Twitter-div--&gt;<br />
&lt;ul&gt;&lt;li&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;&lt;!--end of sidebar-content--&gt;<br />
&lt;/div&gt;&lt;!--end of sidebar--&gt;<br />
&lt;div id="content-left"&gt;&lt;!--post/content goes in here--&gt;<br />
&lt;div id="post-3"&gt;<br />
&lt;h2&gt;DRC Electrical….&lt;/h2&gt;<br />
&lt;div&gt;<br />
&lt;p&gt;provide electrical services to the London and Surrey areas. Fully qualified, and with years of experience on hand, our typical jobs range from electrical testing to full rewires. Emergency callouts, or jobs booked well in advance, we cover them all.&lt;/p&gt;<br />
&lt;p&gt;Our work is balanced between domestic and corporate customers alike. Onsite commercial electrical work is an area we’re very familiar with. From quotation to completion, we handle everything including sourcing products to disposal.&lt;/p&gt;<br />
&lt;p&gt;If you’re after a competitive rate from an company that’ll provide peace of mind, please don’t hesitate to get in touch. For emails, we aim to respond within 12-hours, while for enquiries that need immediate attention, please telephone.&lt;/p&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;&lt;!--end of post--&gt;<br />
&lt;/div&gt;&lt;!--end of content-left--&gt;<br />
&lt;/div&gt;&lt;!--end of content--&gt;<br />
&lt;div id="footer"&gt;<br />
&lt;div&gt;&lt;a href="http://www.zorinweb.com" target='blank' title="Website by Zw"&gt;Site by Zw&lt;/a&gt;&lt;/div&gt;<br />
&lt;div&gt;&amp;copy; 2009 DRC Electrical&lt;/div&gt;<br />
&lt;/div&gt;&lt;!--end of footer--&gt;<br />
&lt;/div&gt;<br />
&lt;/body&gt;<br />
</code><br />
That&#8217;s the generated HTML from the home page which I&#8217;ve commented as best as possible. The structure&#8217;s very similar to the default theme; we still have the &#8216;page&#8217; DIV, &#8216;header&#8217;, &#8216;content&#8217;, &#8216;sidebar&#8217; and &#8216;footer&#8217;. Assuming you&#8217;ve cut out the images, place them in an appropriate folder, and set up the development environment (if you use one), and let&#8217;s begin the styling.</p>
<h3>The CSS</h3>
<p>First, the body:<br />
<code><br />
body {<br />
margin: 0;<br />
padding: 0;<br />
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;<br />
font-size: 13px;<br />
color: #fff;<br />
height: 100%;<br />
background: #1479c7 url(images/background-repeat.jpg) repeat-x;<br />
}<br />
</code><br />
Importantly here, we&#8217;ve taken our initial bit of slicing, &#8216;background-repeat.jpg&#8217;, and repeated it across the body&#8217;s x axis, and set the background to #1479c7. That&#8217;s the top of the sorted out, margin and padding zeroed in, etc.. As for the structure:<br />
<code><br />
#page {<br />
width: 810px;<br />
margin: 0 auto;<br />
}<br />
</code><br />
The outer DIV, page, is set to 810px wide and placed in the centre.<br />
<code><br />
#header {<br />
width: 810px;<br />
height: 380px;<br />
position: relative;<br />
}<br />
</code><br />
With the header&#8217;s styling in place, we can now plonk the logo, navigation and introductory sentence in.<br />
<code><br />
#header h1 {<br />
margin:0px;<br />
font-weight:bold;<br />
}<br />
#header h1 a {<br />
height:100px;<br />
width:350px;<br />
background: url(images/logo.jpg) no-repeat 0px 10px;<br />
float:left;<br />
margin:20px 0 0 0;<br />
}<br />
#header h1 a span {<br />
display: none;<br />
}<br />
</code><br />
Adhering to best practices and accessibility, the logo&#8217;s attached to a link within an H1 one heading. The actual HTML for DRC Electrical is inserted between span tags set to &#8216;display: none&#8217;. Here&#8217;s the navigation&#8217;s CSS:<br />
<code><br />
#nav {<br />
width: 800px;<br />
position: relative;<br />
padding: 3px;<br />
margin: 0 0 0 7px;<br />
height: 30px;<br />
float: left;<br />
font-weight: bold;<br />
font-family: Georgia, "Times New Roman", Times, serif;<br />
}<br />
#nav li {<br />
width: 120px;<br />
float: left;<br />
list-style: none;<br />
}<br />
#nav a {<br />
height: 26px;<br />
color: #FFF;<br />
display: block;<br />
text-decoration: none;<br />
text-align: center;<br />
background: url(images/nav-button.jpg) no-repeat;<br />
padding: 4px 0 0 0;<br />
}<br />
#nav a:hover {<br />
background: url(images/nav-button-hover.jpg) no-repeat;<br />
}<br />
</code><br />
&#8216;#nav&#8217; sets the container&#8217;s dimensions, &#8216;#nav li&#8217; sorts out the individual elements, while &#8216;#nav a&#8217; style&#8217;s out the actual links assigning the background of each to &#8216;images/nav-button.jpg&#8217;, the blue button cut out earlier on. Lastly for the navigation, &#8216;#nav a:hover&#8217; gives a nice little hover effect with the orange button, &#8216;nav-button-hover.jpg&#8217;.</p>
<p>The introductory sentence is encased within &#8216;hello&#8217; DIV.<br />
<code><br />
.hello {<br />
background: url(images/intro-text.jpg) no-repeat;<br />
float: left;<br />
height: 140px;<br />
margin: 30px 0 0;<br />
width: 470px;<br />
}<br />
.hello span {<br />
display: none;<br />
}<br />
</code><br />
Again, the background&#8217;s set to images/intro-text.jpg, with a span styled to display none for the HTML to make it accessible. Closing out the header section, a DIV with a class of &#8216;lamp&#8217;. The following should be self explanatory:<br />
<code><br />
.lamp {<br />
float: right;<br />
height: 200px;<br />
margin: 16px 70px 0 0;<br />
width: 230px;<br />
background: url(images/lightbulb4.jpg) no-repeat;<br />
}<br />
</code><br />
Moving onto the &#8216;content&#8217; portion:<br />
<code><br />
#content {<br />
width: 810px;<br />
float :left;<br />
}<br />
#content-left {<br />
width: 530px;<br />
min-height: 650px;<br />
position: relative;<br />
float: left;<br />
}<br />
</code><br />
&#8216;content-left&#8217; is simply floated to the left to make way for the sidebar which appears before &#8216;content-left&#8217; in the markup. Here&#8217;s the sidebar and it&#8217;s paragraph element:<br />
<code><br />
#sidebar {<br />
margin: 0 0 0 6px;<br />
min-height: 600px;<br />
width: 258px;<br />
float: right;<br />
display: table;<br />
}<br />
#sidebar p {<br />
margin:4px 0;<br />
color:#B8B291;<br />
width:220px;<br />
}<br />
</code><br />
Incidentally display is set to &#8216;table&#8217;; I&#8217;ll explain about that in another tutorial. The next DIV in the sidebar is &#8216;side-content&#8217;.<br />
<code><br />
.side-content {<br />
float: left;<br />
width: 258px;<br />
padding: 0;<br />
min-height: 500px;<br />
}<br />
</code><br />
The first piece of content in the sidebar deals with contact details, which is inserted in:<br />
<code><br />
.contact {<br />
border-bottom: 1px #7ab3df solid;<br />
}<br />
</code><br />
This gives us a nice border at the bottom.<br />
<code><br />
h1.contact-sidebar  {<br />
width: 226px;<br />
height: 38px;<br />
background: url(images/sidebar-contact.jpg) no-repeat -6px 0;<br />
margin: 0;<br />
}<br />
h1.contact-sidebar span {<br />
display: none;<br />
}<br />
</code><br />
The above styling&#8217;s for the &#8216;contact&#8217; heading. sidebar-contact.jpg is cut out of the psd and assigned to an H1 heading with a class of .contact-sidebar. The same applies to the Twitter heading.<br />
<code><br />
h1.twitter-sidebar  {<br />
width: 226px;<br />
height:38px;<br />
background: url(images/sidebar-twitter.jpg) no-repeat -6px 0;<br />
margin:0;<br />
}<br />
h1.twitter-sidebar span {<br />
display:none;<br />
}<br />
</code><br />
Finishing off the sidebar is Twitter feed box and the corresponding &#8216;follow me&#8217; button:<br />
<code><br />
.twitter-div {<br />
background:transparent url(images/twitter-box.jpg) no-repeat -10px 55px;<br />
border-bottom:1px solid #7ab3df;<br />
height:205px;<br />
padding:10px 0;<br />
}<br />
.twitter-message {<br />
color:#B8B291;<br />
margin:18px 0 0 8px;<br />
padding:0;<br />
width:240px;<br />
height:82px;<br />
}<br />
.followme {<br />
background:url(images/follow-me-button.jpg) no-repeat;<br />
display:block;<br />
margin-top:25px;<br />
height:30px;<br />
width:145px;<br />
}<br />
</code><br />
The .twitter-div has it&#8217;s background set to  url(images/twitter-box.jpg) no-repeat -10px 55px; this is the Twitter box cut out earlier on. The &#8216;twitter-message&#8217; fits in the box and styles the input, while &#8216;follow me&#8217; button has it&#8217;s background set appropriately.</p>
<p>That takes care of all the images; here&#8217;s the rest of the CSS to go with the remaining markup:<br />
<code><br />
#footer {<br />
float:left;<br />
height:39px;<br />
padding:40px 0 0;<br />
width: 810px;<br />
color:#7ab3df;<br />
}<br />
</code><br />
Hope you enjoyed the tutorial.</p>
]]></content:encoded>
			<wfw:commentRss>http://zorinweb.com/2009/12/converting-a-design-to-a-wordpress-website/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Web and SEO Services for Surbiton, Surrey based Electrical Firm</title>
		<link>http://zorinweb.com/2009/12/web-and-seo-services-for-surbiton-based-electrical-firm/</link>
		<comments>http://zorinweb.com/2009/12/web-and-seo-services-for-surbiton-based-electrical-firm/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 16:24:00 +0000</pubDate>
		<dc:creator>ZorinWeb</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[seo surrey]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zorinweb.com/?p=96</guid>
		<description><![CDATA[Having left full employment to start their own electrical business, DRC Electrical wasted no time in commissioning a website. The site was built using WordPress for both blogging and content management purposes. It was also integrated with Twitter for quick fire communication. As a new business in a saturated industry, SEO is crucial for DRC. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-large wp-image-97" title="drc-portfolio" src="http://zorinweb.com/wp-content/uploads/2009/12/drc-portfolio-439x302.jpg" alt="drc-portfolio" width="439" height="302" /></p>
<p><span id="more-96"></span></p>
<p>Having left full employment to start their own electrical business, DRC Electrical wasted no time in commissioning a website. The site was built using WordPress for both blogging and content management purposes. It was also integrated with Twitter for quick fire communication.</p>
<p>As a new business in a saturated industry, SEO is crucial for DRC. After keyword analysis, it was determined that the search term &#8216;electrician surbiton&#8217; is key for generating bread and butter business. Following further SEO work, the site now appears at the top of Google&#8217;s page-one; and consequently, is enjoying a steady flow of quality traffic.</p>
]]></content:encoded>
			<wfw:commentRss>http://zorinweb.com/2009/12/web-and-seo-services-for-surbiton-based-electrical-firm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Web design and SEO services for Surrey based MMA Business</title>
		<link>http://zorinweb.com/2009/12/web-design-and-seo-services-for-surrey-based-sports-fir/</link>
		<comments>http://zorinweb.com/2009/12/web-design-and-seo-services-for-surrey-based-sports-fir/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 15:48:19 +0000</pubDate>
		<dc:creator>ZorinWeb</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[seo surrey]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zorinweb.com/?p=70</guid>
		<description><![CDATA[Nova Forca are a successful BJJ (Brazilian Jiu Jitsu) and MMA house based in Surrey and with operations in London. Their existing site was treated to a redesign and a content management system (CMS) to allow staff members to performs updates, blog posts, and upload galleries. The CMS has put them in charge of their [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-large wp-image-82" title="nova-portfolio" src="http://zorinweb.com/wp-content/uploads/2009/12/nova-portfolio-1024x713.jpg" alt="nova-portfolio" width="440" height="306" />Nova Forca are a successful BJJ (Brazilian Jiu Jitsu) and MMA house based in Surrey and with operations in London. Their existing site was treated to a redesign and a content management system (CMS) to allow staff members to performs updates, blog posts, and upload galleries. The CMS has put them in charge of their content and encouraged them to post more articles, which among other good points, benefits search engine optimization (SEO).</p>
<p><span id="more-70"></span></p>
<p>For updating the site via a mobile when out and about, a Twitter feed was incorporated and placed prominantly at the top. When needing to post results live from a competetion, short sharp Tweets are perfect.</p>
<p>SEO figured highly in the remit; like any other business, it&#8217;s important to reach new members through appropriate search terms. For<em> &#8216;bjj surrey&#8217;</em>, Nova Forca has climbed to third position on page-one of Google beneath the local business listings. It&#8217;s not long before they&#8217;ll adorn the top spot. For <em>&#8216;bjj london&#8217;</em> &#8211; a very competitive search &#8211; they&#8217;re at the top of page-two and climbing.</p>
<p>As the site&#8217;s coded well and utilises a semantic CMS such as WordPress, it&#8217;s well poised to do well in the search rankings under a variety of seach terms. Naturally, the site&#8217;s SEO process requires ongoing analysis of keywords related to their industry, and its data from Google Analytics. Additional inbound links will serve as a bonus.</p>
]]></content:encoded>
			<wfw:commentRss>http://zorinweb.com/2009/12/web-design-and-seo-services-for-surrey-based-sports-fir/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

