<?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>Michael Howlett</title>
	<atom:link href="http://www.michaelhowlett.co.uk/feed" rel="self" type="application/rss+xml" />
	<link>http://www.michaelhowlett.co.uk</link>
	<description></description>
	<lastBuildDate>Sun, 03 Apr 2011 12:11:15 +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 Side Project: I Like Movies (on hold)</title>
		<link>http://www.michaelhowlett.co.uk/new-side-project-i-like-movies</link>
		<comments>http://www.michaelhowlett.co.uk/new-side-project-i-like-movies#comments</comments>
		<pubDate>Fri, 27 Aug 2010 15:26:35 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[ilikemovies.co.uk]]></category>

		<guid isPermaLink="false">http://www.michaelhowlett.co.uk/?p=408</guid>
		<description><![CDATA[Been a while since I've posted, had some downtime on the server and also potentially three new projects in the pipeline (nice) and have been designing some new themes for the site. Anyway, for a long time now I have wanted, thought about and considered the possibility of running my own movie review site. Why? I hear you scream. It has not entirely escaped my notice that IMDB and Rotten Tomatoes are already out there, not to mention around about twenty-bizillion other review sites, some of which are rather nice.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">&nbsp;</p>
<p style="text-align: justify;">Been a while since I&#8217;ve posted, had some downtime on the server and also potentially three new projects in the pipeline (nice) and have been designing some new themes for the site. Anyway, for a long time now I have wanted, thought about, and considered the possibility of running my own movie review site. <em>Why? </em>I hear you scream. It has not entirely escaped my notice that IMDB and Rotten Tomatoes are already out there, not to mention around about twenty-bizillion other review sites, some of which are rather nice.</p>
<p>The full idea of what I want to do and to achieve is not fully formulated in my head just yet &#8211; but so far my thoughts are thus: One of the reasons I loathe the a fore mentioned two big hitters is the brash and unconsidered approach to the way they present reviews and discussion. I have had a wealth of experience using both sites and there is too much love and hate going on. Now, I really like movies, I like them more than music, television and even games; it is my preferred choice of pass-time. But I find it impossible to engage in any respectable level of discussion on either site; not to say that it is impossible to do so, but it is a challenge. Most of what is worthy of discussion is lost in between childish bickering and nonsensical trolling. I personally feel anyone who says that The Godfather is the worst film ever made needs to be sectioned, unless they can provide a stand-up reason for that statement. And that is what I want. I want a site where people can, and can only, represent their views on movies through sensible and detailed discussion.</p>
<p>A site which caters only for true fans of films, people who love films. I want to sweep aside the crass hate, the unfounded love and outright arrogance of those sites to be left with people who can appreciate any film whether it is Gone with the Wind, or Babe: Pig in the City. People who want to share their thoughts and feelings on movies and who have a passion for writing.</p>
<p>Currently this idea is taking up comfortable living quarters in my head. If anyone wants to add ideas or offer some help then I am all ears.</p>
<p>(Had to put this project on hold as i&#8217;m working for another company at the moment &#8211; But I will return to this as soon as I can as it is something i&#8217;d love to do.  I will also be looking to completely overhaul my site design in the coming weeks/months. I like having a blog, but I don&#8217;t use it enough &#8211; so might look to create a portfolio site and then have a separate blog. Decisions.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelhowlett.co.uk/new-side-project-i-like-movies/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project: Miles Murphy</title>
		<link>http://www.michaelhowlett.co.uk/project-miles-murphy</link>
		<comments>http://www.michaelhowlett.co.uk/project-miles-murphy#comments</comments>
		<pubDate>Thu, 08 Jul 2010 15:01:57 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[milesmurphy.co.uk]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.michaelhowlett.co.uk/?p=399</guid>
		<description><![CDATA[Miles is very happy with this new site, and I am very pleased with what is essentially my first start-to-finish web design.]]></description>
			<content:encoded><![CDATA[<p>Well, after a bit of deliberation and discussion I can now <em>pretty much</em> sign off Miles&#8217; new video portfolio site. I say pretty much as there are still a few possible additions in the future regarding the social tabs detailed in my <a title="Final Design" href="http://www.michaelhowlett.co.uk/miles-murphy-final-design" target="_blank">prior post</a> so currently only the link to his vimeo page is online.</p>
<p>Nevertheless, an overall sense of a job well done from both ends of the project &#8211; Miles is very happy with this new site, and I am very pleased with what is essentially my first start-to-finish web design. We decided to go with a WordPress base for the site, despite the clear lack of &#8220;blog&#8221; features , and only a total of two pages.</p>
<p>That decision was taken by me for one reason alone:<em> ease of use. </em>Miles doesn&#8217;t have any coding experience or know-how and so rather than force him to learn HTML or follow templates or documentation, I felt it would be more productive to try to take as much, if not all, of that aspect of his website away from him. This made the entire site creation fairly straight forward.</p>
<p>Miles&#8217; site updates dynamically through a powerful plugin called <a title="Tube Press Official Site" href="http://tubepress.org/" target="_blank">TubePress</a>, which pulls in his channel from Vimeo and displays it all on one page. Miles only has to upload a new video to his Vimeo account and it updates automatically on his site; which is something is he more than happy doing. It did take a lot of the complications away from me, but it does offer a stable and accessible method by which Miles can manage his website&#8217;s content efficiently.</p>
<p>Other snippets of code on his site includes an @font-face heading, a CSS3 div-box-shadow, which although not fully supported by all browsers, offers a touch of extra style to those with modern browsers. The contact page is very similar to my own (on the Feeling Pinky theme), making use of <a title="Contact Form 7 Official Site" href="http://contactform7.com/" target="_blank">ContactForm 7 </a>another terrific and simple plugin.</p>
<p><strong>Brief Overview</strong></p>
<ul>
<li>Full website design and code</li>
<li>Stylish aesthetic</li>
<li>Dynamic video updating</li>
<li>Clean, light and resource friendly</li>
<li>Some use of advanced/CSS3 mark-up</li>
<li>Basic SEO</li>
<li>Full future site support from me</li>
</ul>
<p><strong>If you are looking for a talented, experienced and skilled video editor then please pay a visit to <a title="Miles Murphy" href="http://www.milesmurphy.co.uk/" target="_blank">www.milesmurphy.co.uk</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelhowlett.co.uk/project-miles-murphy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Miles Murphy: Final Design</title>
		<link>http://www.michaelhowlett.co.uk/miles-murphy-final-design</link>
		<comments>http://www.michaelhowlett.co.uk/miles-murphy-final-design#comments</comments>
		<pubDate>Wed, 30 Jun 2010 15:15:22 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[milesmurphy.co.uk]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.michaelhowlett.co.uk/?p=371</guid>
		<description><![CDATA[Having sent my three initial concept designs to Miles we went through and decided upon which of each we liked and which parts we didn't. Also to be taken into consideration at this time was whether to use Wordpress as a base to build the site.]]></description>
			<content:encoded><![CDATA[<p>Having sent my <a href="http://www.michaelhowlett.co.uk/miles-murphy-video-portfolio-project" target="_blank">three initial concept designs</a> to Miles we went through and decided on which parts of each we liked and which parts we didn&#8217;t. Also to be taken into consideration at this time was whether to use WordPress as a base to build the site. <em>More on that later</em></p>
<p>Having looked at all the designs, a few elements were discussed in length before i sat down to attempt a final design.  First of all, design <a href="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/07/miles3.jpg" target="_blank">concept 3</a> was fairly quickly dropped; Miles wanted to have thumbnail displays for the videos rather than a list. Which left <a href="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/07/miles.jpg" target="_blank">design 1</a> and <a href="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/07/miles2.jpg" target="_blank">design 2</a> open for evaluation.</p>
<p>It was agreed that design 1 was probably the most visually appealing, but Miles liked the &#8220;personal&#8221; touch of having his image underneath his sub-header as if delivering a direct quote. <em>It would be sensible to point out at this point that Miles wanted a limited website, no &#8220;About Me&#8221; page or extensive navigation; just his work and a way to contact him.</em></p>
<p>Design 2 also incorporated a &#8220;social&#8221; tab linking to Miles&#8217; profiles on Youtube, Vimeo, LinkedIn etc. As this is to be a video site I felt that allowing people to choose where to view his videos was important &#8211; and it also offers people to opportunity to subscribe to his channel if they so wish.</p>
<p>So essentially, the final design should have the aesthetic of design 1 but the more personal feel of design 2. And so I threw both into the meat grinder and came back to Miles with this design:</p>
<p style="text-align: center;">
<div id="attachment_380" class="wp-caption aligncenter" style="width: 630px"><a href="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/07/concept4.png"><img class="preview    " title="concept4" src="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/07/concept4.png" alt="Final Design" width="620" height="279" /></a><p class="wp-caption-text">Click for Full-Size</p></div>
<p>It is now up to me to decide how to code the site. That&#8217;ll be next.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelhowlett.co.uk/miles-murphy-final-design/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Miles Murphy: Video Portfolio Project</title>
		<link>http://www.michaelhowlett.co.uk/miles-murphy-video-portfolio-project</link>
		<comments>http://www.michaelhowlett.co.uk/miles-murphy-video-portfolio-project#comments</comments>
		<pubDate>Mon, 14 Jun 2010 09:54:10 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[milesmurphy.co.uk]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.michaelhowlett.co.uk/?p=342</guid>
		<description><![CDATA[I was recently approached by Miles Murphy, a video editor based in London, to create a complete start to finish website to showcase his portfolio of work. This posed a first chance for me to undertake a project from design through implementation with almost every aspect of the sites design and code left entirely up to me.]]></description>
			<content:encoded><![CDATA[<p>I was recently approached by Miles Murphy, a video editor based in London, to create a complete start to finish website to showcase his portfolio of work. This posed a first chance for me to undertake a project from design through implementation with almost every aspect of the sites design and code left entirely up to me.</p>
<p>Miles has been working as a video editor since moving to London after completing a Media Production degree and now has a body of work that he wants to be able to show potential new clients/employers using a simple, clean and sleek online portfolio.</p>
<p>After looking into some &#8220;50 Best Video Profiles&#8221;, and the like, inspirational articles dotted around the web I started pulling together some design ideas.</p>
<p>Here are the three i proposed to Miles; I wanted him to pick the elements from each that he liked and then work from there.</p>

<a href='http://www.michaelhowlett.co.uk/miles-murphy-video-portfolio-project/miles2' title='Miles-Concept-1'><img width="150" height="150" src="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/07/miles2-150x150.jpg" class="attachment-thumbnail" alt="Dark Theme for Miles" title="Miles-Concept-1" /></a>
<a href='http://www.michaelhowlett.co.uk/miles-murphy-video-portfolio-project/miles' title='Miles-Concept-2'><img width="150" height="150" src="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/07/miles-150x150.jpg" class="attachment-thumbnail" alt="Grey and Blue Theme" title="Miles-Concept-2" /></a>
<a href='http://www.michaelhowlett.co.uk/miles-murphy-video-portfolio-project/miles3' title='Miles-Concept-3'><img width="150" height="150" src="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/07/miles3-150x150.jpg" class="attachment-thumbnail" alt="White and Black Theme" title="Miles-Concept-3" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.michaelhowlett.co.uk/miles-murphy-video-portfolio-project/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project: Rob McCarthy</title>
		<link>http://www.michaelhowlett.co.uk/project-rob-mccarthy</link>
		<comments>http://www.michaelhowlett.co.uk/project-rob-mccarthy#comments</comments>
		<pubDate>Sat, 22 May 2010 17:21:39 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[robmccarthy.co.uk]]></category>
		<category><![CDATA[Theme Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.michaelhowlett.co.uk/?p=270</guid>
		<description><![CDATA[I recently completed an entire website recoding project for Rob McCarthy on his personal design site. Rob is a print, layout and web designer currently working for WDL Designs in Colchester. I approached Rob with a proposition of turning his personal design and portfolio site into a clean coded Wordpress site.]]></description>
			<content:encoded><![CDATA[<p>I recently completed an entire website recoding project for Rob McCarthy on his personal design site. Rob is a print, layout and web designer currently working for WDL Designs in Colchester.</p>
<p>This project came about when Rob’s new website design went live and I decided to take a look into the website code; as the website to all intense and purpose looked to be a blog site – and I’m always interested in other peoples coding techniques.</p>
<p>I was quickly surprised to see that although the site had the aesthetic of a blog; it was in fact a standard HTML and CSS site involving many HTML pages and over complicated CSS style sheets.</p>
<div id="attachment_300" class="wp-caption alignleft" style="width: 310px"><a href="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/05/Screenshot_1.png" target="_blank"><img class="preview-small  " title="robmccarthy-main" src="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/05/Screenshot_11-e1273519380850.png" alt="" width="300" height="249" /></a><p class="wp-caption-text">Original Index Page (click for full size)</p></div>
<div id="attachment_301" class="wp-caption alignleft" style="width: 310px"><a href="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/05/Screenshot_2.png" target="_blank"><img class="preview-small " title="robmccarthy-single" src="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/05/Screenshot_2-th.png" alt="" width="300" height="237" /></a><p class="wp-caption-text">Original Single Page (click for full size)</p></div>
<p>I contacted Rob via Facebook and proposed an entire recode of his site design into a more manageable WordPress site. By Rob’s own admission he leans far more toward design than code and was glad to accept my request.</p>
<p>The site was built within a fairly tight deadline as Rob had been already adding in content to his old site in order to build an online presence and wanted to continue doing so as soon as possible. The entire process from first proposal to completion took just under two weeks <em>some time was lost due to re-hosting the website and a few other factors. The site took approximately 10-15 hours to fully implement.</em></p>
<p><strong>Brief Overview</strong></p>
<ul>
<li>Total site recode to a three-column WordPress site</li>
<li>Reduced HTML code from approximately 1200 lines to 300 lines</li>
<li>Reduced over 8000 lines of CSS across 16 style sheets to just 200 lines on one style sheet</li>
<li>Reduced over 40 W3C errors to a complete pass</li>
<li>Used a work-around to separate post text and post images from the_content</li>
<li>Produced detailed documentation for Rob on using WordPress CMS, and provided HTML templates to create posts and news items</li>
</ul>
<p>Obviously the most important part of this site design was that it completely streamlined the entire process of adding content to the site. Whereas Rob had previously been coding up individual HTML and CSS pages and then manually adding/removing content from the main index page and category pages, he is now able to just concentrate entirely on post content. The coding side is mostly now out of his hands, thanks in part to the powerful WordPress architecture.</p>
<p><strong>Visit Rob McCarthy&#8217;s Website here: <a href="http://www.robmccarthy.co.uk" target="_blank">www.robmccarthy.co.uk</a><a href="http://www.michaelhowlett.co.uk/project-rob-mccarthy/"><br />
</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelhowlett.co.uk/project-rob-mccarthy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Feeling Pinky Code</title>
		<link>http://www.michaelhowlett.co.uk/feeling-pinky-code</link>
		<comments>http://www.michaelhowlett.co.uk/feeling-pinky-code#comments</comments>
		<pubDate>Fri, 07 May 2010 15:48:42 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[michaelhowlett.co.uk]]></category>
		<category><![CDATA[Theme Development]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Code]]></category>

		<guid isPermaLink="false">http://www.michaelhowlett.co.uk/?p=222</guid>
		<description><![CDATA[In this post I am going to talk about some of the coding decisions I made to achieve the look and feel of the theme. The theme in itself was designed to be 'simple' as its working title suggested, so the code was fairly straight forward with nothing too expansive. Nevertheless, I did discover some new snippets of code so I thought I would share.]]></description>
			<content:encoded><![CDATA[<p>In this post I am going to talk about some of the coding decisions I made to achieve the look and feel of the theme. The theme in itself was designed to be &#8216;simple&#8217; as its working title suggested, so the code was fairly straight forward with nothing too expansive. Nevertheless, I did discover some new snippets of code so I thought I would share.</p>
<p><em>First things first, It would be terribly wrong of me not to mention <a title="Elliot Jay Stocks Website" href="http://elliotjaystocks.com/" target="_blank">Elliot Jay Stocks</a> and his <a href="http://elliotjaystocks.com/starkers/" target="_blank">Starkers WordPress Theme</a>. Anyone looking for a solid foundation to begin WordPress theme designing need look no further. It gives some sensible CSS resets and puts in place a basic outline of WordPress mark-up for you to tweak and make your own.</em></p>
<p>And we&#8217;re back.</p>
<p>I will not go into great length about the process of building a blog theme (there are many excellent sites that already provide this including WordPress themselves) but I would like to brush over a few techniques I found useful and hopefully others will too.</p>
<p><strong>Image Rollovers</strong></p>
<p>One thing I really don&#8217;t like seeing on any website is the momentary flicker when a div changes from one image to another. Call me pedantic, but even with fast internet, it just looks bad. I used a really basic and simple solution when designing the Michael Howlett logo, and I will probably never use the two images method again.</p>
<p>It&#8217;s pretty simple; this is how the logo looks.</p>
<div class="wp-caption aligncenter" style="width: 440px"><img title="Michael Howlett" src="http://www.michaelhowlett.co.uk/wp-content/themes/simple/images/logo-24.png" alt="Michael Howlett" width="430" height="30" /><p class="wp-caption-text">See, it&#39;s just one image</p></div>
<p><em>Take some care in this as you need to make sure the dimensions are exact. Here the image has a width of 430px, so make sure both images are exactly half of whatever width you are using otherwise you will get slight shifts.</em></p>
<p>Then simply use this code inside a Div, and give it a class.</p>
<p>{code type=html}<a class="rollover" title="Michael Howlett" href="http://www.URL-Destination.com"></a>{/code}</p>
<p>Then in your Style sheet use something like this<br />
{code type=css}a.rollover{<br />
width: 215px;<br />
height: 30px;<br />
display: block;<br />
background: url(images/Image-name.png) top left no-repeat;<br />
margin: 10px 20px;<br />
}</p>
<p>a.rollover:hover<br />
{<br />
background-position: -215px;</p>
<p>}{/code}</p>
<p>Pretty simple eh? Just declare the width of the rollover as half the total image width, then add a negative of that value to the rollover. Now, no more stupid micro-second flicker every time I hover over a link.</p>
<p><strong>WordPress Post ID</strong></p>
<p>Prior to version 2.8 The Loop, as a standard, offered one class and one id for each post &#8211; the class of &#8220;post&#8221; and the id being the post number so something like &#8220;post-341&#8243;. With a new syntax it is now possible, without the use of plugins or extended code, to give each post a class depending upon its category or tag. So rather than having to declare styles for each post using its id <em>which would be insane</em> you can now style posts depending on what category its under.</p>
<p>Most people will have this, know of this etc etc but for those who don&#8217;t and want it, just replace the old code of<br />
{codetype=html}
<div class="post" id="post-<?php the_ID(); ?>&#8220;>{/code}</p>
<p>with</p>
<p>{codetype=html}
<div <?php post_class() ?> id=&#8221;post-<?php the_ID(); ?>&#8220;>{/code}</p>
<p>So now rather just having each post within The Loop return a class of &#8216;post&#8217; or its id it returns a value which looks (using my previous post as an example)</p>
<p>{codetype=html}
<div id="post-196" class="post-196 post hentry category-theme-development category-wordpress tag-michaelhowlett-co-uk">{/code}</p>
<p><strong>Post Thumbnails</strong></p>
<p>Again, as of WordPress 2.8, an inbuilt ability to add thumbnails to your post list was introduced. <em>Something that should have been put in place a long time ago me thinks</em>. Prior to this you&#8217;d need to get plugins, fiddle and faff about with custom fields and all that, which is a long winded and needlessly complicated way of doing something simple.</p>
<p>Firstly, check out the WordPress codex on <a href="http://codex.wordpress.org/Post_Thumbnails">Post Thumbnails</a>. But I will quickly go over the basics of what needs to be done to enable post thumbnails.</p>
<p>Firstly, insert this code into Functions.php before the closing arrow bracket (this will allow for the &#8220;post thumbnail&#8221; box to appear on the bottom right of the post/page creation window on WordPress.)</p>
<p>{codetype=html}add_theme_support( &#8216;post-thumbnails&#8217; );{/code}</p>
<p>Then you need to add the code to your Index.php file within the loop. Here is how my posts are set up to be displayed:</p>
<p>{codetype=html}</p>
<div class="post-content">
<div class="post-text">
    <?php the_excerpt('Read the rest of this entry &raquo;'); ?>
  </div>
<div class="post-thumb">
    <a href="<?php the_permalink() ?>&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Permanent Link to <?php the_title_attribute(); ?>&#8220;><?php the_post_thumbnail(); ?></a>
  </div>
</div>
<p>{/code}</p>
<p>As you can see, I have separated the excerpt text from the image and placed them within separate divs. I have also added the posts permalink to the thumbnail so that it acts as a link to the full post.</p>
<p>Each thumbnail will be given the <em>wp-post-image</em> class. So all that remains it’s to style this in CSS</p>
<p>{codetype=css}.wp-post-image{<br />
width: 300px;<br />
height: auto;<br />
border-style:none;<br />
margin: 5px;<br />
}{/code}</p>
<p>Notice a simple bonus technique there? Declaring an images width, but leaving the length auto keeps any image re-size in the correct aspect ratio. Simple I know, but I see plenty of people not using that.</p>
<p><strong>Alternating Classes</strong></p>
<p><em>I won&#8217;t pretend to have worked this out on my own, i got some good information from <a href="http://adambrown.info/b/widgets/easy-php-tutorial-for-wordpress-users/posts-that-have-alternating-colors/">adambrown.info.</a></em></p>
<p>Lastly for this post, I will show you how I used alternating classes to achieve the layout of my archive and search results pages. This is very useful if you wish to have alternating styles on posts &#8211; some people like to have the background colour change, or have the post title switch from left to right aligned. Anything you want.</p>
<p>in my case, I wanted the archive to be displayed in a two column style and this was just about the only means I could figure out to do this as the Loop usually just spews out the posts as it likes.</p>
<p>First, add this to the Funtions.php<br />
{codetype=html}$odd_or_even = &#8216;odd&#8217;;{/code}</p>
<p>Then you need these two separate lines to be placed in or around the loop</p>
<p>{codetype=html}<?php $odd_or_even = 'odd'; ?></p>
<p><?php $odd_or_even = ('odd'==$odd_or_even) ? 'even' : 'odd'; ?></p>
<div class="post-<?php echo $odd_or_even; ?>&#8220;>{/code}</p>
<p>The first line goes before the While part of the loop. The next two lines go after the While part of the loop. Here is how my archive.php looks</p>
<p>{codetype=html}<br />
  <?php $odd_or_even = 'odd'; ?><br />
  <?php while (have_posts()) : the_post(); ?><br />
    <?php $odd_or_even = ('odd'==$odd_or_even) ? 'even' : 'odd'; ?></p>
<div class="post-<?php echo $odd_or_even; ?>&#8220;>
<div <?php post_class() ?> id=&#8221;post-<?php the_ID(); ?>&#8220;>{/code}</p>
<p>This code will give each post either odd or even class, as well as the more expansive Post ID I mention earlier. Its then up to you how you wish to style .post-odd and .post-even in your CSS. I merely floated one left, the other right and declared a width and min-height to conform to my layout.</p>
<p>I think that&#8217;ll do. Any questions at all, feel free to ask.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelhowlett.co.uk/feeling-pinky-code/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Feeling Pinky Theme</title>
		<link>http://www.michaelhowlett.co.uk/feeling-pinky-theme</link>
		<comments>http://www.michaelhowlett.co.uk/feeling-pinky-theme#comments</comments>
		<pubDate>Mon, 26 Apr 2010 14:08:44 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[michaelhowlett.co.uk]]></category>
		<category><![CDATA[Theme Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.michaelhowlett.co.uk/?p=196</guid>
		<description><![CDATA[I have published the new theme for my blog, unable to think of a clever or funny name I've decided to call it "Feeling Pinky". It is still under the final stages of development, just ironing out the creases which are bound to appear the more I add to the site.

I will just run through some of the design features and some of the changes I've made from the Photoshop mock-up I discussed in my previous post.]]></description>
			<content:encoded><![CDATA[<p>I have published the new theme for my blog, unable to think of a clever or funny name I&#8217;ve decided to call it &#8220;Feeling Pinky&#8221;. It is still under the final stages of development, just ironing out the creases which are bound to appear the more I add to the site.</p>
<p>I will just run through some of the design features and some of the changes I&#8217;ve made from the Photoshop mock-up I discussed in my <a href="http://www.michaelhowlett.co.uk/basic-theme-initial-stages">previous post</a>.</p>
<div class="wp-caption aligncenter" style="width: 598px"><a href="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/04/Simple-stage1.jpg" target="_blank"><img class="preview " title="Feeling-Pinky-Original" src="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/04/Simple-stage1.jpg" alt="Original Design Idea" width="588" height="688" /></a><p class="wp-caption-text">Click for full-size</p></div>
<p>As you can see, I didn’t strictly follow my own design guide. Several reasons are behind this; to start with I didn’t really like the bulky feel of the site with the slate like title, heavy black bordering boxes. As I began to implement the css for the site and actually look at it as a website I felt it was too overbearing with large headings and text. My original thinking behind the design was for something fairly compact, but with enough white space to give it an airy feel.</p>
<p>So, with that original thought still in mind, I decided to uniform the text and heading sizes, remove any extra text styling and stick with 1em Arial – <em>if it aint broke, don’t fix it</em>. I set about reducing the size of the black boxes (I say black; they’re an incredibly dark red &#8211; pretty unnoticeable.) I added in dotted borders to separate elements within specific areas; within lists, under the main body of text <em>yarda yarda yarda</em>.</p>
<p>The intention to create more themes of varying nature is still on the agenda, but how I display them <em>will </em>be reconsidered. It is very likely have a list within the sidebar or footer – which will be a constant across all themes I design – and then have a dedicated ‘page’ to display the theme and give relating posts regarding their creation.</p>
<p><em>The next post will go more in detail some of the coding decisions, after all, that’s more my game than designing.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelhowlett.co.uk/feeling-pinky-theme/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Feeling Pinky: Initial Stages</title>
		<link>http://www.michaelhowlett.co.uk/basic-theme-initial-stages</link>
		<comments>http://www.michaelhowlett.co.uk/basic-theme-initial-stages#comments</comments>
		<pubDate>Sun, 18 Apr 2010 16:32:55 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[michaelhowlett.co.uk]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.michaelhowlett.co.uk/?p=102</guid>
		<description><![CDATA[I have drawn up a basic design in Photoshop for a new theme for the site. Once again i have taken creative measures in naming this theme - "simple".

My hope is to make this the 'default' theme for the website; it is clean, simple and uses all the familiar elements for a Wordpress blog. I will also reserve space under the header to display "alternative theme" screenshots for front-end users to browse and choose a theme which best suits them.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-101" title="basic-theme" src="http://www.michaelhowlett.co.uk/wp-content/uploads/2010/03/basic-theme.png" alt="Basic Theme Snapshot" width="600" height="375" /></p>
<p>I have drawn up a basic design in Photoshop for a new theme for the site. Once again i have taken creative measures in naming this theme &#8211; &#8220;simple&#8221;.</p>
<p>My hope is to make this the &#8216;default&#8217; theme for the website; it is clean, simple and uses all the familiar elements for a WordPress blog. I will also reserve space under the header to display &#8220;alternative theme&#8221; screenshots for front-end users to browse and choose a theme which best suits them.</p>
<p><span id="more-102"></span></p>
<p>The Photoshop mock design is largely used for me to see the individual elements of each section of the header, main-index, sidebar and footer in order to quickly turn into a code.</p>
<p>When i first got my hands on WordPress and began developing my own theme i neglected this stage of the process &#8211; and in hindsight can now see how imperative a design, even a basic one, can be in streamlining the entire coding process. Using a grid base to layout the design has also drastically reduced the time needed for additional spacing tweaks which plagued my prior design (which i have since deleted in disgust&#8230;), with a uniformed layout the need to add individual padding and margins will not be necessary.</p>
<p>Some elements will need to be considered during the mark-up stage of development but the vast majority of this design is now ready to code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelhowlett.co.uk/basic-theme-initial-stages/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Theme Up, More to Come</title>
		<link>http://www.michaelhowlett.co.uk/new-theme-up-more-to-come</link>
		<comments>http://www.michaelhowlett.co.uk/new-theme-up-more-to-come#comments</comments>
		<pubDate>Sat, 17 Apr 2010 21:17:35 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[michaelhowlett.co.uk]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.michaelhowlett.co.uk/?p=88</guid>
		<description><![CDATA[So, the new theme is done; which i have creatively named "basic". However, it doesn't stop there.]]></description>
			<content:encoded><![CDATA[<p>So, the new theme is done; which i have creatively named &#8220;basic&#8221;. However, it doesn&#8217;t stop there.</p>
<p>I used the basic theme as a learning curve and get to grips with WordPress coding and CSS and from here i plan to rapidly create several other themes which will be usable on this site. My hope is to create a a new theme from start to finish in a matter of hours. I will then utilize a theme switcher plug-in to allow visitors to the site to pick the theme which best suits them; so variety is key.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelhowlett.co.uk/new-theme-up-more-to-come/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

