<?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>Utah WordPress Web Design &#187; WordPress</title>
	<atom:link href="http://www.brmecham.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brmecham.com</link>
	<description>Brian Mecham, Utah Web Designer, WordPress Theme Developer, WordPress Templates, CSS Ninja</description>
	<lastBuildDate>Thu, 22 Dec 2011 00:21:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>How to Track Affiliate / Referral Sales in WP e-Commerce Shopping Cart Plugin for WordPress</title>
		<link>http://www.brmecham.com/track-referral-sales-wp-e-commerce-wordpress/</link>
		<comments>http://www.brmecham.com/track-referral-sales-wp-e-commerce-wordpress/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 00:35:49 +0000</pubDate>
		<dc:creator>Brian Mecham</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Affiliate]]></category>
		<category><![CDATA[Commission]]></category>
		<category><![CDATA[Referral]]></category>
		<category><![CDATA[Sales]]></category>
		<category><![CDATA[Shopping Cart]]></category>
		<category><![CDATA[WP e-Commerce]]></category>

		<guid isPermaLink="false">http://www.brmecham.com/?p=243</guid>
		<description><![CDATA[I&#8217;ve been using the WP e-Commerce Shopping Cart plugin for WordPress for a few years now. Unfortunately there isn&#8217;t much in the way of affiliate or referral plugins for WP e-Commerce. I&#8217;ve been on the lookout for an easy solution to track referral sales. I didn&#8217;t need something as complex as most affiliate management systems. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.brmecham.com/how-to-track-referral-sales-in-wordpress-wp-e-commerce-shopping-cart-plugin/"><img class="aligncenter size-full wp-image-250" title="How to Track Referral Sales in WordPress WP e-Commerce Shopping Cart Plugin" src="http://www.brmecham.com/wp-content/uploads/2011/08/wordpress-wp-e-commerce.jpg" alt="How to Track Referral Sales in WordPress WP e-Commerce Shopping Cart Plugin" width="580" height="219" /></a></p>
<p>I&#8217;ve been using the <a title="WP e-Commerce" href="http://getshopped.org/" target="_blank">WP e-Commerce Shopping Cart plugin</a> for WordPress for a few years now. Unfortunately there isn&#8217;t much in the way of affiliate or referral plugins for WP e-Commerce. I&#8217;ve been on the lookout for an easy solution to track referral sales. I didn&#8217;t need something as complex as most affiliate management systems. I decided to have a try at creating <strong>an easy solution for tracking referral sales</strong>. I ended up with a fairly simple solution, which requires just one modification to your shopping cart theme. It works in conjunction with the &#8220;<a title="WordPress Cookie Monster Plugin" href="http://wordpress.org/extend/plugins/cookiemonster/" target="_blank">Cookie Monster</a>&#8221; plugin.<span id="more-243"></span></p>
<h2>How it works</h2>
<p>First, I&#8217;ll explain how this will work so you know what you&#8217;re getting into. We&#8217;re going to use the <strong>Cookie Monster plugin</strong> to allow us to <strong>capture a cookie based on the URL</strong> the visitor uses to enter your website (i.e. http://www.yourstore.com?ref=JohnDoe). The cookie will now be remembered (in this case &#8220;JohnDoe&#8221;) and stored in the users browser. At checkout the cookie is passed on via a hidden field &#8220;how_find_us&#8221; which is normally used to determine how the customer found your site (but we&#8217;ll be modifying that).</p>
<p><strong>The way this will work for your affiliates</strong> is they&#8217;ll need to choose an affiliate code, anything really, such as &#8220;Bob&#8221; or &#8220;CompanyInc&#8221;, and put that affiliate code ( ?ref=Bob ) at the end of any of your store URL&#8217;s (i.e. http://www.yourstore.com?ref=Bob, http://www.yourstore.com/books/?ref=Bob, http://www.yourstore.com/books/harry-potter/?ref=Bob ).</p>
<p>To track any sales that came as a result of referrals go to your WP e-Commerce &#8220;Store Sales&#8221; page and check either the sale detail page or CSV export of your sales. The CSV export is the easiest way to see all referral sales at once. The referral code will be listed as &#8220;<strong>How User Found Us: </strong>JohnDoe&#8221;.</p>
<p>This method is especially simple and beneficial to small/medium online stores who don&#8217;t need all the features of a full-featured affiliate system, especially considering the complexity of integrating such an affiliate system with WP e-Commerce.</p>
<h2>How to Implement</h2>
<p><strong>Simply follow these steps</strong>:</p>
<ol>
<li>From your WordPress Dashboard go to &#8220;Settings&#8221; &#8211;&gt; &#8220;Store&#8221; and then the &#8220;Marketing&#8221; tab. Check the box to turn on the &#8220;<strong>Display How Customer Found Us Survey</strong>&#8221; (hopefully you weren&#8217;t planning on using that feature, because this is a slight modification that&#8217;s going to change what it does). Now click update.</li>
<li>Download, install and activate the WordPress &#8220;<a title="WordPress Cookie Monster Plugin" href="http://wordpress.org/extend/plugins/cookiemonster/" target="_blank">Cookie Monster</a>&#8221; plugin.</li>
<li>From your WordPress Dashboard go to &#8220;Settings&#8221; &#8211;&gt; &#8220;Cookie Monster&#8221;. In the box next to &#8220;URL Parameter 1 :&#8221; enter &#8220;ref&#8221; (ref without quotations). Click &#8220;Update options&#8221;.</li>
<li>Open &#8220;<strong>wpsc-shopping_cart_page.php</strong>&#8221; in your theme files&#8230; (You may want to make a backup copy of this file before changing it, and also another backup copy after changing it, in case it ever gets over-written, or you want to remove the changes)</li>
</ol>
<p><strong>Find this code</strong>:</p>
<pre>&lt;?php if (wpsc_show_find_us()) : ?&gt;
      &lt;tr&gt;
         &lt;td&gt;&lt;label for='how_find_us'&gt;&lt;?php _e('How did you find us' , 'wpsc'); ?&gt;&lt;/label&gt;&lt;/td&gt;
         &lt;td&gt;
            &lt;select name='how_find_us'&gt;
               &lt;option value='Word of Mouth'&gt;&lt;?php _e('Word of mouth' , 'wpsc'); ?&gt;&lt;/option&gt;
               &lt;option value='Advertisement'&gt;&lt;?php _e('Advertising' , 'wpsc'); ?&gt;&lt;/option&gt;
               &lt;option value='Internet'&gt;&lt;?php _e('Internet' , 'wpsc'); ?&gt;&lt;/option&gt;
               &lt;option value='Customer'&gt;&lt;?php _e('Existing Customer' , 'wpsc'); ?&gt;&lt;/option&gt;
            &lt;/select&gt;
         &lt;/td&gt;
      &lt;/tr&gt;
&lt;?php endif; ?&gt;</pre>
<p><strong>Replace with this code</strong>:</p>
<pre>&lt;?php if (wpsc_show_find_us()) : ?&gt;
      &lt;tr&gt;
          &lt;td colspan='2' style="height: 5px;"&gt;
              &lt;input class="text" value="&lt;?php echo $_COOKIE[get_option('cookie_param1')]; ?&gt;" name="how_find_us" type="hidden"&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
&lt;?php endif; ?&gt;</pre>
<p>It&#8217;s possible that your code is going to be a little bit different than mine, the important thing is to replace the &#8220;how_find_us&#8221; drop-down form code with a hidden input field that grabs the referral cookie code&#8230;</p>
<pre>&lt;input class="text" value="&lt;?php echo $_COOKIE[get_option('cookie_param1')]; ?&gt;" name="how_find_us" type="hidden"&gt;</pre>
<p><strong>That&#8217;s it! </strong>You&#8217;re done.</p>
<p>You may want to make a test purchase to verify that it&#8217;s working. (Be sure to visit your store with a ref code in the URL, i.e. http://www.yourstore.com?ref=Bob )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brmecham.com/track-referral-sales-wp-e-commerce-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress Recent Comments with Excerpt and Gravatar</title>
		<link>http://www.brmecham.com/wordpress-recent-comments-with-excerpt-and-gravatar/</link>
		<comments>http://www.brmecham.com/wordpress-recent-comments-with-excerpt-and-gravatar/#comments</comments>
		<pubDate>Fri, 13 May 2011 19:53:45 +0000</pubDate>
		<dc:creator>Brian Mecham</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[excerpt]]></category>
		<category><![CDATA[gravatar]]></category>
		<category><![CDATA[recent comments]]></category>

		<guid isPermaLink="false">http://www.brmecham.com/?p=133</guid>
		<description><![CDATA[I build a lot of WordPress websites and it&#8217;s great that there are so many plugins available for various functions, but sometimes I run into a situation where the right plugin just doesn&#8217;t exist (or if it does I didn&#8217;t find it). I needed a widget to display the WordPress recent comments with the comment [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-142" title="WordPress Recent Comments with Excerpt and Gravatar" src="http://www.brmecham.com/wp-content/uploads/2011/05/wordpress-recent-comments-excerpt-gravatar.jpg" alt="WordPress Recent Comments with Excerpt and Gravatar" width="428" height="240" /></p>
<p>I build a lot of WordPress websites and it&#8217;s great that there are so many plugins available for various functions, but sometimes I run into a situation where the right plugin just doesn&#8217;t exist (or if it does I didn&#8217;t find it). I needed <span class="hilite">a widget to display the WordPress recent comments with the comment excerpt and the users gravatar</span> (globally recognized avatar). Here&#8217;s what I came up with, modified based on some code from others looking for a similar solution:<span id="more-133"></span></p>
<p>Put this into your sidebar template or elsewhere:</p>
<pre>&lt;?php $comments = get_comments('status=approve&amp;number=5'); ?&gt;
&lt;h3 class="widget-title"&gt;Recent Comments&lt;/h3&gt;
&lt;ul class="recomm"&gt;
&lt;?php foreach ($comments as $comment) { ?&gt;
    &lt;li class="recomm-wrapper"&gt;&lt;?php
        $title = get_the_title($comment-&gt;comment_post_ID);
        echo get_avatar( $comment, '53' );
        echo '&lt;span class="recommauth"&gt;' . ($comment-&gt;comment_author) . '&lt;/span&gt;';
        ?&gt; said: "&lt;?php
        echo wp_html_excerpt( $comment-&gt;comment_content, 72 ); ?&gt;.."
        on &lt;a href="&lt;?php echo get_permalink($comment-&gt;comment_post_ID); ?&gt;"
           rel="external nofollow" title="&lt;?php echo $title; ?&gt;"&gt;
           &lt;?php echo $title; ?&gt; &lt;/a&gt;
    &lt;/li&gt;
&lt;?php }  ?&gt; &lt;/ul&gt;</pre>
<p>Here&#8217;s the CSS styling I&#8217;m using (you may need to modify it according to your theme):</p>
<pre>ul.recomm {
	margin-left: 0;
	margin-bottom: 36px;
	list-style: none;
}
.recomm-wrapper {
   clear:both;
   min-height: 53px;
   margin-bottom: 14px;
}
.recomm .avatar {
   float:left;
   margin-top:5px;
   margin-right:10px;
   border: #d8d8d8 1px solid;
}
.recommauth {
	font-weight: bold;
}</pre>
<p><span class="hilite">Go to Utah Liberation to see this code in action</span>: <a title="Utah Liberation politics" href="http://www.utahliberation.com/" target="_blank">utahliberation.com</a> (bottom of the sidebar)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brmecham.com/wordpress-recent-comments-with-excerpt-and-gravatar/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>WordPress: How To Write a Blog Post</title>
		<link>http://www.brmecham.com/wordpress-how-to-write-a-blog-post/</link>
		<comments>http://www.brmecham.com/wordpress-how-to-write-a-blog-post/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 23:32:48 +0000</pubDate>
		<dc:creator>Brian Mecham</dc:creator>
				<category><![CDATA[Blog Tips]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[publish]]></category>

		<guid isPermaLink="false">http://www.weblifellc.com/?p=165</guid>
		<description><![CDATA[You are logged in to your WordPress-based website Dashboard, ready to write your first Blog post and suddenly you realize that you don't know what to do. No worries. Follow these simple steps to publish a new Blog post...]]></description>
			<content:encoded><![CDATA[<p>You are logged in to your WordPress-based website Dashboard, ready to write your first Blog post and suddenly you realize that you don&#8217;t know what to do&#8230;</p>
<p>No worries. Follow these simple steps to publish a new Blog post:</p>
<p>Below the following steps are some screenshots to help guide you along the steps to submitting an article&#8230; If you are already familiar with WordPress you probably won&#8217;t need this guide&#8230;</p>
<ol>
<li><strong>Click on &#8216;Posts&#8217;</strong> (from the left side menu)</li>
<li><strong>Click &#8216;Add New&#8217;</strong> (also left side menu). You should now see a page titled &#8220;Add New Post&#8221;</li>
<li>The first box is for the <strong>Title of your article</strong>.</li>
<li>The second box is for the <strong>article content</strong>. You can either paste your article into this box, or type your article (if it&#8217;s not already written). If you are pasting from Microsoft Word choose the &#8220;Paste from Word&#8221; option <img class="alignnone size-full wp-image-1031" style="border: 0pt none; margin: 0px;" title="paste-from-word" src="http://www.ldsliberty.org/wp-content/uploads/paste-from-word.png" alt="paste-from-word" width="29" height="27" />. You&#8217;ll find that by clicking the &#8216;Show/Hide Kitchen Sink&#8217; button <img class="alignnone size-full wp-image-1032" style="border: 0pt none; margin: 0px;" title="kitchen-sink" src="http://www.ldsliberty.org/wp-content/uploads/kitchen-sink.png" alt="kitchen-sink" width="29" height="27" />. There are also options for styling your content.</li>
<li>To <strong>add an image</strong> click the &#8216;add an image&#8217; icon <img class="alignnone size-full wp-image-1033" style="border: 0pt none; margin: 0px;" title="add-image" src="http://www.ldsliberty.org/wp-content/uploads/add-image.png" alt="add-image" width="20" height="18" /> next to &#8220;Upload/Insert&#8221;. (If this is your first article submission you won&#8217;t yet have the ability to add an image.) You can add an image from your computer or from another URL (another website). It is recommended that you choose the &#8216;From Computer&#8217; option. If your image comes from somewhere else online, find the image and save it to your computer first. If you are adding an image from your computer click &#8216;Select Files&#8217; on the &#8216;From Computer&#8217; tab. A box should come up that allows you to browse your computer to find the image you want to upload. Once you have find the right image, select it and click &#8216;open&#8217;. The image should now be uploaded and you&#8217;ll be presented with some options regarding how you want the image displayed within your article (size, aligned to the left, right or center, etc). Click &#8216;Insert into Post&#8217;. You should now see the image within your article. If you want to adjust something click on the image and you&#8217;ll see one icon that allows you to adjust the options and another icon to delete the image. After editing image options click &#8216;update&#8217; to apply the changes.</li>
<li>Once you are done with the article content, and any images, <strong>add an excerpt</strong> into the box labeled &#8216;Excerpt&#8217;. The excerpt is typically one sentence, or paragraph, long and it is the article excerpt or &#8216;teaser&#8217; that will be displayed on your Blog page along with the article title. (If your blog is designed to show excerpts on the Blog page, rather than the entire article ).</li>
<li>You typically won&#8217;t need to do anything with the other boxes: trackbacks, custom fields, Discussion, etc.</li>
<li><strong>Add &#8220;tags&#8221;</strong> to your article in the &#8216;Post Tags&#8217; area. Tags are keywords or topics related to your article. If your article is about &#8216;freedom&#8217; and &#8216;economics&#8217; using those as tags will help people find your article among other articles of similar topics.</li>
<li>Categories: <strong>Choose an existing category or add a new category</strong>. Simple. The difference between a category and a tag is typically that your category is the main topic of the article, whereas tags are sub-topics and other keywords related to the article subject.</li>
<li>Now <strong>you&#8217;re ready to publish your article</strong>. Click &#8216;Publish&#8217;.</li>
</ol>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-166" title="wordpress-article-submission-process" src="http://www.weblifellc.com/wp-content/uploads/2009/10/wordpress-article-submission-process.png" alt="wordpress-article-submission-process" width="456" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brmecham.com/wordpress-how-to-write-a-blog-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why I love WordPress</title>
		<link>http://www.brmecham.com/why-i-love-wordpress/</link>
		<comments>http://www.brmecham.com/why-i-love-wordpress/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 07:26:44 +0000</pubDate>
		<dc:creator>Brian Mecham</dc:creator>
				<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[content management system]]></category>
		<category><![CDATA[search engine friendly]]></category>
		<category><![CDATA[search engine optimization]]></category>

		<guid isPermaLink="false">http://www.weblifellc.com/?p=159</guid>
		<description><![CDATA[Choosing a WordPress-based website leaves you in control. It's also a future-proof solution considering that WordPress is steadily growing as the most popular website platform...]]></description>
			<content:encoded><![CDATA[<h2>and why you would love WordPress too</h2>
<p><img class="size-medium wp-image-270 alignright" title="WordPress Logo" src="http://www.brmecham.com/wp-content/uploads/2009/10/wordpress-logo-stacked-rgb-320x198.png" alt="WordPress Logo" width="256" height="158" />Google loves WordPress. I love Google and I love WordPress (it&#8217;s very search engine friendly). It makes Search Engine Optimization easy!</p>
<p>If you can operate Microsoft Word, you can probably use WordPress.</p>
<p>It lowers the bar for what it takes to maintain websites. Although WordPress began as a blogging platform, it&#8217;s now so much more.</p>
<p><strong>No software needed</strong>. Have a laptop and wireless connection? Go to the nearest wi-fi hotspot if you want and blog about your cats or your business. (You can even easily blog from your iPhone or Android phone with WordPress&#8217; mobile app!</p>
<p><strong>WordPress Kills Spam</strong>. That&#8217;s right, you won&#8217;t have to worry about a flood of spam comments (Just enable the built-in Akismet plugin).</p>
<p><strong>Not just a blog</strong>. WordPress has a feature called &#8220;pages&#8221; which allows you to easily create pages on your website. For example, you could add an &#8220;about me&#8221; page with your biography. You can even create an entire web site using pages in WordPress, with a custom home page and your blog as one of the sub-pages.</p>
<p>Widgets for Facebook, YouTube, Twitter and more. You can add &#8220;widgets&#8221; to your sidebar and rearrange them without touching any HTML code or messing up your blog. Just drag and drop the sidebar widgets around, and instantly you can have fun stuff in your sidebar.</p>
<p><strong>Customizable</strong>. You can make WordPress do just about anything by simply finding the right plugin.</p>
<p>If you ever get tired of how your website looks, simply create, or find, a different WordPress Theme.</p>
<p>Right about now you might be asking yourself &#8220;What do I need a Web Designer for if WordPress is so easy and will do all of this for me?&#8221; Your Web Designer will be there to setup WordPress and give it a look customized to your brand. Your Web Designer can also setup and customize features and plugins for you to ensure that your site is all ready to go, ready for you to take over, and ready for business!</p>
<p>Choosing a WordPress-based website <strong>leaves you in control</strong>. It&#8217;s also a future-proof solution considering that WordPress is steadily growing as the most popular website platform.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brmecham.com/why-i-love-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Different Widgets for Different Pages</title>
		<link>http://www.brmecham.com/wordpress-different-widgets-for-different-pages/</link>
		<comments>http://www.brmecham.com/wordpress-different-widgets-for-different-pages/#comments</comments>
		<pubDate>Thu, 21 May 2009 05:52:27 +0000</pubDate>
		<dc:creator>Brian Mecham</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://www.brmecham.com/?p=50</guid>
		<description><![CDATA[I love designing websites with WordPress. It makes it easy for my clients to edit content on their own versus other solutions. For the longest time I've been disappointed that WordPress didn't have the ability to define which widgets show up on which pages. It's a feature I'd love to see built-in. There are two plugins that have been around for a while but are new to me.  The plugins are a solution to my problem...]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-91" title="wordpress widget logic" src="http://www.brmecham.com/wp-content/uploads/2009/05/widget-logic.jpg" alt="wordpress widget logic" width="428" />I love designing websites with WordPress. It makes it easy for my clients to edit content on their own versus other solutions. For the longest time I&#8217;ve been disappointed that WordPress didn&#8217;t have the ability to define which widgets show up on which pages (Widgets, meaning the content that is displayed in the left or right side columns, or footer of the website). It&#8217;s a feature I&#8217;d love to see built-in.</p>
<p>There are two plugins that have been around for a while but are new to me.  The plugins are a solution to my problem&#8230;</p>
<p>Widget Logic:<br />
<a title="Widget Logic" href="http://wordpress.org/extend/plugins/widget-logic/" target="_blank">http://wordpress.org/extend/plugins/widget-logic/</a></p>
<p>Widget Context:<br />
<a title="Widget Context" href="http://konstruktors.com/blog/wordpress/842-wordpress-gpl-widget-context-plugin/" target="_blank">http://konstruktors.com/blog/wordpress/842-wordpress-gpl-widget-context-plugin/</a></p>
<p>Both of these plugins allow you to define which pages the widget will show up on, or which pages to exclude the widget from. Widget Logic is simpler, yet only recommended for those who understand <a title="WordPress Conditional Tags" href="http://codex.wordpress.org/Conditional_Tags" target="_blank">WordPress Conditional Tags</a>. WordPress Context is easier for beginners. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.brmecham.com/wordpress-different-widgets-for-different-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

