<?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>Haiz Design Note Pad</title>
	<atom:link href="http://haizdesign.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://haizdesign.com/blog</link>
	<description>Website &#38; Graphic Design Tips &#38; Tutorials</description>
	<lastBuildDate>Sat, 12 May 2012 17:26:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Add a Hype File to Your WordPress Theme</title>
		<link>http://haizdesign.com/blog/wordpress/add-hype-file-to-wordpress-theme/</link>
		<comments>http://haizdesign.com/blog/wordpress/add-hype-file-to-wordpress-theme/#comments</comments>
		<pubDate>Fri, 04 May 2012 14:43:45 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Hype]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://haizdesign.com/blog/?p=1468</guid>
		<description><![CDATA[For anyone wanting to add an animated element to a website, you won&#8217;t go far wrong if you use Hype by Tumult. This new tool makes it easy for designers to create animated graphics without writing the code. The days of Flash as the must-use tool for web designers are over. Web banners and animations [...]]]></description>
			<content:encoded><![CDATA[<p>For anyone wanting to add an animated element to a website, you won&#8217;t go far wrong if you use <a title="Get Hype from the Tumult website" href="http://tumultco.com/hype/" target="_blank">Hype</a> by Tumult. This new tool makes it easy for designers to <strong>create animated graphics without writing the code</strong>.</p>
<p><span id="more-1468"></span></p>
<div id="hdlogo_hype_container" class="alignleft" style="position: relative; overflow: hidden; width: 300px; height: 300px;"><script type="text/javascript" charset="utf-8" src="/blog/wp-content/uploads/hd-logo_Resources/hdlogo_hype_generated_script.js?43322"></script></div>
<p>The days of Flash as the must-use tool for web designers are over. Web banners and animations don&#8217;t play on iDevices and as many people are moving in ever-growing numbers to mobile browsing, <strong>jQuery</strong>, <strong>HTML5</strong> and <strong>CSS3</strong> have stepped in to offer designers alternative solutions for creating engaging, animated content. However, writing some of the code means learning yet another language and for many front-end web designers this can get in the way of the creative play.</p>
<p>Hype has a very familiar timeline-based interface and a gentle learning curve. I&#8217;m not going to post a tutorial here as there are plenty of good resources over at the Tumult website. Instead, I want to tackle another issue &#8211; <strong>displaying Hype content in a WordPress theme</strong> ONLY when it is the home page.</p>
<h2>Embedding a Hype File in a Standard WordPress Post or Page</h2>
<p>To add a Hype file to a post or page in WordPress it goes like this:</p>
<ol>
<li>Create your file.</li>
<li>Export as HTML5 &gt; Folder.</li>
<li>Open the .html file that is generated and copy the lines that are clearly marked &lt;!&#8211; copy &#8211;&gt;</li>
<li>Upload your folder to your domain. Choose the wp-content/uploads directory.</li>
<li>Open up your page or post in the WordPress editor and switch over to the HTML tab. (This is important!)</li>
<li>Paste in your lines of code from point 3 above. (You can add classes to the div if you wish.)</li>
<li>Edit the path so the src points to your /wp-content/uploads directory.</li>
</ol>
<p>That&#8217;s it. An example of this can be seen above and there is <a title="Embedding Hype in WordPress" href="http://hype.desk.com/customer/portal/articles/175658-embedding-in-wordpress-posts-pages-themes-" target="_blank">an article over at Tumult</a> that shows how to work around any issues caused by caching plugins.</p>
<h2>Embedding a Hype File in a WordPress Theme</h2>
<p>The article on the Tumult site (link above) also covers adding Hype documents to a theme. However, it specifically tells you to paste your code <em>outside</em> of any PHP tags. If you want your animation to show ONLY on a specific page, such as the home page, you can still add your file but you will need to use another couple of steps and some conditional code.</p>
<ol>
<li>Create your file and export a folder , as before.</li>
<li>Open the .html file and strip it down a little, so you end up with something like this:<em>&lt;!DOCTYPE html&gt;</em><br />
<em> &lt;html&gt;</em><br />
<em> &lt;head&gt;</em><br />
<em> &lt;/head&gt;</em><br />
<em> &lt;body&gt;&lt;!&#8211; copy these lines to your document: &#8211;&gt;</em><br />
<em> &lt;div id=&#8221;landingpg_hype_container&#8221; style=&#8221;position:relative;overflow:hidden;width:900px;height:290px;&#8221;&gt;</em><br />
<em> &lt;script type=&#8221;text/javascript&#8221; charset=&#8221;utf-8&#8243; src=&#8221;&lt;?php bloginfo(&#8216;template_url&#8217;); ?&gt;/landing-pg_Resources/landingpg_hype_generated_script.js?37509&#8243;&gt;&lt;/script&gt;</em><br />
<em> &lt;/div&gt;</em><em>&lt;!&#8211; end copy &#8211;&gt;</em><br />
<em> &lt;/body&gt;</em><br />
<em> &lt;/html&gt;</em></li>
<li>Save the file as a PHP file &#8211; animation.php for example, and upload the resources folder to your theme folder, so both both file and folder should be in your WordPress theme folder.</li>
<li>Still in your WP theme folder, open up <strong>page.php</strong>. (Remember, this file is the template for your default pages. The index.php is for the list of posts on a page.) You can include your animation.php page in your page file, and wrap it in a &lt;div&gt; if you want to add some extra styling. Put something like this, wherever you want to add the file to your template:<em><br />
&lt;?php </em></p>
<p>if (is_front_page()) {</p>
<p>echo &#8216;&lt;div id=&#8221;image-panel&#8221;&gt;&#8217;;<br />
include_once( TEMPLATEPATH .&#8217;/animation.php&#8217;);<br />
echo &#8216;&lt;/div&gt;&#8217;;</p>
<p>}</p>
<p>?&gt;</li>
</ol>
<p>Here&#8217;s an example of a file (wrapped in a &lt;div&gt;) that shows only on the landing page: <a title="Hype file embedded in a WordPress theme" href="http://haizdesign.com/livinglarge/" target="_blank">Living Large dev site</a>.</p>
<p>If you want to target a page other than the home page, <a title="function reference - is page tag in wordpress " href="http://codex.wordpress.org/Function_Reference/is_page" target="_blank">see this page</a> on the WordPress codex for conditional page tags.</p>
]]></content:encoded>
			<wfw:commentRss>http://haizdesign.com/blog/wordpress/add-hype-file-to-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using The New Gridify Feature in InDesign CS5</title>
		<link>http://haizdesign.com/blog/indesign/using-the-new-gridify-feature-in-indesign-cs5/</link>
		<comments>http://haizdesign.com/blog/indesign/using-the-new-gridify-feature-in-indesign-cs5/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 17:13:18 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[InDesign]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Graphic design]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://haizdesign.com/blog/?p=1458</guid>
		<description><![CDATA[Adobe InDesign CS5 introduced a few new tools, one of which makes creating multiple frames on the page an absolute breeze. In fact, creating them, with equal spacing and setting the spacing all happens in a single go. The tool (or perhaps more accurately, the technique) used involves the Frame tool and the arrow keys [...]]]></description>
			<content:encoded><![CDATA[<p>Adobe InDesign CS5 introduced a few new tools, one of which makes creating multiple frames on the page an absolute breeze. In fact, creating them, with equal spacing and setting the spacing all happens in a single go.</p>
<p><span id="more-1458"></span></p>
<p>The tool (or perhaps more accurately, the technique) used involves the Frame tool and the arrow keys on the keyboard. The left/right arrows sub-divide the frame into columns and the up/down keys create rows. Here is a quick InDesign tutorial video showing how quick the process is.<br />
<iframe width="480" height="360" src="http://www.youtube.com/embed/5Gjhpk8Vmo0" frameborder="0" allowfullscreen></iframe><br />
Once you have frames created, you can use another new feature, the Gap tool, to resize your frames whilst keeping the spaces between the frames as they were originally. Furthermore, if you check the Auto-fit box (another new feature), any placed images will automatically resize as you drag and resize the containing frames.</p>
]]></content:encoded>
			<wfw:commentRss>http://haizdesign.com/blog/indesign/using-the-new-gridify-feature-in-indesign-cs5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Show Content Only on The Home Page of WordPress Sites</title>
		<link>http://haizdesign.com/blog/wordpress/how-to-show-a-div-only-on-the-home-page/</link>
		<comments>http://haizdesign.com/blog/wordpress/how-to-show-a-div-only-on-the-home-page/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 11:35:37 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Customisation]]></category>
		<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://haizdesign.com/blog/?p=1454</guid>
		<description><![CDATA[If you are using your WordPress installation as a CMS for a website, you may well not be using the blog posts list as your landing page. In this case, you may want to have a page that displays content, such as a &#60;div&#62; only when that page is the landing page. The key to [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using your WordPress installation as a CMS for a website, you may well not be using the blog posts list as your landing page. In this case, you may want to have a page that displays content, such as a &lt;div&gt; <em>only</em> when that page is the landing page.</p>
<p><span id="more-1454"></span></p>
<p>The key to this trick is simple and therefore, the explanation is equally simple.</p>
<p>First of all, you need to understand that the <strong>home page</strong> in WordPress-terms, refers to the blog posts index page. The page that you have chosen as your front page (Settings &gt; Reading) is the <strong>front page</strong> and not the home page.</p>
<div id="attachment_1455" class="wp-caption alignnone" style="width: 469px"><img class="size-full wp-image-1455" title="WordPress front page" src="http://haizdesign.com/blog/wp-content/uploads/2012/04/front-page.png" alt="WordPress front page" width="459" height="186" /><p class="wp-caption-text">The WordPress front page selection</p></div>
<p>Select the static page option then choose a front page from the drop menu. (This assumes that you have already created your static pages.) Depending on your page or content needs, open the <strong>page.php</strong> file and click where you need to add your unique content. Enter something like this:</p>
<p><em>    &lt;?php  </em><br />
<em>    if ( is_front_page ( ) ) {</em><br />
<em>    echo &#8216;&lt;div id=&#8221;front-panel&#8221;&gt;&#8217;;</em><br />
<em>    echo &#8220;This is unique content that only appears here on the site front page&#8221;;</em><br />
<em>    echo &#8216;&lt;/div&gt;&#8217;;</em><br />
<em>    }</em><br />
<em>    ?&gt;</em></p>
<p>You can add ids and classes to your content as shown in the code above. For the blog posts index page, use <em>is_home( )</em> instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://haizdesign.com/blog/wordpress/how-to-show-a-div-only-on-the-home-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Massage In Mind Website</title>
		<link>http://haizdesign.com/blog/portfolio/massage-in-mind-website/</link>
		<comments>http://haizdesign.com/blog/portfolio/massage-in-mind-website/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 18:07:32 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[design for business start-up]]></category>
		<category><![CDATA[Dynamic websites]]></category>
		<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://haizdesign.com/blog/?p=1446</guid>
		<description><![CDATA[I recently built a website for Massage In Mind &#8211; a company offering Swedish Massage and Shiatsu Chair Massages in your workplace or in your own home. Like many of the sites I am building these days, the Massage In Mind website was designed and built using WordPress as the CMS for the client, as [...]]]></description>
			<content:encoded><![CDATA[<p>I recently built a website for <strong>Massage In Mind</strong> &#8211; a company offering Swedish Massage and Shiatsu Chair Massages in your workplace or in your own home.</p>
<p><span id="more-1446"></span></p>
<p>Like many of the sites I am building these days, the <a title="Massage In Mind website" href="http://www.massageinmind.com" target="_blank">Massage In Mind website</a> was designed and built using WordPress as the CMS for the client, as many people find this a very simple and easy to learn system for site management. I like it for many reasons, mainly the flexibility and expandability through plugins, but also because it is easy to hand over to clients, allowing them to manage their own content.</p>
<p>I had already created a logo for the client which established the colour scheme for the new site and related business stationery. (If you are a new business starting up and need help with affordable design solutions, Haiz Design offers a range of services covering all aspects of online and print promotion. See the <a title="Haiz Design main website" href="http://www.haizdesign.com" target="_blank">main site</a> for more details.)</p>
<p>The Massage In Mind site incorporates a MailChimp newsletter sign-up, a calendar for showing the therapist&#8217;s availability, booking forms and handles payments via PayPal.</p>
<div id="attachment_1448" class="wp-caption alignnone" style="width: 615px"><img class=" wp-image-1448  " title="massage in mind website" src="http://haizdesign.com/blog/wp-content/uploads/2012/03/mim-site.jpg" alt="massage in mind website" width="605" height="564" /><p class="wp-caption-text">Massage In Mind website</p></div>
]]></content:encoded>
			<wfw:commentRss>http://haizdesign.com/blog/portfolio/massage-in-mind-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vtec Wide-Angle And Macro Lenses For iPhone 4S</title>
		<link>http://haizdesign.com/blog/iphone/vtec-wide-angle-and-macro-lenses-for-iphone-4s/</link>
		<comments>http://haizdesign.com/blog/iphone/vtec-wide-angle-and-macro-lenses-for-iphone-4s/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 19:20:05 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iphonography]]></category>
		<category><![CDATA[vtec lenses for iPhone]]></category>

		<guid isPermaLink="false">http://haizdesign.com/blog/?p=1417</guid>
		<description><![CDATA[I have just purchased the new vtec wide angle and macro lens attachments for my iPhone 4S. Costing just £24.99 (I bought mine from Amazon) I was keen to extend the capabilities of my already very good iPhone camera. Here is my mini review. Background I am at best, an amateur photographer with no pro-kit [...]]]></description>
			<content:encoded><![CDATA[<p>I have just purchased the new <a title="vtec wide angle and macro lenses for the iphone 4/4S" href="http://www.vtec.co.uk/Products/ProductInfo.aspx?ProductID=440" target="_blank">vtec wide angle and macro lens</a> attachments for my iPhone 4S. Costing just £24.99 (I bought mine from Amazon) I was keen to extend the capabilities of my already very good iPhone camera. Here is my mini review.</p>
<p><span id="more-1417"></span></p>
<div id="attachment_1421" class="wp-caption alignleft" style="width: 360px"><img class="size-full wp-image-1421" title="vtec-iphone-lenses" src="http://haizdesign.com/blog/wp-content/uploads/2012/03/vtec-lenses.jpg" alt="vtec-iphone-lenses" width="350" height="263" /><p class="wp-caption-text">vtec macro and wide angle lenses for iPhone 4 /4S</p></div>
<h2>Background</h2>
<p>I am at best, an amateur photographer with no pro-kit and no technical knowledge about photography, I just like macro shots and know what looks good to me. The thought of getting even more out of my camera was appealing, and at less than £25 this pack is a steal, but it does come at a price&#8230;</p>
<p>I didn&#8217;t take many wide angle shots as I&#8217;m more interested in the macro lens, as such, I will base my views on this lens. </p>
<h2>The Review</h2>
<p>The pack comes with a new case for your iPhone 4/4S and the lenses screw on to the case, directly over the iPhone lens and flash. This means that the flash is obscured and no longer available for use. This is not a problem in most situations, but if you are planning on using the wide angle lens for indoor shots you need to consider your lighting. Also, the slight &#8216;neck&#8217; on the vtec case means it doesn&#8217;t sit so comfortably in your pocket. The macro screws on to the case first and the wide angle lens is attached over that. The design is great in theory but this is where the unit cost becomes a factor &#8211; my only issue is in the build quality. Having only had it for a couple of days, it was very easy to over-tighten the macro lens making it almost impossible to remove. Rather than break it in trying, I have returned mine to Amazon already! It really needs some kind of knurled edge to get hold of.</p>
<div id="attachment_1427" class="wp-caption alignleft" style="width: 260px"><img class="size-full wp-image-1427" title="vtec lens side-on" src="http://haizdesign.com/blog/wp-content/uploads/2012/03/vtec-side-view.jpg" alt="vtec iphone lens side-on" width="250" height="250" /><p class="wp-caption-text">vtec lens side-on</p></div>
<p>As you can see, the two lenses don&#8217;t protrude too much, and the idea of the case is a good one. I know the <a title="Olloclip iPhone lenses" href="http://www.olloclip.com/" target="_blank">olloclip</a> lenses clip over the edge of an (uncased) iPhone, and these come in a bag that doubles as a lens cleaning cloth. Both <strong>olloclip</strong> and <strong>vtec</strong> versions are supplied with two lens caps &#8211; one for either end to keep the lenses safe whilst in your pocket.</p>
<p>The quality of the macro shots was what really interested me as I like getting up close to photograph textures and objects that I can use in my own artwork. With macro photography, the images themselves are often visually engaging and the vtec macro lens really does enhance the iPhone&#8217;s native camera significantly. Without the macro lens, it is difficult to get very close to your subject, maybe 20cm at best. But the macro lens lets you almost pop the lens right next to whatever you are photographing. If you have one of the tripods that are also available for your phone, holding it close is a breeze. The macro shots have a noticeable blur at the edges (like a zoom blur) and this can add some creative potential to your shots. Or, you can &#8220;shoot wide and crop&#8221; or whatever the saying is amongst those in the know!</p>
<p>Here is a photo of the back of a playing card without and with the macro lens attached.</p>
<div id="attachment_1430" class="wp-caption alignnone" style="width: 610px"><img class="size-full wp-image-1430" title="With and without a macro lens" src="http://haizdesign.com/blog/wp-content/uploads/2012/03/macro.jpg" alt="With and without a macro lens" width="600" height="450" /><p class="wp-caption-text">Without and with the vtec macro lens</p></div>
<h2>Summary</h2>
<p>In summary, I think the lens(es) are excellent and if the macro could be removed easily from the case I would have no hesitation in continuing to use the vtec product. The price really makes the product a bargain and in some ways a no-brainer for anyone with more than a passing interest in snapshots. I&#8217;m sure the image quality of the more expensive lenses is better, but for the price you are getting an attachment that gives your iPhone a whole lot more potential as a camera.</p>
<p>Having got a taste for macro shots again, I might just check out the olloclip lenses and review those too.</p>
<p>In the meantime, here&#8217;s a selection of macro shots for you to check out:</p>
<div class="ngg-galleryoverview" id="ngg-gallery-2-1417">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-61" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/img_0335.jpg" title="Playing Card" rel="lightbox[set_2]" >
								<img title="Playing card" alt="Playing card" src="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/thumbs/thumbs_img_0335.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-62" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/img_0341.jpg" title="Lampshade" rel="lightbox[set_2]" >
								<img title="Lampshade" alt="Lampshade" src="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/thumbs/thumbs_img_0341.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-63" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/img_0343.jpg" title="Flower" rel="lightbox[set_2]" >
								<img title="Flower" alt="Flower" src="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/thumbs/thumbs_img_0343.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-64" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/img_0358.jpg" title="Speaker Cover" rel="lightbox[set_2]" >
								<img title="Speaker Cover" alt="Speaker Cover" src="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/thumbs/thumbs_img_0358.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-65" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/img_0359.jpg" title="Keyboard" rel="lightbox[set_2]" >
								<img title="Keyboard" alt="Keyboard" src="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/thumbs/thumbs_img_0359.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-66" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/img_0363.jpg" title="Bubble wrap" rel="lightbox[set_2]" >
								<img title="Bubble wrap" alt="Bubble wrap" src="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/thumbs/thumbs_img_0363.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-67" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/img_0366.jpg" title="Coin" rel="lightbox[set_2]" >
								<img title="Coin" alt="Coin" src="http://haizdesign.com/blog/wp-content/gallery/vtec-macro-shots/thumbs/thumbs_img_0366.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>

]]></content:encoded>
			<wfw:commentRss>http://haizdesign.com/blog/iphone/vtec-wide-angle-and-macro-lenses-for-iphone-4s/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create eCommerce Online Galleries With Light Blue Software</title>
		<link>http://haizdesign.com/blog/website-advice/creating-web-galleries/</link>
		<comments>http://haizdesign.com/blog/website-advice/creating-web-galleries/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 15:57:09 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[Website Advice]]></category>
		<category><![CDATA[directory protection]]></category>
		<category><![CDATA[eCommerce for Photographers]]></category>
		<category><![CDATA[Light Blue]]></category>
		<category><![CDATA[web galleries]]></category>

		<guid isPermaLink="false">http://haizdesign.com/blog/?p=1340</guid>
		<description><![CDATA[Following on from my post on customising web galleries for Light Blue, here is part two where I am going to show how to add templates, create web galleries, upload them and password protect your client&#8217;s galleries. The focus previously was in customising the galleries, however, this tutorial is aimed at passing on a custom [...]]]></description>
			<content:encoded><![CDATA[<p>Following on from my post on <a href="http://haizdesign.com/blog/css/customising-web-galleries-with-light-blue-for-photographers/" title="Customising Web Galleries Using Light Blue for Photographers">customising web galleries for Light Blue</a>, here is part two where I am going to show how to add templates, create web galleries, upload them and password protect your client&#8217;s galleries.</p>
<p><span id="more-1340"></span></p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/LightBlue.png" alt="Light Blue Software for Photographers" title="Light Blue Software for Photographers" width="130" height="130" class="alignleft size-full wp-image-1364" />The focus previously was in customising the galleries, however, this tutorial is aimed at passing on a custom template to a photographer and for photographers wanting to upload their web galleries and password protect them for their clients. <a title="Business management software for photographers" href="http://www.lightbluesoftware.com/" target="_blank">Light Blue</a>, is business management software for photographers, running on both Macs and PCs. It can be used to run your photography business, helping you to keep contacts, calendars, prices, invoices etc organised, and it can also be used to quickly create web galleries enabling you to <strong>sell your photos online</strong> via PayPal.</p>
<p>The software ships with several pre-built templates which can be used immediately for creating your gallery pages. If you have had a template created by a designer, there are a couple of extra steps you need to take to add them to your available templates in Light Blue. Once you have your templates in place, there is a <a title="skip to the workflow" href="#workflow">4-step workflow</a> to getting your photo galleries online and sharing them with your clients.</p>
<ol>
<li>Create the gallery folder using Light Blue.</li>
<li>Upload it to your web space using FTP (<a title="Transmit FTP app" href="http://www.panic.com/transmit/" target="_blank">Transmit</a>, <a title="FireFTP for Firefox" href="http://fireftp.mozdev.org/" target="_blank">FireFTP</a>, <a title="Fetch FTP for Mac" href="http://fetchsoftworks.com/" target="_blank">Fetch</a> etc).</li>
<li>(Optional step) Password protect the new gallery directory/folder.</li>
<li>Create a page link or a blog Post with a link to the new gallery directory/folder.</li>
</ol>
<h2>Adding or Creating New Templates</h2>
<p>Open Light Blue and go to the Settings tab to see where your Archive files are being kept. Yours will be in a different location to mine most likely:</p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/001-Light-Blue-Settings-690x186.png" alt="Archive location" title="Archive location" width="690" height="186" class="alignnone size-large wp-image-1389" /></p>
<p>Locate this folder on your system and if you have been supplied with your own watermark file, open the web gallery watermark folder. Rename the file inside here (I called mine original-watermark.png) and copy the new supplied watermark in as shown:</p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/002-archive.png" alt="watermark" title="watermark" width="335" height="186" class="alignleft size-full wp-image-1390" />If you are creating a watermark, I would suggest you make something that does not distract too much from the photographs themselves. If you use Photoshop (!), start by creating an image about 210px wide. The height will be determined by your watermark&#8217;s aspect ratio. Give the file a transparent background and add your mark on a layer. If you are using a white watermark, reduce the opacity to around 45% and save the file as a transparent .png file.</p>
<p>Back in the Light Blue settings, you can either over-write an existing template or add a new one by clicking the plus button on the web galleries tab. Set or change the values in the top row of boxes to suit the sizes your designer has chosen:<a href="http://haizdesign.com/blog/wp-content/uploads/2012/02/003-gallery-templates1.png" rel="lightbox[1340]"><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/003-gallery-templates1-690x138.png" alt="Gallery templates" title="Gallery templates" width="690" height="138" class="alignnone size-large wp-image-1391" /></a></p>
<p>If you have been supplied with template files, click on the folder icon to the left of these text boxes &#8211; it has a little green arrow on it. This opens up the folder on your hard drive where all the templates are kept, open at the template you will be using:</p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/004-template-location.png" alt="Template location" title="Template location" width="357" height="484" class="alignnone size-full wp-image-1392" /></p>
<p>Double-click the folder so you are seeing only the contents of this folder in your Finder window. (Here, I am showing my path to this folder for reference.)</p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/005-template-files-690x286.png" alt="Template files" title="Template files" width="690" height="286" class="alignnone size-large wp-image-1393" /></p>
<p>Replace ALL of these files with the ones inside the folder you have been given. Delete the content first then drag the new versions in. It should look exactly the same with the new files in place. These contain all the styling for your galleries and can now be used as we start the 4-step workflow shown above.</p>
<h2 id="workflow">Web Galleries Workflow</h2>
<p><strong>1.</strong>    In Light Blue, click the Shoots tab and select your shoot by clicking the arrow to the left of the Ref:</p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/006-LightBlue-Shoots-1-690x93.png" alt="Light Blue Shoots" title="Light Blue Shoots" width="690" height="93" class="alignnone size-large wp-image-1394" /></p>
<p>This opens the main page for the shoot. Some things to note here, later on you will be building your gallery and the Title (in this case Stuart&#8217;s Gallery) will appear as the title of the gallery on the page. The date/time will also appear in brackets, so make this match your wedding/shoot date. Check that you have selected the correct price list for your gallery, then click on the Linked pictures tab:</p>
<p><a href="http://haizdesign.com/blog/wp-content/uploads/2012/02/007-LightBlue-Shoots-2.png" rel="lightbox[1340]"><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/007-LightBlue-Shoots-2-300x137.png" alt="Light Blue Shoots 2" title="Light Blue Shoots 2" width="300" height="137" class="alignleft size-medium wp-image-1395" /></a>Clicking the Create folder button opens a new Finder window where you can choose the destination for your Shoot folder.</p>
<p>A new folder is created (you can rename this if you want in the usual way) with two sub-folders inside it; processed and unprocessed. You need to move/copy your raw images here. If you want to use an existing folder, click the Link folder button:</p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/008-Image-files1.png" alt="Image files" title="Image files" width="440" height="206" class="alignleft size-full wp-image-1396" /></p>
<p>Click Import images and you get to choose a prefix for the images. This starts the import process (using the processed images folder&#8217;s contents. When the import is complete they will appear with their filenames, date and file extension shown.</p>
<p>In the Web gallery panel, click on the Template name to select your template. If you click the selection arrow (in red) it will open the template files directory/folder. Give your folder a name. This is the name of the folder you will be uploading so make sure there are no-spaces-in-the-name. Use dashes or upperCaseLetters to name the folders. The spelling is important so remember whatever convention you use, or your link that you add later will not work! Click the Generate gallery button:</p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/009-Select-Template.png" alt="Select Template" title="Select Template" width="558" height="197" class="alignnone size-full wp-image-1397" /></p>
<p>A dialogue panel opens, click the Build button and sit back as your web gallery is built. A new web gallery sub-folder is created inside your Image files folder (above), and the folder you have just built is shown. You can open it and test that everything is as intended, by clicking the index.html file inside your new folder:</p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/010-web-gallery.png" alt="Web gallery folder" title="Web gallery folder" width="269" height="143" class="alignnone size-full wp-image-1398" /></p>
<p><strong>2. </strong>   Connect to your website using an ftp app (Fetch/Transmit/FireFTP etc) and navigate to your chosen upload destination. In this case, it will be a &#8220;clients&#8221; folder/directory. Upload the new folder &#8211; the whole thing, not just the contents:</p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/011-upload-folder.png" alt="Upload folder" title="Upload folder" width="249" height="80" class="alignnone size-full wp-image-1399" /></p>
<p><strong>3.</strong>    This is an optional step if you client wants their web gallery directory password-protected. In a browser window, navigate to your cPanel (as used and shown here) or web hosting Control Panel and log in. Go to the Security section &gt; Password Protect Directories:</p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/012-password-protect.png" alt="Password protect" title="Password protect" width="516" height="302" class="alignnone size-full wp-image-1400" /></p>
<p>Click the folder icon next to the clients folder name, then click on the name of the folder you want to protect:</p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/013-select-folder.png" alt="Select folder" title="Select folder" width="442" height="163" class="alignnone size-full wp-image-1401" /></p>
<p>In the top section, tick the Password protect box. Name the directory &#8211; this will be the name that shows up in the login panel and does not have to be the same as the folder you uploaded:</p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/014-protected-300x155.png" alt="Protected folder" title="Protected folder" width="300" height="155" class="alignnone size-medium wp-image-1402" /></p>
<p>Click the Save button. You can &lt; Go Back to create a Username and Password for your client (make a note of this!!!) then click the Add/modify authorized user button. Click the &lt; Go Back button to return to the previous screen and add any other users who you want to have access to this folder, or just use the same Username/Password for everyone. Users will now need to log in to access this page when you send them the link:</p>
<p><img src="http://haizdesign.com/blog/wp-content/uploads/2012/02/015-log-in-300x172.png" alt="Log in" title="Log in" width="300" height="172" class="alignnone size-medium wp-image-1403" /></p>
<p><strong>4.</strong>    On your website or in your WordPress/Joomla (insert appropriate CMS here) you can now create a blog post &#8211; add a featured image and whatever text you want, along with a link to your newly-created and uploaded folder. When viewed in HTML mode it will be something like: http://www.your-domain.co.uk/clients/st-gallery/. Publish your page and share the link and any login details with your client.</p>
<p>That&#8217;s it &#8211; thanks to Light Blue you can now enjoy selling and showing your photographs online.</p>
<p>If you would like any help building or redesigning your websites, <a title="Contact me for help with your web galleries" href="http://www.haizdesign.com/contact.php">drop me an email</a> and I will be happy to discuss what I can do for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://haizdesign.com/blog/website-advice/creating-web-galleries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customising Web Galleries Using Light Blue for Photographers</title>
		<link>http://haizdesign.com/blog/css/customising-web-galleries-with-light-blue-for-photographers/</link>
		<comments>http://haizdesign.com/blog/css/customising-web-galleries-with-light-blue-for-photographers/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 16:54:50 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[eCommerce for Photographers]]></category>
		<category><![CDATA[Light Blue]]></category>
		<category><![CDATA[Styling Web Galleries]]></category>

		<guid isPermaLink="false">http://haizdesign.com/blog/?p=1363</guid>
		<description><![CDATA[Recently, a client who is a wedding photographer, asked me about including some eCommerce facility so he could sell prints from his website. He has a client area built using WordPress and galleries were being delivered through the NextGEN Gallery plugin. Finding a way to sell images from a gallery in WordPress turned out to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, a client who is a <strong>wedding photographer</strong>, asked me about including some eCommerce facility so he could sell prints from <a title="London Wedding Photography by Andrew Olney" href="http://www.andrewolneyweddingphotography.co.uk" target="_blank">his website</a>. He has a client area built using WordPress and galleries were being delivered through the NextGEN Gallery plugin. Finding a way to sell images from a gallery in WordPress turned out to be a challenge on this occasion&#8230;</p>
<p><span id="more-1363"></span></p>
<p><img class="alignleft size-full wp-image-1364" title="Light Blue Software for Photographers" src="http://haizdesign.com/blog/wp-content/uploads/2012/02/LightBlue.png" alt="Light Blue Software for Photographers" width="130" height="130" />The problem was that some of these galleries extended to over 400 pictures so manually inputting them as products was very time-consuming. After trying various options like <a title="eCommerce for WordPress" href="http://jigoshop.com" target="_blank"><strong>Jigoshop</strong></a>, <a title="eCommerce for WordPress" href="http://cart66.com" target="_blank"><strong>Cart66</strong></a> and <a title="eCommerce for WordPress" href="https://shopplugin.net/" target="_blank"><strong>Shopp</strong></a>, he decided to invest in some 3rd-party software written specifically for managing a photography business &#8211; <a title="Business management software for photographers" href="http://www.lightbluesoftware.com/" target="_blank"><strong>Light Blue</strong></a>. Using Light Blue, I was able to build web galleries for Andrew that can be uploaded to his site, where he can offer prints to his wedding clients, in a range of sizes, with payments being handled through PayPal. Customising the templates included with the software involves editing a few files, mainly CSS and HTML. (The jQuery/JavaScript editing for the lightboxes is less of an issue I imagine.) Let&#8217;s dip in and make a start!</p>
<p>If you already have Light Blue set up, jump to the <a href="#styling">styling section here</a>.</p>
<blockquote><p>This is part one of a two-part tutorial. <a title="Create eCommerce Online Galleries With Light Blue Software" href="http://haizdesign.com/blog/website-advice/creating-web-galleries/">Part two</a> is aimed at designers who are asked to style Light Blue templates for their clients, how to use the templates to generate online galleries, and password protect your client&#8217;s photographs.</p></blockquote>
<h2>Light Blue</h2>
<p>Download and install a 30-day free copy of <a title="Download Light Blue software for photographers" href="http://www.lightbluesoftware.com/" target="_blank">Light Blue from their website</a>. Both Mac and PC flavours are available &#8211; I&#8217;m working on a Mac so this is based on my system. Install it in the usual way for your operating system and you will be asked to select a folder for Archive &amp; backup. Your theme templates are going to be created in here during installation.</p>
<p><img class="alignleft size-full wp-image-1368" title="Settings" src="http://haizdesign.com/blog/wp-content/uploads/2012/02/001-settings.png" alt="Settings" width="218" height="103" /><img class="alignright size-full wp-image-1369" title="web gallery settings" src="http://haizdesign.com/blog/wp-content/uploads/2012/02/002-paypal.png" alt="web gallery settings" width="359" height="221" />Once installed, go to the Settings tab and enter the name of your client in the Registration name field for the Licensing section. This is going to be used in your page templates so it is helpful to enter their name so you can see how it looks on your pages. Still on the Settings tab, click the web galleries section on the left to input the URL for the website and their PayPal email address:</p>
<p>If you want to create a Price list for your client, click the Price lists tab across the top of the Settings bar and add your print sizes and prices. These are going to show up on your pages as drop-menu options. Some of the templates already have some price lists that you can edit if you prefer. If you create your own, you need to make sure you tick the &#8220;Use on web&#8221; box or they won&#8217;t appear. Now you need to go to the Shoots button and import some images to use for your galleries.</p>
<p><img class="alignnone size-full wp-image-1371" title="Shoots" src="http://haizdesign.com/blog/wp-content/uploads/2012/02/003-shoots.png" alt="Shoots" width="208" height="59" /></p>
<p><img class="alignleft size-full wp-image-1372" title="Details" src="http://haizdesign.com/blog/wp-content/uploads/2012/02/004-details.png" alt="Details" width="279" height="202" />Create a shoot by filling out some details and set your Price list. <strong>The Title</strong> is going to appear as your main gallery page heading, on the page, and by default, the <strong>Start date/time</strong> appears next to the title in parentheses. Click on the Linked pictures tab to import your images.</p>
<p>Clicking the Create folder button creates the main folder to hold your shoot images and web galleries. It has 2 folders inside it for processed and unprocessed images.</p>
<p><img class="alignleft size-full wp-image-1374" title="Import Images" src="http://haizdesign.com/blog/wp-content/uploads/2012/02/008-Image-files.png" alt="Import Images" width="352" height="165" />Alternatively, you can link to an existing folder using the Link folder button. For the purposes of styling your web gallery template, drag or copy your pictures into the processed folder and once they are there click the Import images button.</p>
<h2 id="styling">Styling Your Web Galleries</h2>
<p>You can now check through the supplied Light Blue templates to see if you have something you want to work with. Click the field next to Template and a drop-menu appears with a list of available templates. Create a folder name, bearing in mind that this will be the name of the folder you are going to upload. Make sure there are <strong>no spaces</strong>: use dashes, underscores or camelCaseCapitalising for your folder name.</p>
<p><img class="alignnone size-full wp-image-1376" title="Web gallery" src="http://haizdesign.com/blog/wp-content/uploads/2012/02/005-gallery.png" alt="Web gallery" width="364" height="98" /></p>
<p>Click the Generate gallery button and your folder will be created, with the name you chose above. Open that and you will see an <em>index.html</em> file that you can double-click to load in a browser and check out your gallery. Generate previews only creates the images that will make up your thumbnails and large images. Once your gallery page loads in the browser window, you can see how things look and repeat the process of generating new folders using different templates. This is the slow bit, but a quick way of working is to use a small test set up of images, say 10 &#8211; 15 so you get an idea of how they sit on the page. When you find a template you want to work with and style, click the arrow next to the Template name and it will take you to the list of templates. You can now set the sizes in pixels of large (lightbox) images and thumbnails as well as the image quality. folder where the necessary files are kept.This can also be accessed by going to Settings &gt; Web galleries:</p>
<p><a href="http://haizdesign.com/blog/wp-content/uploads/2012/02/003-gallery-templates.png" rel="lightbox[1363]"><img class="alignnone size-large wp-image-1377" title="Web gallery templates" src="http://haizdesign.com/blog/wp-content/uploads/2012/02/003-gallery-templates-1024x205.png" alt="Web gallery templates" width="600" height="120" /></a></p>
<p>Clicking the folder icon with a green arrow on it, beside the template name takes you to folder containing the files you are going to edit. There are 2 HTML files and a resources folder. The template you choose determines what is inside the resources folder, but it may have an Images sub-folder and folders for Scripts and Styles. Generally, the css styles for the pages will be declared in the pages themselves. They can be moved out into a separate css file that you link to but this is only advisable if the image sizes are not going to be changed! The 2 HTML files are:</p>
<p><em>imagePage.html</em> &#8211; The page template for single images<br />
<em>thumbsPage.html</em> &#8211; The gallery page and folder index page itself.</p>
<h2>Styling the Web Gallery Page</h2>
<p>Open thumbsPage.html in a text editor (NOT Microsoft Word!) The &lt;title&gt; uses the name of the shoot along with the date/time. After this you get some styles, most of which have obvious names, and you can add your own styles here or create your own stylesheet in the resources folder and link to it. At the most basic level, you are very likely going to want to edit the <em>body</em> style so the <em>color</em> and <em>background</em> matches your site. If you use a background-image, add it to the Images (capital I) folder in your resources folder if you have one.</p>
<p>The #shootTitleContainer is for the on-page title and this is followed by a &lt;div&gt;that holds the thumbnails and the code for their large overlays. If you have chosen an eCommerce template, there will also be a &lt;span&gt; with inline styling for the &#8216;Buy this image&#8217; link. Beneath this is the #footer &lt;div&gt; where a link to the website home page sits. This address was set in the Settings &gt; Web galleries &gt; Home URL box earlier. You can add or change what is here if you wish. In fact, if you want to use an included file like a sidebar.html, there is no reason why you can&#8217;t add all that to the page markup.</p>
<h2>Individual Image Pages</h2>
<p>The imagePage.html can be edited for the pages that are generated for all the individual images. Again, the &lt;title&gt; uses the shoot title and date/time and if you have chosen an eCommerce template <em>%eCommerceScripts%</em> appears in the document &lt;head&gt;. Don&#8217;t delete this or your price list will not show on the page; there is an #eCommerceContainer &lt;div&gt; that holds the vital %eCommerce% reference and you can style this if you want to using the <em>select</em> element.</p>
<p>Again, the css styles are embedded in the page and you can edit them or add your own. Here are the elements you can edit straight away &#8211; click on the image for the full-size version:</p>
<p><a href="http://haizdesign.com/blog/wp-content/uploads/2012/02/css.jpg" rel="lightbox[1363]"><img class="alignnone size-large wp-image-1378" title="CSS elements for the Image Page" src="http://haizdesign.com/blog/wp-content/uploads/2012/02/css-1024x766.jpg" alt="CSS elements for the Image Page" width="690" height="517" /></a></p>
<p>If you need any help styling your Light Blue web galleries or are interested in having your site redesigned, <a title="Contact me for help with your web galleries" href="http://www.haizdesign.com/contact.php">contact me</a> and I&#8217;ll be happy to help.</p>
]]></content:encoded>
			<wfw:commentRss>http://haizdesign.com/blog/css/customising-web-galleries-with-light-blue-for-photographers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Exclude a Category From Your WordPress Home Page</title>
		<link>http://haizdesign.com/blog/wordpress/how-to-exclude-a-category-from-your-wordpress-home-page/</link>
		<comments>http://haizdesign.com/blog/wordpress/how-to-exclude-a-category-from-your-wordpress-home-page/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 13:50:45 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Categories]]></category>
		<category><![CDATA[Dynamic websites]]></category>
		<category><![CDATA[twentyeleven]]></category>
		<category><![CDATA[twentyten]]></category>
		<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://haizdesign.com/blog/?p=1351</guid>
		<description><![CDATA[If you have a WordPress site with a list of posts for your home page, it is easy to exclude a category so it doesn&#8217;t appear in the list. You might want to do this if you have a category that appears as a page in it&#8217;s own right, such as a client area on [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a <strong>WordPress site</strong> with a list of posts for your <strong>home page</strong>, it is easy to <strong>exclude a category</strong> so it doesn&#8217;t appear in the list. You might want to do this if you have a category that appears as a page in it&#8217;s own right, such as a client area on the <a title="This blog has a client area that does not appear on the home page" href="http://www.andrewolneyweddingphotography.co.uk/clients/" target="_blank">Andrew Olney Wedding Photography</a> site for example. (The client weddings are in the category of Weddings and have their own button on the site navigation.)</p>
<p><span id="more-1351"></span></p>
<p>It is fairly easy to exclude a category from your home page with 4 lines of code, or 5 if you include the comment!</p>
<p>Open up your loop.php (or page.php depending on your theme) file and look for the line that starts the loop:</p>
<p>&nbsp;</p>
<p><em>&lt;?php while ( have_posts() ) : the_post(); ?&gt;</em></p>
<p>Just before that, you want to add this:</p>
<p><em>&lt;!&#8211; exclude the weddings category from the home page &#8211;&gt;<br />
</em>&lt;?php if ( is_home() ) {<br />
query_posts($query_string . &#8216;&amp;cat=-1&#8242;);<br />
}<br />
?&gt;</p>
<p><em><br />
</em></p>
<p>In this example, the number <strong>1</strong> refers to the category we want to exclude. To find the category number you need to go to the Categories page in the admin panel and hover over the category name. You&#8217;ll see the number in the status bar at the bottom of the browser window.</p>
<p>Save your loop.php (page.php) file and that&#8217;s it.</p>
<p>A side note for people using the twentyten or twentyeleven themes who want to display a category on it&#8217;s own page; these themes use<em> the_excerpt()</em> to display the listed content. If you have links in your entry that are not showing or working as hyperlinks, look for this section of code in your loop.php file:</p>
<p>&nbsp;</p>
<p><em>&lt;?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?&gt;</em><br />
<em> &lt;?php the_excerpt(); ?&gt;</em></p>
<p>&nbsp;</p>
<p>Change <em>the_excerpt()</em> for <em>the_content()</em> and your links will work again.</p>
]]></content:encoded>
			<wfw:commentRss>http://haizdesign.com/blog/wordpress/how-to-exclude-a-category-from-your-wordpress-home-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating WordPress Fails &#8211; How to Fix Update Problems</title>
		<link>http://haizdesign.com/blog/wordpress/wordpress-update-fails/</link>
		<comments>http://haizdesign.com/blog/wordpress/wordpress-update-fails/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 12:00:13 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[updating wordpress]]></category>
		<category><![CDATA[Web hosting]]></category>

		<guid isPermaLink="false">http://haizdesign.com/blog/?p=1341</guid>
		<description><![CDATA[If your WordPress update fails, there may be a quick solution at hand that may not involve manually restoring several critical files. I recently encountered a problem when updating a client&#8217;s WordPress-based website; the update failed. In fact, several attempts failed in spite of logging out and back in again, clearing browser cache and scratching [...]]]></description>
			<content:encoded><![CDATA[<p>If your WordPress update fails, there may be a quick solution at hand that may not involve manually restoring several critical files.</p>
<p><span id="more-1341"></span></p>
<p>I recently encountered a problem when updating a client&#8217;s WordPress-based website; the update failed. In fact, several attempts failed in spite of logging out and back in again, clearing browser cache and scratching my head a couple of times. <img class="size-full wp-image-1342 alignleft" title="wordpress-notice" src="http://haizdesign.com/blog/wp-content/uploads/2012/01/wordpress-notice.png" alt="WordPress update notice" width="306" height="50" />With frequent updates to the core WordPress installation, there are two methods of updating your main site files; either automatically or manually. If you see the nag/notice screen at the top of your admin area click on the Please update now text and you&#8217;ll be taken to the update page with the options buttons:</p>
<p><img class="alignnone size-full wp-image-1343" title="wordpress-update-options" src="http://haizdesign.com/blog/wp-content/uploads/2012/01/wordpress-update-options.png" alt="WordPress update options" width="560" height="99" /></p>
<p>Clicking the blue Update Now button should start the process automatically and as of version 3.3, once this successfully completes you should see a &#8220;What&#8217;s New&#8221; screen.</p>
<p>If your update fails for any reason, you should download the files using the other button and take a <strong>full back-up of your WordPress site</strong>. The best way to do this is is via FTP. There are several apps and programs for this, and a lot of people like the free <a title="FireFTP plugin for Firefox" href="https://addons.mozilla.org/en-US/firefox/addon/fireftp/" target="_blank">FireFTP plugin</a> for Firefox. (It is a good idea to backup your site before any major update to your core installation.) Download the entire folder or directory your site is sitting in.)</p>
<p>Use the WordPress Tools menu to export a file which you can also use for moving content from local to remote installations, or when <strong>moving your WordPress site to another web host</strong>.</p>
<p><img class="alignnone size-full wp-image-1344" title="wordpress-backup" src="http://haizdesign.com/blog/wp-content/uploads/2012/01/wordpress-backup.png" alt="WordPress Backup" width="290" height="74" /></p>
<p>Export all the content and images too as this covers all your bases. If you are moving a site, you can import this file through the Tools menu to fill your new installation with your content.</p>
<p>Now you have a backup, it is worth logging in to any cPanel or web hosting account panel you have that lets you see how much web space you have left. <strong>This can save you a lot of work!</strong> If you are over your limit or have almost no room to spare, updating WordPress might be an issue. Check to see that you don&#8217;t have full email boxes or large backup files eating in to your web space. Clearing some of this out might make all the difference, so if you have this situation and have deleted some unneeded content, try the WordPress updater again.</p>
<blockquote><p>If you use a WordPress backup plugin, you will have options to state how many backups you want to keep. Some of these backup files can be quite large so think how many you need and how often you need to back up your site.</p></blockquote>
<p>If this doesn&#8217;t work, you can trying disabling your plugins and seeing if that makes a difference. You can deactivate them all in one go using the checkbox and drop menu on the Plugins &gt; Installed Plugins page.</p>
<p>If that doesn&#8217;t work, changing some of your WordPress files may be the way to go.</p>
<ol>
<li>Using FTP, delete the <strong>wp-includes</strong> and <strong>wp-admin</strong> directories.</li>
<li>Upload the new ones (from the files you downloaded right at the start.)</li>
<li>Upload any <strong>loose files</strong> from your <strong>wp-content folder</strong>, but do not upload the whole folder or delete the existing one. You will be over-writing any existing files at the root of the wp-content directory.</li>
<li>Upload all the new, individual files that are NOT in the wp-admin, wp-content and wp-includes directories to the root directory of your site (or wherever you installed WordPress.)</li>
</ol>
<p>If you had a failed automatic upgrade, using FTP you need to remove the .maintenance file to clear the &#8220;Failed Update&#8221; nag message.</p>
<p>Hopefully, you should now be able to update your installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://haizdesign.com/blog/wordpress/wordpress-update-fails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Espresso 2 by MacRabbit</title>
		<link>http://haizdesign.com/blog/espresso/espresso-2-by-macrabbit/</link>
		<comments>http://haizdesign.com/blog/espresso/espresso-2-by-macrabbit/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 13:07:38 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[Espresso]]></category>
		<category><![CDATA[Espresso Sugars]]></category>
		<category><![CDATA[Text editor]]></category>
		<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://haizdesign.com/blog/?p=1300</guid>
		<description><![CDATA[If you design and develop websites and are looking for an excellent, feature-packed editor to speed up your coding, then you won&#8217;t go far wrong with Espresso 2 by MacRabbit! With built-in FTP support and a host of useful features, this is my favourite text editor to date. Since moving away from the increasingly-bloated Dreamweaver [...]]]></description>
			<content:encoded><![CDATA[<p>If you design and develop websites and are looking for an excellent, feature-packed editor to speed up your coding, then you won&#8217;t go far wrong with <strong><a title="Espresso 2 by MacRabbit" href="http://macrabbit.com/espresso/" target="_blank">Espresso 2</a></strong> by MacRabbit! With built-in FTP support and a host of useful features, this is my favourite text editor to date.</p>
<p><span id="more-1300"></span></p>
<p>Since moving away from the increasingly-bloated <strong>Dreamweaver</strong> some time ago, I have tried various other options for coding websites. I have tried <strong>TextWrangler</strong>, <strong>Komodo Edit</strong>, <strong>Coda</strong> (demo only as it never had all the features I expected to find, and the Coda 2 release is taking forever to arrive) and <strong>TextMate</strong> which has been my longer-term favourite. However, I think my search for an editor may be over as Espresso 2 does (almost) everything I want and beautifully too! You can get a fully-functional 15-day demo here: <a title="Espresso 2 by MacRabbit" href="http://haizdesign.com/blog/portfolio/hobarts-estate-agents-website-makeover/" target="_blank">http://macrabbit.com/espresso/</a>.</p>
<h2>Initial Steps</h2>
<p>After installing, I had to make a couple of changes in my System Prefs, as I&#8217;m a UK user and Espresso uses the Mac&#8217;s internal understanding of word characters to govern its selection settings. (Double-clicking in URLs selected the entire string including the .com). To fix this I went to System Prefs &gt; Language &amp; Text &gt; Text tab and chose English (United States computer) for my Word breaks. This worked fine after a restart of Espresso.</p>
<div id="attachment_1308" class="wp-caption alignleft" style="width: 272px"><a href="http://haizdesign.com/blog/wp-content/uploads/2011/12/projects.png" rel="lightbox[1300]"><img class="size-full wp-image-1308  " title="projects" src="http://haizdesign.com/blog/wp-content/uploads/2011/12/projects.png" alt="Espresso Projects" width="262" height="281" /></a><p class="wp-caption-text">Espresso Projects</p></div>
<p>I then went to File and created a New Project. Like TextMate, if you do this you can do site-wide searches which is really hany when working with a CMS like WordPress and debugging or editing files. Project icons can be coloured and have graphics added to them, making it visually very quick to select from one of several projects.</p>
<h2>Espresso in Action</h2>
<p>The interface is really good to work with, particularly if you are a mainly front-end designer. You have the project files displayed in a vertical list down the left side and the edit window in the middle. On the right, there is the option to show the code navigator or CSS tools. This can be switched on and off with the slide of a button or using cmd + i.</p>
<p>The navigator helps you to quickly see and jump to points in your code, using a tree structure to display your document hierarchy. It has folded blocks so you can hide and show just what you need to. (The code editor has code-folding too which is one of the odd omissions that stopped me going any further with Coda as an editor.)</p>
<p>Other than code-folding, other very useful features include code-completion and syntax error detection and colouring. You can work with the defaults (I do) or make your own theme. Espresso uses Sugars to extend the functionality and these are much like TextMate&#8217;s bundles. My only wish is that there was a visual editor for creating your own Sugars. There is a Snippets editor and this provides a means to add quick code snippets to your files.</p>
<div id="attachment_1314" class="wp-caption alignright" style="width: 310px"><a href="http://haizdesign.com/blog/wp-content/uploads/2011/12/main-window.png" rel="lightbox[1300]"><img class="size-medium wp-image-1314 " title="main window" src="http://haizdesign.com/blog/wp-content/uploads/2011/12/main-window-300x148.png" alt="Main Espresso window" width="300" height="148" /></a><p class="wp-caption-text">Main Espresso window</p></div>
<p>Standard HTML files can be previewed with live updates (no refresh needed) and there is a feature called X-Ray which lets you see how your CSS is affecting your layouts. This is a little like using Firebug and it&#8217;s a great little tool.</p>
<p>There is support for a range of languages including HTML5, CSS3, JavaScript, PHP, Ruby, Python and XML.</p>
<p>There is no native Diff support for checking or comparing files, although there is a <a title="Changes file comparison app for OS X" href="http://connectedflow.com/changes/" target="_blank">Changes app</a> Sugar which can be installed from Changes. You will need to set Espresso to open in 32-bit mode for this to appear on the Actions menu and I&#8217;m not able to get it working as it does properly in TextMate yet. This means running it in the background.</p>
<p>For CSS editing, MacRabbit have integrated their CSS Edit app, making it a breeze to style your content. In most cases, I find it quicker to manually write the styles for my elements, using the code-completion making it faster still, but for me, this really comes in to it&#8217;s own when it comes to colour selection:</p>
<div id="attachment_1321" class="wp-caption alignleft" style="width: 278px"><a href="http://haizdesign.com/blog/wp-content/uploads/2011/12/color-picker.png" rel="lightbox[1300]"><img class="size-full wp-image-1321 " title="color picker" src="http://haizdesign.com/blog/wp-content/uploads/2011/12/color-picker.png" alt="The Color Picker" width="268" height="302" /></a><p class="wp-caption-text">The Color Picker</p></div>
<p>When I want to colour my elements, I have often gone through a bit of trial and error to find the right tints and tones. With Espresso, this is now incredibly easy as I can work with a familiar colour picker, that lets me also control opacity! Best yet, there is a magnifying glass icon that lets me pick colours from outside of my Espresso workspace. This alone has made me very happy and it is one of my most-used features surprisingly!</p>
<p>Creating CSS3 radial and linear gradients is equally super-easy, making a pretty hefty chunk of code writing effortless. It automatically creates all the code for -moz and -webkit gradients, along with the angle in degrees. If you want to change the angle, it updates both vendor-prefixed lines on-the-fly.</p>
<p>Again, the navigator helps out by giving you visual feedback on the styles in your document. The styles can be re-ordered in your file by simply clicking and dragging them into their new place. This is a fast way to move styles about if you have issues with the cascade in your file. It is obvious that a lot of thought and work has gone into Espresso, from the point-of-view of the end-user and the support provided by Ian at MacRabbit has been excellent.</p>
<h2>FTP Support</h2>
<p>Once you are ready to upload your files, the built-in ftp options make this simple too. You have a choice to sync your site or use one of a couple of other handy methods; auto upload or quick publish. To get started you need to set up your server(s). Click on the Settings button and a nice animation opens the panel to set your servers up.</p>
<div id="attachment_1324" class="wp-caption alignnone" style="width: 310px"><a href="http://haizdesign.com/blog/wp-content/uploads/2011/12/servers.png" rel="lightbox[1300]"><img class="size-medium wp-image-1324" title="servers" src="http://haizdesign.com/blog/wp-content/uploads/2011/12/servers-300x137.png" alt="Espresso FTP servers" width="300" height="137" /></a><p class="wp-caption-text">Espresso FTP servers</p></div>
<p>There is support for FTP, SFTP and S3 engines and you can have more than one server! This is yet another one of those really useful features. If you are working on a development server you can set that up, along with your live site, then you simply decide which server you want to upload files to. No more switching between settings or using a third-party FTP app, this is as simple as choosing from a drop-down menu! To enable auto-uploads, just switch the server of choice on and every time you save the file it uploads to the server. Or, you can right-click on your file in the left pane and upload it to whichever server from there. Or, you can connect to your ftp server and drag files from the left pane to wherever you want on your server. Hover over your directories to expand/open them.</p>
<h2>Summary</h2>
<p>This really is a scratching-of-the-surface as far as Espresso 2 is concerned. I&#8217;ll add some of the shortcuts and snippets I use most in another post soon. I mentioned that you can extend the app with Sugars and I would suggest these for a start:</p>
<p>The <a title="HTML Bundle for Espresso" href="http://onecrayon.com/products/htmlbundle/" target="_blank">HTMLBundle</a> which includes some of the TextMate snippets.</p>
<p>The <a title="jQuery for Espresso" href="https://github.com/derekr/jquery.sugar" target="_blank">jQuery Sugar</a> adds autocompletion for jQuery methods.</p>
<p>Ian&#8217;s <a title="Edit multiple lines in Espresso" href="https://github.com/onecrayon/Handy.sugar" target="_blank">Handy Sugar</a> lets you edit, prepend/append multiple lines at once, and has a neat increment for numbers.</p>
<p><strong>Espresso 2</strong> is beautifully-written, a pleasure to use and makes coding quick and easy. At the moment it costs $79 (£50.61) which is certainly very good value for money. I keep discovering useful features and if built-in file comparisons and a visual sugar editor were added, this would be the best Espresso I ever tasted!</p>
]]></content:encoded>
			<wfw:commentRss>http://haizdesign.com/blog/espresso/espresso-2-by-macrabbit/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

