<?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>Envex Labs &#187; wordpress</title>
	<atom:link href="http://envexlabs.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://envexlabs.com</link>
	<description>Freelance web development company of Matt Vickers</description>
	<lastBuildDate>Tue, 31 Aug 2010 14:02:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Design by day. Book reviews by night.</title>
		<link>http://envexlabs.com/2010/04/design-by-day-book-reviews-by-night/</link>
		<comments>http://envexlabs.com/2010/04/design-by-day-book-reviews-by-night/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 13:31:53 +0000</pubDate>
		<dc:creator>Matt Vickers</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://envexlabs.com/?p=370</guid>
		<description><![CDATA[One of the best things about being a designer/developer/geek is that there is always something new to learn. Even if you&#8217;re not keeping up with current trends you can always take time to learn the things of the past. One of the areas of development I&#8217;ve briefly glanced at was e-commerce. It&#8217;s not that I [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-376" title="packt" src="http://envexlabs.com/wp-content/uploads/2010/04/packt.gif" alt="" width="550" height="108" /></p>
<p>One of the best things about being a designer/developer/geek is that there is always something new to learn. Even if you&#8217;re not keeping up with current trends you can always take time to learn the things of the past.<span id="more-370"></span></p>
<p>One of the areas of development I&#8217;ve briefly glanced at was e-commerce. It&#8217;s not that I don&#8217;t enjoy e-commerce, it&#8217;s just the opportunities to create full sized e-commerce websites has never come up.</p>
<p>Naturally, when I was contacted by Packt Publishing to review a book on WordPress I was excited. Getting to learn about WordPress, awesome. Getting a (free) book, awesome. When I noticed it was about e-commerce it sparked my interest to new levels.</p>
<h3>WordPress 2.9 e-Commerce</h3>
<p>Now, this is just a preview of the review. A &#8220;yes-i&#8217;m-going-to-write-it-soon&#8221; post if you will.</p>
<p><a href="http://envexlabs.com/wp-content/uploads/2010/04/8501_WordPress-2.7-E-Commerce_SampleChapter.pdf">Feel free to download the sample chapter</a> <strong>&#8220;Shipping, Taxes, and Processing Orders&#8221;</strong></p>
<p>Be sure to send me friendly reminders on <a href="http://twitter.com/envex">twitter (@envex)</a> to remind me that I should be reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://envexlabs.com/2010/04/design-by-day-book-reviews-by-night/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HoJoe Coffee &amp; Books</title>
		<link>http://envexlabs.com/2010/03/hojoe-coffee-books/</link>
		<comments>http://envexlabs.com/2010/03/hojoe-coffee-books/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 14:46:57 +0000</pubDate>
		<dc:creator>Matt Vickers</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[vantage]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://envexlabs.com/?p=360</guid>
		<description><![CDATA[HoJoe Coffee &#38; Books is a proud local business located in the heart of downtown Kenora on beautiful Lake of the Woods in Northwestern Ontario. Vantage Studios Inc. is proud to launch the new HoJoe Coffee &#38; Books Website. I was responsible for design and development of a functional WordPress theme, content organization and plug-in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://envexlabs.com/wp-content/uploads/2010/03/hojoe_inside.jpg"><img class="alignnone size-full wp-image-361" title="hojoe_inside" src="http://envexlabs.com/wp-content/uploads/2010/03/hojoe_inside.jpg" alt="" width="550" height="354" /></a></p>
<blockquote><p>HoJoe Coffee &amp; Books is a proud local business located in the heart of downtown Kenora on beautiful Lake of the Woods in Northwestern Ontario.</p></blockquote>
<p><a href="http://vantagestudios.ca" target="_blank">Vantage Studios Inc.</a> is proud to launch the new <a href="http://hojoe.ca" target="_blank">HoJoe Coffee &amp; Books Website.</a></p>
<p>I was responsible for design and development of a functional WordPress theme, content organization and plug-in development/management.</p>
<p>All content property of <a href="http://vantagestudios.ca" target="_blank">Vantage Studios Inc.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://envexlabs.com/2010/03/hojoe-coffee-books/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Styling WordPress Comments</title>
		<link>http://envexlabs.com/2009/11/styling-wordpress-comments/</link>
		<comments>http://envexlabs.com/2009/11/styling-wordpress-comments/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 17:53:32 +0000</pubDate>
		<dc:creator>Matt Vickers</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://envexlabs.com/?p=290</guid>
		<description><![CDATA[Styling the WordPress comments can be a pain if you don&#8217;t know what you&#8217;re doing. You have to wade through functions and files to finally get what you want. Luckily, we can write our own comment function, using our own code, to make styling the comments 100% easier and 50% more fun The Function In [...]]]></description>
			<content:encoded><![CDATA[<p>Styling the WordPress comments can be a pain if you don&#8217;t know what you&#8217;re doing. You have to wade through functions and files to finally get what you want.</p>
<p>Luckily, we can write our own comment function, using our own code, to make styling the comments 100% easier and 50% more fun <img src='http://envexlabs.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><span id="more-290"></span></p>
<h3>The Function</h3>
<p>In your WordPress theme folder (root/wp-content/themes/your-theme/) there will be a file called <strong>functions.php</strong>. This is the first file we are going to edit, so open it up. Add this code to the bottom of <strong>functions.php</strong>.</p>
<pre name="code" class="php">
&lt;?php

function envex_comments($comment, $args, $depth) {

$GLOBALS['comment'] = $comment;

//grab the commenter id
$user_id = $comment-&gt;user_id;
$user = new WP_User( $user_id );

//set the current role of that commenter to the role variable
//most of the time, you'll just be worrying about you, the administrator
$role = isset($user) ? $user-&gt;roles[0] : ''; ?&gt;

&lt;li &lt;?php echo $oddcomment; ?&gt;id="comment-&lt;?php comment_ID() ?&gt;"&gt;

&lt;div&gt;
&lt;?php if(function_exists('get_avatar')) { echo get_avatar($comment, '45'); } ?&gt;
&lt;p&gt;&lt;strong&gt;&lt;?php comment_author_link() ?&gt;&lt;/strong&gt;&lt;br /&gt;&lt;?php comment_date('m/d/y \@ h:m a') ?&gt;&lt;/p&gt;

&lt;/div&gt; &lt;!-- comment_grav --&gt;

&lt;div&gt;
&lt;?php comment_text() ?&gt;
&lt;/div&gt; &lt;!-- comment_text --&gt;

&lt;div&gt;
&lt;?php comment_reply_link(array_merge( $args, array('depth' =&gt; $depth, 'max_depth' =&gt; $args['max_depth']))) ?&gt;
&lt;/div&gt;

&lt;?php
if ($comment-&gt;comment_approved == '0') : ?&gt;
&lt;p&gt;&lt;em&gt;Your comment is awaiting moderation.&lt;/em&gt;&lt;/p&gt;
&lt;?php
endif; ?&gt;

&lt;/li&gt;

&lt;?php
/* Changes every other comment to a different class */
$oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';

}

?&gt;
</pre>
<p>In a nutshell, WordPress is going to run this function for each comment.</p>
<p>We&#8217;ve created an li element that will hold all of our comment info.</p>
<p><strong>The Gravatar</strong></p>
<p>The first div, <strong>comment_grav</strong>, will display a gravatar is the current commenter has one setup. We use get_avatar($comment, &#8217;45&#8242;) and pass 2 variables to it. The first one being the comment info and the second is the size of our gravatar.</p>
<p>You can read more about <a href="http://en.gravatar.com/" target="_blank">gravatars over at their website</a>!</p>
<p><strong>The Comment Text and The Reply Link<br />
</strong></p>
<p>These next 2 functions are pretty straight forward. To display the comment text we use <em><strong>comment_text()</strong></em>.</p>
<p>To display the reply link we use the <em><strong>comment_reply_link()</strong></em>. The arguments that are being passed are to deal with threaded comments (*if they&#8217;re enabled).</p>
<p><em>*Threaded comments are enabled in Admin panel –&gt; Settings -&gt; Discussions.</em></p>
<p><strong>The Approval</strong></p>
<p>We don&#8217;t want to show any unapproved comments, so we check to see if <em>$comment-&gt;comment_approved </em>is false. If it&#8217;s false we display that it&#8217;s awaiting moderation.</p>
<h3>The Template</h3>
<p>Now that we&#8217;ve created our own comments function, we need to tell our theme to use it instead of the WordPress one. Open <strong>comments.php</strong> and find <em><strong>wp_list_comments()</strong></em>.<em><strong> </strong></em>It should be around line 29.</p>
<p>We are going to pass a few arguments to this function.</p>
<pre name="code" class="php">
wp_list_comments(array('reply_text'=&gt;'Reply to this Comment','type'=&gt;'comment','callback' =&gt; 'envex_comments'));
</pre>
<p>These arguments tell the <em><strong>wp_list_comments() </strong></em>function to use <em><strong>envex_comments() </strong></em>to display our comments.</p>
<h3>Conclusion</h3>
<p>You now have the basic structure for some new comments on your blog/cms. All that&#8217;s left is to style them up to match your site, and i&#8217;m going to leave that up to you!</p>
]]></content:encoded>
			<wfw:commentRss>http://envexlabs.com/2009/11/styling-wordpress-comments/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The UWSA</title>
		<link>http://envexlabs.com/2009/11/the-uwsa/</link>
		<comments>http://envexlabs.com/2009/11/the-uwsa/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 14:51:41 +0000</pubDate>
		<dc:creator>Matt Vickers</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[uwsa]]></category>
		<category><![CDATA[vantage]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://envexlabs.com/?p=257</guid>
		<description><![CDATA[The University of Winnipeg Students’ Association democratically unites the students of the University of Winnipeg in order to advance student interests. Our efforts include promoting the exchange of ideas and information among students, and within the greater University community. Vantage Studios Inc. is proud to launch the new and improved UWSA website. I was responsible [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-259" title="uwsa_main" src="http://envexlabs.com/wp-content/uploads/2009/11/uwsa_main.png" alt="uwsa_main" width="550" height="191" /></p>
<blockquote><p>The University of Winnipeg Students’ Association democratically unites the students of the University of Winnipeg in order to advance student interests. Our efforts include promoting the exchange of ideas and information among students, and within the greater University community.</p></blockquote>
<p><a href="http://vantagestudios.ca" target="_blank">Vantage Studios Inc.</a> is proud to launch the new and improved <a href="http://theuwsa.ca/" target="_blank">UWSA website.</a></p>
<p>I was responsible for converting the design (by <a href="http://vantagestudios.ca" target="_blank">Vantage Studios Inc.</a>) to a functional WordPress theme, content organization and plug-in development/management.</p>
<p>All content property of <a href="http://vantagestudios.ca" target="_blank">Vantage Studios Inc.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://envexlabs.com/2009/11/the-uwsa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress as a CMS</title>
		<link>http://envexlabs.com/2009/10/wordpress-as-a-cms/</link>
		<comments>http://envexlabs.com/2009/10/wordpress-as-a-cms/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 14:34:28 +0000</pubDate>
		<dc:creator>Matt Vickers</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Screencasts]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[net tuts]]></category>
		<category><![CDATA[screencast]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://envexlabs.com/?p=214</guid>
		<description><![CDATA[When most people think about WordPress, they think about blogs. If you look at the front page of WordPress.org, they talk a lot about blogging as well. What they don&#8217;t tell you is that WordPress can also double as a very powerful CMS; you just have to set it up properly. It can be a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-215" title="wordpress" src="http://envexlabs.com/wp-content/uploads/2009/10/wordpress.jpg" alt="wordpress" width="550" height="108" /></p>
<p>When most people think about WordPress, they think about blogs. If you look at the front page of WordPress.org, they talk a lot about blogging as well. What they don&#8217;t tell you is that WordPress can also double as a very powerful CMS; you just have to set it up properly. It can be a bit tricky to get setup and working the way that you want; but this is where I come in.<span id="more-214"></span></p>
<p>In this 3-part tutorial + screencast series, I&#8217;m going to take you through the three steps of using WordPress as a CMS.</p>
<p><a href="http://net.tutsplus.com/tutorials/plus-tutorials-2/wordpress-as-a-cms-new-plus-tutorial/" target="_blank">View the 3-Part Tutorial/Screencast</a></p>
<p><small>This tutorial is now owned by <a href="http://net.tutsplus.com/" target="_blank">NetTuts+</a>, I&#8217;m just the author.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://envexlabs.com/2009/10/wordpress-as-a-cms/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>TheMacFeed.com</title>
		<link>http://envexlabs.com/2009/10/themacfeed-com/</link>
		<comments>http://envexlabs.com/2009/10/themacfeed-com/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 04:16:14 +0000</pubDate>
		<dc:creator>Matt Vickers</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[macfeed]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://envexlabs.com/?p=190</guid>
		<description><![CDATA[EnvexLabs is proud to launch the new face of TheMacFeed.com We were contacted by TheMacFeed to create a fresh new look for their site and between you and me, I think we delivered! Be sure to take a look around, they provide a lot of information about anything Apple/Mac! TheMacFeed is a fully staffed website dedicated [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-191" title="macfeed_main" src="http://envexlabs.com/wp-content/uploads/2009/10/macfeed_main.png" alt="macfeed_main" width="550" height="347" /></p>
<p>EnvexLabs is proud to launch the new face of <a href="http://themacfeed.com" target="_blank">TheMacFeed.com</a></p>
<p>We were contacted by TheMacFeed to create a fresh new look for their site and between you and me, I think we delivered! Be sure to take a look around, they provide a lot of information about anything Apple/Mac!</p>
<blockquote><p><em>TheMacFeed is a fully staffed website dedicated to bringing quality reviews and news for iPhone and Mac users. We take a more practical approach to the way we operate. We look at how products are used in every day situations and compare them to differing alternatives. </em></p>
<p><em>Our news section is filtered for news that we find is pertinent and relevant to most users, rather then being another Apple prediction site.Our staff is extremely friendly is always looking for new ideas or suggestions, so always feel free to leave any comment or question on any story you have. </em></p>
<p><em>In addition, our staff comes diverse backgrounds with common threads being extensive experience using Apple products and a desire to share their experiences with the rest of the community.</em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://envexlabs.com/2009/10/themacfeed-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slim WordPress Stylesheet</title>
		<link>http://envexlabs.com/2009/09/slim-wordpress-stylesheet/</link>
		<comments>http://envexlabs.com/2009/09/slim-wordpress-stylesheet/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 01:09:06 +0000</pubDate>
		<dc:creator>Matt Vickers</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://envexlabs.com/?p=49</guid>
		<description><![CDATA[The wordpress style-sheet can be a little bit daunting/confusing especially if you&#8217;re new to wordpress. It&#8217;s broken up into multiple sections with repeating blocks of elements. I&#8217;ve stripped it down and this is the CSS I use when starting with a wordpress site. It&#8217;s valid CSS but take it with a grain of salt as [...]]]></description>
			<content:encoded><![CDATA[<p>The wordpress style-sheet can be a little bit daunting/confusing especially if you&#8217;re new to wordpress. It&#8217;s broken up into multiple sections with repeating blocks of elements.</p>
<p>I&#8217;ve stripped it down and this is the CSS I use when starting with a wordpress site.</p>
<p>It&#8217;s valid CSS but take it with a grain of salt as it&#8217;s not for everyone. It&#8217;s helped me and I hope it helps you!</p>
<p><span id="more-49"></span></p>
<pre name="code" class="css">
body{font-size:62.5%;}
.narrowcolumn{float:left;padding:0 0 15px 0;margin:10px 0 0 0;clear:none;width:100%}
.post{margin:0 0 40px;text-align:justify}hr{display:none;}
.narrowcolumn .postmetadata{padding-top:5px}
.postmetadata,.clear{clear:both}
img.centered{display:block;margin-left:auto;margin-right:auto}
img.alignright{padding:4px;margin:0 0 2px 7px;display:inline}
img.alignleft{padding:4px;margin:0 7px 2px 0;display:inline}
.alignright,.alignleft{float:left}
html>body .entry ul{margin-left:0px;padding:0 0 0 30px;list-style:none;padding-left:10px;text-indent:-10px}
html>body .entry li{margin:7px 0 8px 10px}
.entry ol{padding:0 0 0 35px;margin:0}
.entry ol li{margin:0;padding:0}
.postmetadata ul,
.postmetadata li{display:inline;list-style-image:none}
.alt{margin:0;padding:10px}
.commentlist{padding:0;text-align:justify}
.commentlist li{margin:15px 0 10px;padding:5px 5px 10px 10px;list-style:none}
.commentlist li ul li{margin-right:-5px;margin-left:10px}
.commentlist p{margin:10px 5px 10px 0}.children{padding:0}
.commentmetadata{margin:0;display:block}
.thread-alt{background-color:#f8f8f8}
.thread-even{background-color:white}
.depth-1{border:1px solid #ddd}
.even,
.alt{border-left:1px solid #ddd}
.navigation{display:block;text-align:center;margin-top:10px;margin-bottom:60px}
.aligncenter,div.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption{border:1px solid #ddd;text-align:center;background-color:#f3f3f3;padding-top:4px;margin:10px;}
.wp-caption img{margin:0;padding:0;border:0 none}
.wp-caption p.wp-caption-text{font-size:11px;line-height:17px;padding:0 4px 5px;margin:0}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://envexlabs.com/2009/09/slim-wordpress-stylesheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tripwire Media</title>
		<link>http://envexlabs.com/2009/09/tripwire-media/</link>
		<comments>http://envexlabs.com/2009/09/tripwire-media/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 03:13:05 +0000</pubDate>
		<dc:creator>Matt Vickers</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[vantage]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://envexlabs.com/?p=24</guid>
		<description><![CDATA[The Tripwire Media Group strives to create compelling new media products while adhering to the highest standards of ethical and moral policy. We deliver value to our customers both in the products we create and the personalized service we provide. Our goal is to grow with our clients &#8211; your satisfaction is our absolute priority. [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>The Tripwire Media Group strives to create compelling new media products while adhering to the highest standards of ethical and moral policy. We deliver value to our customers both in the products we create and the personalized service we provide. Our goal is to grow with our clients &#8211; your satisfaction is our absolute priority. We will not rest until The Tripwire Media Group is recognized as the most progressive enterprise in the new media marketplace.</p></blockquote>
<p><a href="http://www.tripwiremedia.com/" target="_blank">Check out the site now!</a></p>
<p>All content property of <a href="http://vantagestudios.ca" target="_blank">Vantage Studios Inc.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://envexlabs.com/2009/09/tripwire-media/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
