<?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>gasolicious.com &#187;   &#8211; Website of Mark Gason &#8211; Gasolicious &#8211; design and E-commerce</title>
	<atom:link href="http://gasolicious.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://gasolicious.com</link>
	<description></description>
	<lastBuildDate>Tue, 14 Feb 2012 05:34:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Storefront Elegance Theme, Checkout Page, billing and shipping not aligned</title>
		<link>http://gasolicious.com/storefront-themes/storefront-elegance-theme-checkout/</link>
		<comments>http://gasolicious.com/storefront-themes/storefront-elegance-theme-checkout/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 04:27:49 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Storefront Themes]]></category>

		<guid isPermaLink="false">http://gasolicious.com/?p=1323</guid>
		<description><![CDATA[Why are my Shipping and Billing checkout areas not aligned? A short simple post today about a very specific problem. This is for users of the Storefront Themes Elegance Theme version 1.4.5 and later. See the images This is not a bug. The checkout page is designed to be a full width page. If you [...]]]></description>
			<content:encoded><![CDATA[<h4>Why are my Shipping and Billing checkout areas not aligned?</h4>
<p>A short simple post today about a very specific problem. This is for users of the Storefront Themes Elegance Theme version 1.4.5 and later.</p>
<p>See the images<br />

<a rel="prettyPhoto[slides]" href='http://gasolicious.com/storefront-themes/storefront-elegance-theme-checkout/attachment/notaligned/' title='The problem Billing and Shipping not aligned'><img width="150" height="150" src="http://gasolicious.com/wp-content/uploads/2012/02/notaligned-150x150.jpg" class="attachment-thumbnail" alt="The problem Billing and Shipping not aligned on Checkout page" title="The problem Billing and Shipping not aligned" /></a>
<a rel="prettyPhoto[slides]" href='http://gasolicious.com/storefront-themes/storefront-elegance-theme-checkout/attachment/elegance-vertical-checkout-alignment/' title='The vertical solution checkout page with sidebar'><img width="150" height="150" src="http://gasolicious.com/wp-content/uploads/2012/02/elegance-vertical-checkout-alignment-150x150.jpg" class="attachment-thumbnail" alt="The vertical solution checkout page with sidebar, Storefront Elegance Theme" title="The vertical solution checkout page with sidebar" /></a>
<a rel="prettyPhoto[slides]" href='http://gasolicious.com/storefront-themes/storefront-elegance-theme-checkout/attachment/elegance-standard-checkout-alignment/' title='Standard checkout alignment with full width template'><img width="150" height="150" src="http://gasolicious.com/wp-content/uploads/2012/02/elegance-standard-checkout-alignment-150x150.jpg" class="attachment-thumbnail" alt="The standard alignment Storefront Elegance Theme, checkout page using full width template" title="Standard checkout alignment with full width template" /></a>
</p>
<p>This is not a bug. The checkout page is designed to be a full width page. If you have a sidebar the shipping address can not fit next to billing address and is pushed below. To make checkout full width go to Pages. Open Checkout page and set Template to Full Width. While you are there make sure Parent is your Products page. Update. Your page should now be neat with Shipping Address on the right alongside the Billing Address.</p>
<h4>But I need my sidebar!</h4>
<p>OK OK, just a little CSS will fix that for you. This will align the Shipping Address area beneath billing on the left.</p>
<div class="myCode">
<pre class="brush: css; title: ; notranslate">.sft-gridview-price {
.wpsc_checkout_forms table.wpsc_checkout_table {
    float: left;
}
}</pre>
</div>
<p>Short and sweet.</p>
<div class="note-panel">
<h4>Custom CSS:</h4>
<p>This code belongs in your Custom CSS file. Don&#8217;t have a custom.css? There is an empty one for you to use in the theme folder? You can edit custom.css by going to Appearance/Editor and choosing custom.css from the list of files.<br />
You can also just paste this code in the &#8220;Custom CSS&#8221; box in the Storefront options panel on the Style tab if you will not be making many changes.</p>
<h4>Tools:</h4>
<p>You may also edit custom.css outside WordPress and upload it to your server. You must use an appropriate code editor NOT microsoft word or anything like that which adds a lot of invisible formatting and will be a disaster.<br />
If you do not have one, 2 excellent free ones are&#8230;<br />
TextWrangler for Mac, http://www.barebones.com/products/textwrangler/<br />
Notepad++ for the PC http://notepad-plus-plus.org/</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://gasolicious.com/storefront-themes/storefront-elegance-theme-checkout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using WordPress &#8220;Shortcodes Ultimate&#8221; Plugin.</title>
		<link>http://gasolicious.com/unassigned/wordpress-shortcodes-ultimate/</link>
		<comments>http://gasolicious.com/unassigned/wordpress-shortcodes-ultimate/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 22:05:26 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[unassigned]]></category>

		<guid isPermaLink="false">http://gasolicious.com/?p=1314</guid>
		<description><![CDATA[I am posting this quickly for someone, soon I will turn it into a full blown post about using the shortcodes [column size="1-3" last="0" style="0"] Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. [...]]]></description>
			<content:encoded><![CDATA[<h4>I am posting this quickly for someone, soon I will turn it into a full blown post about using the shortcodes</h4>
<p>[column size="1-3" last="0" style="0"]</p>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &#8220;de Finibus Bonorum et Malorum&#8221; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &#8220;Lorem ipsum dolor sit amet..&#8221;, comes from a line in section 1.10.32.</p>
<p>[/column]<br />
[column size="1-3" last="0" style="0"]</p>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &#8220;de Finibus Bonorum et Malorum&#8221; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &#8220;Lorem ipsum dolor sit amet..&#8221;, comes from a line in section 1.10.32.</p>
<p>[/column]<br />
[column size="1-3" last="1" style="0"]</p>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &#8220;de Finibus Bonorum et Malorum&#8221; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &#8220;Lorem ipsum dolor sit amet..&#8221;, comes from a line in section 1.10.32. </p>
<p>[/column]<br />
[column size="1-2" last="0" style="0"]</p>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &#8220;de Finibus Bonorum et Malorum&#8221; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &#8220;Lorem ipsum dolor sit amet..&#8221;, comes from a line in section 1.10.32. </p>
<p>[/column]<br />
[column size="1-2" last="1" style="0"]</p>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &#8220;de Finibus Bonorum et Malorum&#8221; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &#8220;Lorem ipsum dolor sit amet..&#8221;, comes from a line in section 1.10.32.</p>
<p> [/column]<br />
[tabs style="1"][tab title="ONE"]
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and</p>
<p>[/tab][tab title="TWO"]
<p>Has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical </p>
<p>[/tab][tab title="THREE"]
<p>Of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of “de Finibus Bonorum et Malorum” (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, “Lorem ipsum dolor sit amet..”, comes from a line in section 1.10.32.</p>
<p>[/tab][/tabs]<br />
[tabs style="2"][tab title="ONE"]
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and</p>
<p>[/tab][tab title="TWO"]
<p>Has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical </p>
<p>[/tab][tab title="THREE"]
<p>Of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of “de Finibus Bonorum et Malorum” (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, “Lorem ipsum dolor sit amet..”, comes from a line in section 1.10.32.</p>
<p>[/tab][/tabs]<br />
[tabs style="3"][tab title="ONE"]
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and</p>
<p>[/tab][tab title="TWO"]
<p>Has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical </p>
<p>[/tab][tab title="THREE"]
<p>Of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of “de Finibus Bonorum et Malorum” (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, “Lorem ipsum dolor sit amet..”, comes from a line in section 1.10.32.</p>
<p>[/tab][/tabs]</p>
]]></content:encoded>
			<wfw:commentRss>http://gasolicious.com/unassigned/wordpress-shortcodes-ultimate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show the £ sign and other currency symbols in Storefront Themes that use cufon</title>
		<link>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/show-the-pound-sign-cufon/</link>
		<comments>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/show-the-pound-sign-cufon/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 05:21:33 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Storefront Themes]]></category>
		<category><![CDATA[WP e-Commerce]]></category>

		<guid isPermaLink="false">http://gasolicious.com/?p=1203</guid>
		<description><![CDATA[This is quite specifically for Storefront Themes several of which use cufon fonts. In particular this post steps you through making the changes in the Instant theme, but it could be a useful guide to achieving the same thing with other Storefront themes. It may be of use to anyone with a theme using cufon. [...]]]></description>
			<content:encoded><![CDATA[<p>This is quite specifically for Storefront Themes several of which use cufon fonts. In particular this post steps you through making the changes in the Instant theme, but it could be a useful guide to achieving the same thing with other Storefront themes. It may be of use to anyone with a theme using cufon.</p>
<p>Cufon is a javascript font replacement technique to allow the use of other more fonts beyond the standard browser sets. For more information on cufon fonts and techniques see these sites.<br />
About and how it works at the wiki https://github.com/sorccu/cufon/wiki/about<br />
To make a font http://cufon.shoqolate.com/generate/<br />
Some practical code to implement cufon http://www.lateralcode.com/text-replacement-with-cufon/</p>
<h4>The problem.</h4>
<p>In the Storefront Themes Instant theme cufon font replacement is used for all of the heading tags, h1 to h6. When using grid view for your products page the price is part of a group of h2 elements. The cufon font used, Museo, does not contain the £ sign and probably some other currency symbols.</p>
<p>You could just remove the cufon fonts all together. That would mean all headings would lose that stylish font. You could just remove it from all h2 headings by removing that cufon replacement line from the header.php file. This would mean all widget headings etc would not be the desired font. So what we need to do is remove it just from the price h2 in the product grid, yet you can not remove it by class.</p>
<h4>The solution</h4>
<p>Ok I am rather pleased with myself for figuring this out. You can specify html tags to exclude not classes. So time to edit some PHP. First step lets add some code to header.php which is in your theme folder. Show no fear and jump in even if you have never done it before. New to PHP editing? see the Tools note at the end of this post.<br />
<strong>First make a backup copy of this file somewhere!</strong></p>
<p>At approximately line 29 you will find the cufon replacement code. Change the h2 which looks like all of the other h tags to be like the highlighted section below.</p>
<div class="myCode">
<pre class="brush: php; first-line: 29; highlight: [32,33,34,35,36]; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
	Cufon.replace('.cufon'); // Set font class
	Cufon.replace('h1'); // Set font class
	Cufon.replace('h2', {
  ignore: {
    small: true
  }
});
	Cufon.replace('h3'); // Set font class
	Cufon.replace('h4'); // Set font class
	Cufon.replace('h5'); // Set font class
	Cufon.replace('h6'); // Set font class
	Cufon.replace('#main-nav a', { hover: true }); // Set font class
	Cufon.replace('.name a', { hover: true }); // Set font class
&lt;/script&gt;
</pre>
</div>
<p><br/></p>
<p>Now that says add cufon to all h2 tags but not those that are also the small tag. Why small, no real reason except that it is not often used so probably will not be a problem anywhere else. Now lets add that small tag to our wpsc-products_page.php file which is also in the theme folder. This is the page that displays the product grid or list. Add the opening and closing small tags <code>&lt;small&gt;&lt;/small&gt;</code> as shown in the highlighted line below.<br />
<strong>First make a backup copy of this file somewhere!</strong></p>
<div class="myCode">
<pre class="brush: php; first-line: 215; highlight: [222]; title: ; notranslate">
				&lt;div class=&quot;producttext&quot;&gt;
						&lt;h2 class=&quot;prodtitles&quot;&gt;
							&lt;?php if(get_option('hide_name_link') == 1) : ?&gt;
								&lt;span&gt;&lt;?php echo wpsc_the_product_title(); ?&gt;&lt;/span&gt;
							&lt;?php else: ?&gt;
								&lt;a class=&quot;wpsc_product_title&quot; href=&quot;&lt;?php echo wpsc_the_product_permalink(); ?&gt;&quot;&gt;&lt;?php echo wpsc_the_product_title(); ?&gt;&lt;/a&gt;
							&lt;?php endif; ?&gt;
							&lt;?php if ( get_option('storefront_gridview') == &quot;true&quot; ) {echo &quot;&lt;br /&gt;&lt;div class='gridview-price'&gt;&lt;small&gt; junk&quot;. wpsc_the_product_price(get_option('wpsc_hide_decimals')).&quot;&lt;/small&gt;&lt;/div&gt;&quot;;} ?&gt;
						&lt;/h2&gt;
						&lt;?php
							do_action('wpsc_product_before_description', wpsc_the_product_id(), $wpsc_query-&gt;product);
							do_action('wpsc_product_addons', wpsc_the_product_id());
						?&gt;
</pre>
</div>
<p><br/>Now we have a cufon free price with £ sign in the product grid. Pretty cool, but wait, did you check it out. It is you guessed it small, very small! No problem lets just make a special class that only effects the small tags with the class .gridview-price just in case the small tag is used elsewhere. See the Custom CSS note below if you do not know what to do with this.<br/></p>
<div class="myCode">
<pre class="brush: css; title: ; notranslate">
.gridview-price small{
font-size:18px;
}</pre>
</div>
<p>Thats it, you should have a regular font showing the £ sign and matching the original size that the cufon Museo font was displayed at. You can of course specify any size and any particular regular font using font-family if you wish.</p>
<div  class ="note-panel">
<h4>Custom CSS:</h4>
<p>This code belongs in your Custom CSS file. Don&#8217;t have a custom.css? There is an empty one for you to use in the theme folder? You can edit custom.css by going to Appearance/Editor and choosing custom.css from the list of files.<br />
You can also just paste this code in the &#8220;Custom CSS&#8221; box in the Storefront options panel on the Style tab if you will not be making many changes.</p>
<h4>Tools:</h4>
<p>You may also edit custom.css outside WordPress and upload it to your server. You must use an appropriate code editor NOT microsoft word or anything like that which adds a lot of invisible formatting and will be a disaster.<br />
If you do not have one, 2 excellent free ones are&#8230;<br />
TextWrangler for Mac, http://www.barebones.com/products/textwrangler/<br />
Notepad++ for the PC http://notepad-plus-plus.org/</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/show-the-pound-sign-cufon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You can be your own worst enemy, run your WordPress e-commerce site safely</title>
		<link>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/thoughts-running-e-commerce/</link>
		<comments>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/thoughts-running-e-commerce/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 00:15:47 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Storefront Themes]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WP e-Commerce]]></category>

		<guid isPermaLink="false">http://gasolicious.com/?p=1184</guid>
		<description><![CDATA[Take a few steps to protect your site from yourself. This is not all about evil hackers, this is about evil you! Backup Set up a good automatic backup system. Don&#8217;t just rely on your host to do it. Even if they do you are at the mercy of their response time. Be self sufficient. [...]]]></description>
			<content:encoded><![CDATA[<h4>Take a few steps to protect your site from yourself.</h4>
<p>This is not all about evil hackers, this is about evil you!</p>
<h4>Backup</h4>
<p>Set up a good automatic backup system. Don&#8217;t just rely on your host to do it. Even if they do you are at the mercy of their response time. Be self sufficient. You do not want to enter those 2000 products again if something goes wrong. Backup your site to a remote location, not on your own server. If something goes wrong on your server you may not be able to get your backups! You can set up your site to backup everything automatically once a day and keep say the last 7 backups. You can have it automatically send those backups to a <a title="link to amazon S3 pricing informatiom" href="http://aws.amazon.com/s3/pricing/">Amazon S3 storage account</a>. A S3 account will cost you about 14 cents a month! Thats right $1.68 a year for peace of mind. You use <a title="link to backup buddy WordPress backup plugin" href="http://pluginbuddy.com/purchase/backupbuddy/">BackupBuddy</a> which I would call the must have plugin. $75</p>
<h4>Updates, don&#8217;t click that button!</h4>
<p>A point that people just ignore too often. Updates. It is all well and good to update WordPress or a plugin and have something go wrong putting your blog on obscure mid western mountain grasses of the pre cambrian era out of action for a couple of weeks. Not so with your online shop. downtime is money and customers lost. People seem to have an irresistible urge to click the update button. Basic rule don&#8217;t update if there is nothing you really need. If your shop works leave it alone.</p>
<p>Of course that is not a long term strategy, eventually there will be a feature you need or a security patch you must have. BackupBuddy to the rescue again. You can make a full backup of your site. Make a subfolder and then with a few clicks unpack a perfect copy of your site into that folder. No need even to install WordPress. There you can try an update, see if it breaks anything, like WordPress 3.3 did for lots of WP e-Commerce users! If it does, delete the whole test site and unpack an older backup to have your test site back up and running in minutes. You just saved yourself some big pain.<br />
In fact all those poor people who are having problems with WP e-Commerce after updating to WordPress 3.3 could have wound their actual shops back with this method. <a title="Using backup buddy for a test site" href="http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/backupbuddy-backup-wordpress/">My site has more information with videos</a>on using Backup buddy for various problems.</p>
<h4>Hosts, you get what you pay for!</h4>
<p>Location, location, location! The mantra of commercial real estate. Well it applies to online commerce too. Use a good host, you get what you pay for. People come to me all the time saying I want to use caching plugins, cloud storage etc etc to speed up my site because it is so slow. Well I see hundreds of sites running with WP e-Commerce and Storefront themes. I see them horribly slow and perfectly normal. They are all basically the same thing, the variable is the host. Hostgator is pretty well regarded. GoDaddy is not. DotEasy seems good. Want to move? BackupBuddy can save you again. You can just pack up and move your site in minutes. Check first if your new host will just do it for you.</p>
<h4>They will not buy what they never see</h4>
<p>SEO (search engine optimization). Read about it. Find out how it works. I have a site owner who lives and breaths it, his tiny site now comes up on page 1 of search results in the crowded space of books and reading. You must start with <a title="link to WordPress SEO by Yoast" href="http://yoast.com/wordpress/seo/" target="_blank">a good SEO plugin</a> from the start, luckily this time it is free, so no excuses.<br />
Take the time to learn a bit about what Search Engines look for, how their algorithms rank sites. For example, they rank sites with changing content higher. If you have a blog and add an article once a week, you will rank higher than the same site which stays the same. Static sites disappear from Google.</p>
<h4>Test it Local</h4>
<p>You can setup a local web server. Sounds scary, is not really. It has become a pretty much regular software install. This is a bit more geeky and not as important as the previous points.<br />
For a Windows computer you use <a title="download WAMP" href="http://www.wampserver.com/en/" target="_blank">WAMP</a><br />
for a Mac you use <a title="link to download MAMP" href="http://www.mamp.info/en/index.html" target="_blank">MAMP</a>.<br />
Then you can run your test site on your computer and not on the internet. You can work on it anywhere. It is much faster than being online doing edits.</p>
<p>So take the time people, a little effort can go along way.</p>
]]></content:encoded>
			<wfw:commentRss>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/thoughts-running-e-commerce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smart Manager, an essential plugin for anyone with a large WP e-Commerce store</title>
		<link>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/smart-manager-essential-plugin-e-commerce/</link>
		<comments>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/smart-manager-essential-plugin-e-commerce/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 23:37:53 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[WP e-Commerce]]></category>

		<guid isPermaLink="false">http://gasolicious.com/?p=1186</guid>
		<description><![CDATA[Smart Manager by Store Apps If you are using WP e-Commerce and you have a lot of products you really must spend $100 on Smart Manager. It is awesome. Basically instead of the one by one backend product editing that you have in WP e-Commerce you can see all of your products in spreadsheet form [...]]]></description>
			<content:encoded><![CDATA[<h4>Smart Manager by Store Apps</h4>
<p>If you are using WP e-Commerce and you have a lot of products you really must spend $100 on Smart Manager. It is awesome. Basically instead of the one by one backend product editing that you have in WP e-Commerce you can see all of your products in spreadsheet form right in the backend of WordPress. You can make a bunch of unrelated little edits to many products and just click save. You can say reduce everything selected by 15% or everything in a category.<br />
You can change the base price, the one that appears in Carousels etc after you have added variations to a product, that may sound a bit technical at the moment but doing it in WP e-Commerce takes about 20 clicks and updating the page about 5 times for every product. In Smart Manager you can change it for 50 products with a couple of clicks. No need for me to try and explain it all,<a title="Smart Manager plugin fro WP e-Commerce" href="http://www.storeapps.org/" target="_blank"> visit their site.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/smart-manager-essential-plugin-e-commerce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add category titles to your pages in Storefront&#8217;s Gridport Theme</title>
		<link>http://gasolicious.com/wordpress-tutorials-tips-advice/category-titles-storefronts-gridport/</link>
		<comments>http://gasolicious.com/wordpress-tutorials-tips-advice/category-titles-storefronts-gridport/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 16:54:33 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Storefront Themes]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WP e-Commerce]]></category>

		<guid isPermaLink="false">http://gasolicious.com/?p=1174</guid>
		<description><![CDATA[Another short post on a very specific topic. If you are a user of the Gridport theme by Storefront Themes read on. The question The Gridport theme is designed to be very sleek and minimal. One of the design choices was not to show titles on the product category pages. I received this question on [...]]]></description>
			<content:encoded><![CDATA[<p>Another short post on a very specific topic. If you are a user of the Gridport theme by Storefront Themes read on.</p>
<h4>The question</h4>
<p>The Gridport theme is designed to be very sleek and minimal. One of the design choices was not to show titles on the product category pages. I received this question on the forums &#8220;I wondered if you could provide a snippet of custom CSS code to restore the Category name?&#8221;<br />
The answer is yes. You will need to do one simple PHP edit. If you have not done this before see the note &#8220;Tools&#8221; at the bottom of this post.</p>
<p>Locate the <strong>page.php</strong> file which is in Gridport theme folder. Make a safe copy somewhere in case you have problems.<br />
The code below is the complete file. You just need to add the highlighted lines and you will have category page titles. Your line numbers may vary slightly.</p>
<div class ="myCode">
<pre class="brush: php; first-line: 1; highlight: [13,14,15,16,17]; title: ; notranslate">
&lt;?php get_header(); ?&gt;

&lt;?php
$image_width  = get_option( 'product_image_width' );
$image_height  = get_option( 'product_image_height' );
?&gt;

&lt;div id=&quot;single-content&quot;&gt;

&lt;?php if (have_posts()) : ?&gt;
&lt;?php while (have_posts()) : the_post(); ?&gt;

&lt;?php if (! is_single())
		{ ?&gt;&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;&lt;?php }
	else
		{  ?&gt;&lt;?php }
?&gt;

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

&lt;?php endwhile; ?&gt;
&lt;?php else : ?&gt;

&lt;div&gt;&lt;p&gt;&lt;?php _e( 'No posts found. Try a different search?', 'storefront' ); ?&gt;&lt;/p&gt;&lt;/div&gt;

&lt;?php endif; ?&gt;

&lt;/div&gt;

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

&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;</pre>
</div>
<p>Or just delete everything and copy and paste the whole block from above as that is the whole file. In fact you could just go to Appearance/Editor in WordPress, find the page.php file, click to open and replace it&#8217;s contents with the above.</p>
<div  class ="note-panel">
<h4>Tools:</h4>
<p>You must use an appropriate code editor NOT microsoft word or anything like that which adds a lot of invisible formatting and will be a disaster.<br />
If you do not have one, 2 excellent free ones are&#8230;<br />
TextWrangler for Mac, http://www.barebones.com/products/textwrangler/<br />
Notepad++ for the PC http://notepad-plus-plus.org/</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://gasolicious.com/wordpress-tutorials-tips-advice/category-titles-storefronts-gridport/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Storefront Themes &#8220;Elegance&#8221; the rules of the Carousel</title>
		<link>http://gasolicious.com/wp-e-commerce-wpec-wordpress-plugin/storefront-themes-elegance-carousel-rules/</link>
		<comments>http://gasolicious.com/wp-e-commerce-wpec-wordpress-plugin/storefront-themes-elegance-carousel-rules/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 01:26:29 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Storefront Themes]]></category>
		<category><![CDATA[WP e-Commerce]]></category>

		<guid isPermaLink="false">http://gasolicious.com/?p=1145</guid>
		<description><![CDATA[Turn it on The Carousel will not work unless you have a page called Home and that page is assigned to be Front page in Settings/reading. Then you must go to Storefront Options panel/Homepage Carousel tab and select something on the &#8220;Carousel Options&#8221; dropdown. You can select &#8220;Don&#8217;t Use the Carousel&#8221; after which of course [...]]]></description>
			<content:encoded><![CDATA[<h4>Turn it on</h4>
<p>The Carousel will not work unless you have a page called Home and that page is assigned to be Front page in Settings/reading. Then you must go to Storefront Options panel/Homepage Carousel tab and select something on the &#8220;Carousel Options&#8221; dropdown. You can select &#8220;Don&#8217;t Use the Carousel&#8221; after which of course no other settings on that tab matter.</p>
<h4>Watch out, possible danger ahead!</h4>
<p>Ok you have all sorts of options, first you should know a few things.</p>
<ol>
<li>It will not work until it has a few actual images to pull, at least 6. You will see a mess until it has at least that many images.</li>
<li>It can break if something does not have an image.</li>
<li>For products a image must be set as to &#8220;use as product thumbnail&#8221; <a title="link to Upload a product image in WP e-Commerce" href="http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/wp-e-commerce-adding-product-image/">see step 12 of this post</a></li>
<li>For posts a image must be set using &#8220;Set featured image&#8221;. <a title="link to how to Set Feature Image in WordPress video" href="http://www.screenr.com/q7c">See this very quick video</a> if you do not know how.</li>
<li>See the &#8220;base price is $0.00&#8243; problem later in this post.</li>
</ol>
<h4>I do want to use it, what can it show?</h4>
<p>Ok so now avoiding any of the issues above you move on to setting options. Remember if it does not seem to be working troubleshoot for the problems listed above.</p>
<p>You have 3 selection drop downs on the Homepage Carousel tab. Carousel Options, Carousel Product Category and Carousel Post Category. If one or more of these is not mentioned in a item below it&#8217;s setting does not matter for that arrangement.</p>
<ol>
<li>
<ul>
<li>&#8220;Carousel Options&#8221; = &#8220;Show Products&#8221;</li>
<li>&#8220;Carousel Product Category&#8221; = &#8220;Show All Products&#8221; set.</li>
<li>It will attempt to show all products. Consider problem 2 above. I have heard if you have lots of products it can break. It would be a bad idea anyway as the images are sized on the fly and it will slow your site down horribly.</li>
</ul>
</li>
<li>
<ul>
<li>It will work with &#8220;Carousel Options&#8221; = &#8220;Show Categories&#8221;</li>
<li>IF you have category images set in your categories.</li>
<li>IF you have at least 6 TOP level categories.</li>
<li>It will only show top level categories, no child categories.</li>
</ul>
</li>
<li>
<ul>
<li>It will show a product category, or sub category. &#8220;Carousel Options&#8221; = &#8220;Show Products&#8221;</li>
<li>&#8220;Carousel Product Category&#8221; =&#8221;you pick a category&#8221;</li>
<li>It will not work properly if ANY product in that category does not have a image set for &#8220;use as product thumbnail&#8221;.</li>
</ul>
</li>
<li>
<ul>
<li>&#8220;Carousel Options&#8221; = &#8220;Show Posts&#8221;</li>
<li>&#8220;Carousel Post Category&#8221; = &#8220;Show All Posts&#8221;.</li>
<li>It will show all blog posts as long as those posts all have a image set as &#8220;use as featured image&#8221;. Again this may be slow your site once you have lots of posts.</li>
</ul>
</li>
<li>
<ul>
<li>&#8220;Carousel Options&#8221; = &#8220;Show Posts&#8221;</li>
<li>&#8220;Carousel Post Category&#8221; =&#8221;you choose a post category&#8221;</li>
<li>It will show those posts as long as there are at least 6 AND they all again have a image set as &#8220;use as featured image&#8221;</li>
</ul>
</li>
<li>It will work with &#8220;Carousel Options&#8221; = &#8220;Show Carousel Post Type&#8221; see later in this post for instructions for creating a Carousel Post types.</li>
</ol>
<p>So to really control it you could make Carousel Post types, a special Product category or even Blog Category just for the carousel. As products and posts can be in more than one category you just assign them to this special carousel category as well.</p>
<h4>So you want total control</h4>
<p>Then you want to use Carousel Post Type. This way if someone creates a product or post that has no image appropriately set the Carousel will not break. When creating Carousel Posts just for the Carousel you know you must have an image and are unlikely to publish without one. These are the steps for making Carousel Post Types. Remember to make enough.</p>
<p><strong>First</strong></p>
<ol>
<li>Go to Storefront theme options</li>
<li>Carousel tab</li>
<li>At the top set &#8220;Carousel Options&#8221; to &#8220;Show Carousel Post Type&#8221; (forget the next 2 drop downs)</li>
<li>Pick how many images will be visible at one time in the carousel &#8220;How many images?&#8221;</li>
<li>Check the size chart next to this, it gives you a width that your images will be resized to.</li>
<li>Set a height in &#8220;Carousel Image Height&#8221; that will work with the width from the chart. Consider the proportion or aspect ratio of your images. <a title="link to choosing an image size for Wp e-Commerce" href="http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/commerce-choose-image-settings/">See these 2 posts on images.</a></li>
<li>Decide the various other settings, show image only, bounce speed etc</li>
<li>Click &#8220;Save All Changes&#8221;</li>
</ol>
<p>Before the next steps have some images that match the proportions that you set in the theme options, they can be bigger as long as the proportions are right they will be scaled down without distortion. Don&#8217;t make them smaller though, they will scale up badly. For total control, I sense you want it,  make them exactly the right size before you upload.</p>
<p><strong>Then</strong></p>
<ol>
<li>Go to Carousel on the dashboard menu</li>
<li>Add new</li>
<li>Give it a name.</li>
<li>On the right click &#8220;set featured image&#8221;</li>
<li>Upload a file via the media dialog box</li>
<li>Click &#8220;use as featured image&#8221;</li>
<li>Click &#8220;save all changes&#8221;</li>
<li>Close the media dialog box</li>
<li>Click publish</li>
</ol>
<p>Done, repeat this a few times until you have half a dozen items.</p>
<h4>Controlling the image size and number while avoiding distortion</h4>
<p>As mentioned above the custom Carousel Post Type is the best for total control. You can pick a size that you like and make images specially for the Carousel.</p>
<p>If you want to use product images consider the size you have set for your images in products. For products you will have set sizes on the Settings/Store/Presentation tab for &#8220;Default Product Thumbnail Size:&#8221; and &#8220;Single Product Image Size:&#8221;. If you have read my <a title="link to choosing an image size for Wp e-Commerce" href="http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/commerce-choose-image-settings/">2 Image Settings posts</a> you will understand the importance of these settings and they will have te same aspect ratio. Now you want to continue that aspect ratio here. If you have set your &#8220;Default Product Thumbnail Size:&#8221; to 160 x 120 and &#8220;Single Product Image Size:&#8221; 300 x 225 for example you are using an aspect ratio of 4 x 3. So if you have set &#8220;How many images?&#8221; on the Homepage Carousel tab to 4, the chart wil tell you that images will be resized to 200px wide. To maintain a 4 x 3 aspect ratio and avoid distortion you need to set &#8220;Carousel Image Height&#8221; to 150. Make sense?</p>
<p>For posts the same rules apply. Consider the size and aspect ratio you have set in Settings/Media &#8220;Thumbnail size&#8221;</p>
<p>Have a strange ratio and having trouble with the math? Use the <a title="Aspect Ratio Calculator" href="http://andrew.hedges.name/experiments/aspect_ratio/">Aspect Ratio Calculator</a></p>
<p>The rest of the settings on the Homepage Carousel tab are pretty self explanatory, they have brief descriptions on the tab and are also explained in your members area theme video.</p>
<h4>As mentioned earlier the base price = $0.00 problem</h4>
<p>If you have &#8220;Show Image Only?&#8221; unchecked on the Homepage carousel tab it is common to have the problem of prices showing $0.00. This happens when the product has variations. To avoid this when you create a product, follow these steps..</p>
<ol>
<li>Make the product do NOT assign a variation.</li>
<li>Give the product a price</li>
<li>Publish or Draft the product.</li>
<li>Now add the variation and click &#8220;Update Variations&#8221;</li>
<li>Click Publish or Draft.</li>
</ol>
<p>Now your product has the default product price. You can not access this number any more.<br />
So what if you want to change it, or you already have products without it you say?</p>
<ol>
<li>In the problem products screen</li>
<li>Uncheck the variation</li>
<li>Click &#8220;Update Variations&#8221;</li>
<li>Publish the product.</li>
<li>You can now edit the price.</li>
<li>PUBLISH again!</li>
<li>Now add the variation back on</li>
<li>Click &#8220;Update Variations&#8221;</li>
<li>Click publish or Draft.</li>
</ol>
<h4>But wait there is more!</h4>
<p>What would a post be without a little code? A common problem occurs when people have Carousel text on and the text flows to 2 lines. For those products the price disappears as it is hidden by the containing div being set to overflow:hidden, which it must be.<br />
Drop this in your custom css file or custom css box on te hStorefront Options/Style tab. Adjust the height to suit your carousel which will vary as Carousel image heights can vary.</p>
<pre class="brush: css; title: ; notranslate">.home-carousel ul li {
     height: 205px !important;
}</pre>
<p>Now get to work!</p>
]]></content:encoded>
			<wfw:commentRss>http://gasolicious.com/wp-e-commerce-wpec-wordpress-plugin/storefront-themes-elegance-carousel-rules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP e-Commerce bug, product category pages sometimes show a product name as page title</title>
		<link>http://gasolicious.com/wp-e-commerce-wpec-wordpress-plugin/commerce-product-category-pages/</link>
		<comments>http://gasolicious.com/wp-e-commerce-wpec-wordpress-plugin/commerce-product-category-pages/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 01:23:36 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Storefront Themes]]></category>
		<category><![CDATA[WP e-Commerce]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[product]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[WPEC]]></category>

		<guid isPermaLink="false">http://gasolicious.com/?p=1130</guid>
		<description><![CDATA[Time to fix a bug. It seems that in recent updates a bug appeared that means some Product Category pages will show a seemingly random Product name as the Title. Some say it is the latest product added in that category, who has the time to investigate. We just want it fixed. This fix is [...]]]></description>
			<content:encoded><![CDATA[<p>Time to fix a bug. It seems that in recent updates a bug appeared that means some Product Category pages will show a seemingly random Product name as the Title. Some say it is the latest product added in that category, who has the time to investigate. We just want it fixed.</p>
<p>This fix is for Storefront Themes &#8220;Designer&#8221; theme. I have not heard from users of other Storefront Themes about this problem. If you are a user of one of the other themes and this is effecting you let me know via comment here or the Storefront Themes Forums and I will post code for your theme.<br />
If you have a theme from another vendor, then you will have to sort it out yourself or ask them to help. This post has code to get you started.</p>
<p>You are going to edit page.php in the Designer theme folder, it is a pretty easy edit. Show no fear and jump in even if you have never done it before. New to PHP editing? see the Tools note at the end of this post.<br />
<strong>First make a backup copy of this file somewhere!</strong></p>
<div class ="myCode">
<pre class="brush: php; first-line: 14; highlight: [15]; title: ; notranslate">
&lt;div &lt;?php post_class() ?&gt; style=&quot;margin-top:-5px;&quot;&gt;
    &lt;h1&gt;&lt;?php the_title();?&gt;&lt;/h1&gt;
    &lt;?php the_content(); ?&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;?php endwhile; ?&gt;</pre>
</div>
<p>Delete line 15, the line number may vary in different theme versions. You need to add 5 lines to replace line 15. Your finished code should look like this.</p>
<div class ="myCode">
<pre class="brush: php; first-line: 14; highlight: [15,16,17,18,19]; title: ; notranslate">
&lt;div &lt;?php post_class() ?&gt; style=&quot;margin-top:-5px;&quot;&gt;
    &lt;h1 class=&quot;entry-title&quot;&gt;
		&lt;?php if ('wpsc-product' == get_post_type() &amp;&amp; !is_single()){
				$category_name= wpsc_category_name(); ?&gt; &lt;a href=&quot;&quot; rel=&quot;bookmark&quot; title=&quot; &lt;?php $category_name; ?&gt;&quot;&gt;&lt;?php echo $category_name; ?&gt;&lt;/a&gt; &lt;?php
			} else { ?&gt; &lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link: &lt;?php the_title(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt; &lt;?php
} ?&gt; &lt;/h1&gt;
&lt;?php the_content(); ?&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;?php endwhile; ?&gt;
</pre>
</div>
<p><br/></p>
<h4>This is an addition for Storefront Theme Elegance 1.4.5 as someone reported the problem</h4>
<p>Please read the comments about safe PHP editing at the beginning of this article. You are going to edit a different file taxonomy-wpsc_product_category.php which is in the theme folder.</p>
<p>Find the highlighted line around line 24</p>
<div class ="myCode">
<pre class="brush: php; first-line: 22; highlight: [24]; title: ; notranslate">
	&lt;div id=&quot;content&quot; class=&quot;grid_&lt;?php echo $contentgrid;?&gt; &lt;?php if (get_option('storefront_shop_layout') == '3 Column') {echo &quot;center-column&quot;;}?&gt;&quot;&gt;
		&lt;div class=&quot;page-content  &lt;?php echo $pageclass;?&gt;&quot;&gt;
		&lt;h1&gt;&lt;?php _e('Products in the', 'storefront'); ?&gt; &amp;ldquo;&lt;?php the_title();?&gt;&amp;rdquo; &lt;?php _e('Category', 'storefront'); ?&gt;&lt;/h1&gt;
			&lt;?php the_content(); ?&gt;
		&lt;/div&gt;
	&lt;/div&gt;</pre>
</div>
<p>Delete line 24 and add the 5 highlighted lines of code in its place</p>
<div class ="myCode">
<pre class="brush: php; first-line: 22; highlight: [24,25,26,27,28]; title: ; notranslate">	&lt;div id=&quot;content&quot; class=&quot;grid_&lt;?php echo $contentgrid;?&gt; &lt;?php if (get_option('storefront_shop_layout') == '3 Column') {echo &quot;center-column&quot;;}?&gt;&quot;&gt;
		&lt;div class=&quot;page-content  &lt;?php echo $pageclass;?&gt;&quot;&gt;
		&lt;h1 class=&quot;entry-title&quot;&gt;
        &lt;?php if ('wpsc-product' == get_post_type() &amp;&amp; !is_single()){
                $category_name= wpsc_category_name(); ?&gt; &lt;a href=&quot;&quot; rel=&quot;bookmark&quot; title=&quot; &lt;?php $category_name; ?&gt;&quot;&gt;&lt;?php echo $category_name; ?&gt;&lt;/a&gt; &lt;?php
            } else { ?&gt; &lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link: &lt;?php the_title(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt; &lt;?php
} ?&gt; &lt;/h1&gt;
			&lt;?php the_content(); ?&gt;
		&lt;/div&gt;
	&lt;/div&gt;</pre>
</div>
<p>Save and you should be good to go.</p>
<div  class ="note-panel">
<h4>Tools:</h4>
<p>Edit the PHP file with a code editor. You may also edit custom.css outside WordPress and upload it to your server. You must use an appropriate code editor NOT Microsoft word or anything like that which adds a lot of invisible formatting and will be a disaster.<br />
If you do not have one, 2 excellent free ones are&#8230;<br />
TextWrangler for Mac, http://www.barebones.com/products/textwrangler/<br />
Notepad++ for the PC http://notepad-plus-plus.org/</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://gasolicious.com/wp-e-commerce-wpec-wordpress-plugin/commerce-product-category-pages/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Storefront themes &#8220;Gridport&#8221; theme, change the size of the blog thumbnail</title>
		<link>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/storefront-themes-gridport-theme/</link>
		<comments>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/storefront-themes-gridport-theme/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 23:23:47 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Storefront Themes]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[featured image]]></category>
		<category><![CDATA[Gridport]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[post thumbnail]]></category>
		<category><![CDATA[Storerfont]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[thumbnail]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://gasolicious.com/?p=1086</guid>
		<description><![CDATA[Change the size of thumbnail that appears on the Grdidport Blog page. The change here is for the thumbnails you see when you click blog on your menu or click a blog category and see a list of posts. These are created when you set a image to be &#8220;featured image&#8221; in your post. to [...]]]></description>
			<content:encoded><![CDATA[<h4>Change the size of thumbnail that appears on the Grdidport Blog page.</h4>
<p>The change here is for the thumbnails you see when you click blog on your menu or click a blog category and see a list of posts. These are created when you set a image to be &#8220;featured image&#8221; in your post.</p>
<p>to change it you would have to get into the PHP source code. A very simple edit.<br />
Specifically you have to edit the file theme-functions.php which is in the sub folder &#8220;includes&#8221; in the Gridport theme folder. New to PHP editing? see the Tools note at the end of this post.</p>
<p><strong>Save a copy of your the PHP file somewhere safe before editing so you can always go back if you mess up something.</strong></p>
<p>about line 590 you will find the highlighted code.</p>
<div class ="myCode">
<pre class="brush: php; first-line: 586; highlight: [590]; title: ; notranslate">
// Add support for WP 2.9 post thumbnails
if ( function_exists( 'add_theme_support' ) ) { // Added in 2.9
	add_theme_support( 'post-thumbnails' );
	set_post_thumbnail_size( 55, 55, true ); // Main theme thumbnails
	add_image_size( 'thumbnail-large', 75, 75, true ); // Large thumbnails
	add_image_size( 'thumbnail-wide', 300, 100, true ); // Wide thumbnails
	add_image_size( 'main-image', 285, 280, true ); // Main (latest) image
	add_image_size( 'main-image-pictures', 290, 280, true ); // Main (pictures) image
	add_image_size( 'lead-image', 540, 250, true ); // Post Page Main image
}</pre>
</div>
<p>Change those numbers 75, 75. Remember if you make it too big you may end up with blank lines where there was not enough room next to the thumbnail for a long word.<br />
You will find it effects all new uploads of featured image. A thumbnail rebuild plugin may save you having to upload existing ones again. Search this in plugins &#8220;AJAX Thumbnail Rebuild&#8221; try that one first.<br />
Remember when uploading images, set to full size and use as featured image.</p>
<div  class ="note-panel">
<h4>Tools:</h4>
<p>Edit the PHP file with a code editor. You may also edit custom.css outside WordPress and upload it to your server. You must use an appropriate code editor NOT Microsoft word or anything like that which adds a lot of invisible formatting and will be a disaster.<br />
If you do not have one, 2 excellent free ones are&#8230;<br />
TextWrangler for Mac, http://www.barebones.com/products/textwrangler/<br />
Notepad++ for the PC http://notepad-plus-plus.org/
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/storefront-themes-gridport-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Storefront &#8220;Elegance&#8221; theme, add a custom link to the header logo.</title>
		<link>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/storefront-elegance-theme-custom/</link>
		<comments>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/storefront-elegance-theme-custom/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 05:06:44 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Storefront Themes]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WP e-Commerce]]></category>

		<guid isPermaLink="false">http://gasolicious.com/?p=1056</guid>
		<description><![CDATA[The hardcode way. The logo you upload via the Storefront Options panel/Style tab is by default a link to the root of your site. What if you want it to link to somewhere else? Well that is pretty simple but does involve a little PHP. Show no fear and jump in even if you have [...]]]></description>
			<content:encoded><![CDATA[<h4>The hardcode way.</h4>
<p>The logo you upload via the Storefront Options panel/Style tab is by default a link to the root of your site. What if you want it to link to somewhere else? Well that is pretty simple but does involve a little PHP. Show no fear and jump in even if you have never done it before.<br />
New to PHP editing? see the Tools note at the end of this post</p>
<p>The line numbers here may change in other versions but I show enough code for you to be able to find the relevant parts, the code probably will not change much. You will need to maintain the PHP file when there are theme updates so keep a copy of it and what changes you made. On to the good stuff, you need to edit header.php which is in your theme folder. <strong>First make a backup copy of this file somewhere!</strong></p>
<p>You just need to hard code in your link where the theme would normally call <strong>bloginfo</strong> which is where WordPress stores the root of your site. I told you it was easy.</p>
<div class ="myCode">
<pre class="brush: php; first-line: 56; highlight: [65]; title: ; notranslate">
&lt;body &lt;?php body_class(); ?&gt;&gt;

&lt;div id=&quot;wrapper&quot;&gt;

	&lt;div id=&quot;header&quot; class=&quot;container_24&quot;&gt;

		&lt;div id=&quot;logo&quot; class=&quot;grid_24&quot;&gt;

		&lt;?php if ( $storefront_options['storefront_logo'] ) { ?&gt;
            &lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot; title=&quot;&lt;?php bloginfo('description'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo $storefront_options['storefront_logo']; ?&gt;&quot; /&gt;&lt;/a&gt;
        &lt;?php } else { ?&gt;
        	&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot; title=&quot;&lt;?php bloginfo('description'); ?&gt;&quot;&gt;&lt;img class=&quot;title&quot; src=&quot;&lt;?php bloginfo('template_directory'); ?&gt;/images/logo.png&quot; alt=&quot;&lt;?php bloginfo('name'); ?&gt;&quot; /&gt;&lt;/a&gt;
        &lt;?php } ?&gt;

		&lt;/div&gt;&lt;!-- /#logo --&gt;
</pre>
</div>
<h4>Change this</h4>
<p>line 65 approximately, the line highlighted above should be changed to something like this, this leads to my site, add you URL and description. Just put your link between those first set of &#8221;  &#8221; for href.</p>
<div class ="myCode">
<pre class="brush: php; first-line: 64; highlight: [65]; title: ; notranslate">
&lt;?php if ( $storefront_options['storefront_logo'] ) { ?&gt;
            &lt;a href=&quot;http://gasolicious.com/&quot; title=&quot;&lt;?php bloginfo('description'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo $storefront_options['storefront_logo']; ?&gt;&quot; /&gt;&lt;/a&gt;
        &lt;?php } else { ?&gt;</pre>
</div>
<p>Close and save the file. You should be done. Remember if you mess up just replace the file with that backup copy you saved. You did save one right!<br />
<br/></p>
<h4>The more adaptable plugin way</h4>
<p>Now the method above is fine but what if you want to change that link on a regular basis? Wouldn&#8217;t it be nice if you could so that without editing your header.php file? What if you wanted to have different links on different pages? No way without a bunch of awful PHP if statements. Wouldn&#8217;t it be nicer if you just had a field to enter the URL in your WordPress backend? Time for a plugin, this plugin, <a href="http://wordpress.org/extend/plugins/advanced-custom-fields/">Advanced Custom Fields</a></p>
<p>Get the plugin and install it. You can just search its full name in the plugins screen, it should be the first one.<br />
<strong><a href="http://plugins.elliotcondon.com/advanced-custom-fields/">Go to the Advanced Custom Fields website for excellent detailed examples, how to videos and documentation. </a></strong></p>
<h4>Creating your custom field.</h4>
<p>Go to Settings you should see a new item Adv Custom Fields, click it.<br />
Follow these steps in the Advanced Custom Fields screen&#8230;.</p>
<ol>
<li>Click &#8220;Add New&#8221;</li>
<li>Enter a title &#8220;Logo Link&#8221; for the field group, in this case we will be making only 1 field</li>
<li>Click &#8220;+Add Field&#8221;</li>
<li>Give it a Field Label which will appear in your WordPress backend, &#8220;Header Logo Links to&#8221;</li>
<li>Click in the &#8220;Field Name&#8221; field, it should autofill with &#8220;header_logo_links_to&#8221;</li>
<li>For &#8220;Field Type&#8221; select Text from the drop down list</li>
<li>Leave &#8220;Default Value&#8221; blank, I could not get this to work.</li>
<li>Set &#8220;Formatting&#8221; to None</li>
<li>For field instructions enter soem simple instructions for the user, for example &#8220;Add a URL here that will be launched when the header logo is clicked.&#8221;</li>
<li>Click &#8220;Save Field&#8221;</li>
<li>Below the Field panel is the Location panel, set the 3 dropdowns to say &#8220;Page&#8221; &#8220;is equal to&#8221; &#8220;Home&#8221; (assuming you have your front page set to be a page named &#8220;Home&#8221;)</li>
<li>Beneath those 3 set the dropdown to, match &#8220;all&#8221; of the above</li>
<li>Leave the rest of the fields as they are.</li>
<li>Click &#8220;Update&#8221;</li>
</ol>
<p>Now you have a text field that will only appear in the WordPress backend when you edit the page called Home. Go and have a look. It should not appear for any other page.</p>
<h4>Adding it to your theme.</h4>
<p>First we need to know something about our &#8220;Home&#8221; page. Open your site in a browser, if you have Firefox and Firebug inspect the page code and find the body tag. If you do not have Firebug, you should, but you can select somewhere on the menu of all browsers to &#8220;inspect page source&#8221;, you will be able to find the body tag. It will start something like this</p>
<div class ="myCode">
<pre class="brush: xml; gutter: false; title: ; notranslate">&lt;body class=&quot;home page page-id-117 page-template page-template-tpl-homepage-php</pre>
</div>
<p>Write down that page id number for your home page, it will most likely be different on your site.</p>
<p>Now back to Header.php we go. We will be editing the same line of code. We want to use the value in the custom field on our home page as the URL to link to when the logo is clicked. We will need the page id number to tell our PHP that it should use the value in the Home page text field as the link for all pages. Without this it would only work on the Home page. Our PHP should look like this, calling the text field by the name we gave it and identifying the page it is on by number.</p>
<div class ="myCode">
<pre class="brush: php; first-line: 64; highlight: [65]; title: ; notranslate">
&lt;?php if ( $storefront_options['storefront_logo'] ) { ?&gt;
            &lt;a href=&quot;&lt;?php the_field('header_logo_links_to', '133'); ?&gt;&quot; title=&quot;&lt;?php bloginfo('description'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo $storefront_options['storefront_logo']; ?&gt;&quot; /&gt;&lt;/a&gt;
        &lt;?php } else { ?&gt;</pre>
</div>
<h4>What if I want to have different links from different pages?</h4>
<p>really your not happy yet! OK, I think you may even be able to see the answer yourself, but lets make it clear. At step 11 above you will do something different. There are many options which you can arrange to achieve the desired result. For example, if you wanted to have the ability to set a different URL on all Pages (as opposed to Posts) you woud set the 4 dropdowns to say&#8230;<br />
&#8220;Post Type is equal to page match all of the above&#8221;<br />
Click Update, now all of your Pages should have a text field to enter a URL.</p>
<p>Now lets get crazy, how about we set the first dropdown to &#8220;Taxonomy&#8221; second one &#8220;is equal to&#8221; now choose a product category from the third dropdown. Click Update. Now any product in that Category has a Link text field. Thats right you could have every product in that category link to a different location! You could even have every product have its own logo link&#8230;<br />
&#8220;Post Type&#8221; &#8220;is equal to&#8221; &#8220;wpsc-product&#8221; &#8220;match all of the above&#8221;</p>
<p>You can click the little + sign to the right of the drop downs to add a rule..<br />
so rule 1 could be, &#8220;Page&#8221; &#8220;is equal to&#8221; &#8220;Home&#8221;<br />
and rule 2 &#8220;page parent&#8221; &#8220;is equal to&#8221; &#8220;Products Page&#8221;<br />
Now your link will work on the Home page and any product page.<br />
Remember you can say &#8220;is not equal to&#8221; to exclude pages or post types etc.<br />
You can set up more than one field group. So you could assign one to all product pages, and a different field for all regular pages.</p>
<p>OK enough of the limitless possibilities, I can&#8217;t possibly cover them all. lets get that PHP setup so it does not use the home link everywhere. Yes it is pretty obvious, just leave out that page id. Of course now any page that does not have a link field will have no logo link. We coud wrap it all in a PHP if statement and use the WordPress one when there is not a custom one present. Maybe I will add that to this post another day.</p>
<div class ="myCode">
<pre class="brush: php; first-line: 64; highlight: [65]; title: ; notranslate">
&lt;?php if ( $storefront_options['storefront_logo'] ) { ?&gt;
            &lt;a href=&quot;&lt;?php the_field('header_logo_links_to'); ?&gt;&quot; title=&quot;&lt;?php bloginfo('description'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo $storefront_options['storefront_logo']; ?&gt;&quot; /&gt;&lt;/a&gt;
        &lt;?php } else { ?&gt;</pre>
</div>
<p>That&#8217;s it folks, enjoy linking mania.</p>
<div  class ="note-panel">
<h4>Tools:</h4>
<p>Edit the PHP file with a code editor. You may also edit custom.css outside WordPress and upload it to your server. You must use an appropriate code editor NOT Microsoft word or anything like that which adds a lot of invisible formatting and will be a disaster.<br />
If you do not have one, 2 excellent free ones are&#8230;<br />
TextWrangler for Mac, http://www.barebones.com/products/textwrangler/<br />
Notepad++ for the PC http://notepad-plus-plus.org/
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://gasolicious.com/web-design-wordpress-e-commerce-flash-blog/storefront-elegance-theme-custom/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

