<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>WPCoder</title>
	
	<link>http://wpcoder.com</link>
	<description>We build incredible sites for WordPress.</description>
	<lastBuildDate>Thu, 26 Jan 2012 14:39:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/wpcoderjournal" /><feedburner:info uri="wpcoderjournal" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Case Study: Preventing editing errors</title>
		<link>http://wpcoder.com/2011/07/19/preventing-editing-errors/</link>
		<comments>http://wpcoder.com/2011/07/19/preventing-editing-errors/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 19:34:43 +0000</pubDate>
		<dc:creator>Michael Castilla</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://wpcoder.com/?p=155</guid>
		<description><![CDATA[Use core WordPress features and theme code to client-proof your themes.]]></description>
			<content:encoded><![CDATA[<p>Nearly every project we handle here at WPCoder uses WordPress as a CMS, rather than just a blogging platform. It&#8217;s exciting to see WordPress being used more and more as a multi-purpose CMS as the software evolves, and it presents a new challenge for each project to make the theme as dynamic &amp; easy to manage as possible by the client. However, with great power comes great responsibility, and unfortunately there are too many opportunities for clients to break the layout of their site by editing content. One of our major goals is to produce themes that eliminate the possibility of editing-related problems as much as possible, and we spend time on each project thinking through every part of the theme&#8217;s functionality from both a development standpoint and from the client&#8217;s pont of view. Here&#8217;s a glimpse into our development process and an example of one way we try to make our themes as client-proof as possible.</p>
<h3><span id="more-155"></span>Real-life example</h3>
<p>Let&#8217;s take a look at one example from a recent project. Here is the area of the page in question:</p>
<p style="text-align: center;"><img class="noborder" title="editingerrors1" src="http://wpcoder.com/wordpress/wp-content/uploads/2011/07/editingerrors11.png" alt="" width="570" height="218" /></p>
<p>This section showcased the company&#8217;s four services, which are also set up as sub-pages of an &#8220;Our Services&#8221; page. The original request from the client was to set this up in the admin with column shortcodes. The client would wrap each column with a shortcode (replaced with HTML in the theme) and fill in the image, title, description, and Learn More link. Red light!</p>
<p>That&#8217;s a pretty tall set of instructions for a client who has probably never even used WordPress before. Additionally, we wanted the code to include the following details:</p>
<ul>
<li>Presentation: The image and title are inside one link tag so that hovering the image also changes the title color – a minor but effective design detail.</li>
<li>Navigation: The image, title, and Learn More link should all point to the corresponding product page, which requires some link-finding and copy-and-pasting in the admin – not very intuitive.</li>
</ul>
<p><img class="aligncenter size-full wp-image-158 noborder" title="editingrerrors2" src="http://wpcoder.com/wordpress/wp-content/uploads/2011/07/editingrerrors2.png" alt="" width="570" height="218" /></p>
<p>We also found during testing that any extra line breaks in the code &#8211; even between the shortcode and the first bit of HTML &#8211; would be reflected on the site and cause the four columns to stagger downwards in the box. To fix that the client would have to make sure all extra line breaks were removed, which is just another point on that long checklist.</p>
<p>Of course, we could enter all of the HTML and content ourselves before the site launches so that the client doesn&#8217;t need to touch the section, but then what&#8217;s the point of using WordPress? Wanting to keep all the editing flexibility but also removing the possibility of breaking the layout by editing content, we proposed a new solution that took advantage of theme code and core WordPress features.</p>
<p>Because all four columns link to sub-pages, we decided to just use a simple query in the template to display those four subpages. The images at the top use the Featured Image function and are automatically inserted and linked within the template. The text content below the title is pulled from the page Excerpt, and the Learn More link was appended at the end. Here&#8217;s what that code looked like:</p>
<pre>
<pre class="brush: php; html-script: true; title: ; notranslate">&lt;div id=&quot;services&quot; class=&quot;clearfix&quot;&gt;
	&lt;?php $services = get_page_by_title('Our Services');
	$query = new WP_Query('post_type=page&amp;post_parent='.$services-&gt;ID.'&amp;posts_per_page=-1');
	while($query-&gt;have_posts()) : $query-&gt;the_post(); ?&gt;
	&lt;div class=&quot;service&quot;&gt;
		&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;
			&lt;?php the_post_thumbnail('thumbnail',array('title' =&gt; '')); ?&gt;
			&lt;h3&gt;&lt;?php the_title(); ?&gt;&lt;/h3&gt;
		&lt;/a&gt;
		&lt;p&gt;&lt;?=$post-&gt;post_excerpt?&gt; &lt;strong&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;Learn More &amp;raquo;&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
	&lt;/div&gt;
	&lt;?php endwhile; ?&gt;
&lt;/div&gt;</pre>
</pre>
<p><small><em>(could someone please help us get PHP/HTML syntax highlighting working? :) )</em></small></p>
<p>And that&#8217;s all it is! By using built-in WordPress functionality such as the featured image and page excerpt (which needs <a title="Add excerpt support for pages" href="http://lewayotte.com/2010/07/01/easily-add-excerpt-support-for-pages-in-wordpress/">enabled</a> first), we were able to completely reduce the possibility of something breaking after being edited.</p>
<h3>Golden rule: No layout HTML in the content editor!</h3>
<p>Our philosophy is that layout HTML should never, <em>ever</em> be placed in the WordPress content editor. Even just switching between the Visual and HTML editors &#8211; or using the wrong one to add your HTML &#8211; can break the whole page. Remember who your client is. Someone who isn&#8217;t very tech-savvy will never be able to jump through the hoops required to keep an HTML layout intact.</p>
<p>I hope the example &amp; explanation in this post inspired you to re-think how you code your themes and set WordPress up for your clients. We plan to share more examples like this in the future, not just to show the amount of thought we put into features like this in a project, but also to build some helpful development guides that go beyond the code.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpcoder.com/2011/07/19/preventing-editing-errors/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Quick Freebie: Custom Pagination Style</title>
		<link>http://wpcoder.com/2011/07/12/custom-pagination-style-freebie/</link>
		<comments>http://wpcoder.com/2011/07/12/custom-pagination-style-freebie/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 13:54:00 +0000</pubDate>
		<dc:creator>WPCoder</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[freebie]]></category>
		<category><![CDATA[pagination]]></category>

		<guid isPermaLink="false">http://wpcoder.com/?p=131</guid>
		<description><![CDATA[We converted Premium Pixels' pagination theme into a drop-in plugin theme.]]></description>
			<content:encoded><![CDATA[<p>Last week on Premium Pixels we saw an awesome <a href="http://www.premiumpixels.com/freebies/light-and-dark-pagination-psd/">pagination theme</a> as the daily freebie. To save any developers who choose to use this design in their theme some time, we decided to code it into a drop-in theme for the <a href="http://wordpress.org/extend/plugins/wp-pagenavi/">WP-PageNavi</a> plugin.</p>
<p><a href="http://www.premiumpixels.com/freebies/light-and-dark-pagination-psd/" style="border:none"><img class="size-full wp-image-132 alignnone" style="padding: 0; border: none;" src="http://wpcoder.com/wordpress/wp-content/uploads/2011/07/pagination_body1.png" alt="" width="540" height="250" /></a></p>
<p>Both styles &#8211; light and dark &#8211; are included in the <a href="http://www.premiumpixels.com/freebies/light-and-dark-pagination-psd/">download</a>. We decided not to use CSS3 for this because the goal was to match the PSD in all browsers, so instead we created a small sprite sheet with all of the normal, hover, and specialized arrow styles. Instructions can be found in the README file in the zip folder, which can be downloaded from the <a href="http://www.premiumpixels.com/freebies/light-and-dark-pagination-psd/">Premium Pixels site</a>. Enjoy!</p>
<p><strong>Update</strong>: Brajeshwar, a friend from the community, has created a <a href="http://brajeshwar.com/2011/pagination-css3-style/">CSS3 version</a> of this theme for those who support modern browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpcoder.com/2011/07/12/custom-pagination-style-freebie/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>New default theme – Twenty Eleven</title>
		<link>http://wpcoder.com/2011/06/22/new-default-theme-twenty-eleven/</link>
		<comments>http://wpcoder.com/2011/06/22/new-default-theme-twenty-eleven/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 16:36:20 +0000</pubDate>
		<dc:creator>Michael Castilla</dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[twenty eleven]]></category>

		<guid isPermaLink="false">http://wpcoder.com/?p=101</guid>
		<description><![CDATA[We take a look inside the new default theme for WordPress 3.2]]></description>
			<content:encoded><![CDATA[<p>The face of WordPress is constantly changing. Last year, Automattic released a new default theme (Twenty Ten) for the first time in 5 years. Twenty Ten is already old news, though.</p>
<p>With version 3.2 <a href="https://wpdevel.wordpress.com/2011/03/18/wordpress-3-2-the-plan-faster-lighter/">geared up</a> and <a href="http://wordpress.org/news/2011/06/wordpress-3-2-release-candidate/">almost ready</a> for release, Automattic has not only improved WordPress&#8217; core functionality, they&#8217;ve also introduced <a href="http://theme.wordpress.com/themes/twentyeleven/">Twenty Eleven</a>, the new theme on the block. </p>
<p>Twenty Eleven originated from the <a href="http://theme.wordpress.com/themes/duster/">Duster</a> theme released by Ian Stewart just a few months ago. Since then, some updates have been added:</p>
<h3>Post Formats</h3>
<p><img src="http://wpcoder.com/wordpress/wp-content/uploads/2011/06/postformats.png" alt="" title="postformats" width="162" height="223" class="alignright size-full wp-image-119" /> Users now have 7 default post formats to choose from when publishing &#8211; Standard, Aside, Link, Gallery, Status, Quote, or Image. Similar to custom post types, post formats use a specific template file to display content appropriately.</p>
<h3>Options Panel</h3>
<p>Finally, a built-in options panel. It only has a few simple theme style options, but it definitely has potential for more functionality. Previously, developers have used <a href="http://wptheming.com/options-framework-theme/">Devin&#8217;s Options Framework</a> or needed to create custom panels. The corresponding files for the options panel are located in the <strong>inc</strong> folder.</p>
<p><img src="http://wpcoder.com/wordpress/wp-content/uploads/2011/06/themeoptions-550x430.png" alt="" title="themeoptions" width="550" height="430" class="alignleft size-medium wp-image-120" style="margin-bottom:15px;" /></p>
<p>You may also create custom color schemes for Twenty Eleven. Check out the new <strong>colors</strong> folder and reference the <strong>twentyeleven_color_schemes</strong> function in functions.php for the code used to create a scheme.</p>
<h3>Showcase Template</h3>
<p>Since version 2.5, we&#8217;ve been able to create image galleries and insert them into posts and pages using nifty shortcodes. Our new default themes comes with a new <a href="http://twentyelevendemo.wordpress.com/showcase/">Showcase Page</a> designed to, well, showcase your favorite posts. All you&#8217;ve gotta do is mark these posts as Sticky.</p>
<h3>Pull Quotes</h3>
<p>Spice up your blog posts by using the CSS class &#8220;pull&#8221; on blockquotes or images. This class will break the element out from the post content into one of the margins on single posts and pages. Simply use the following code:</p>
<p><code>&lt;blockquote class="pull alignright"&gt;Your quote here&lt;/blockquote&gt;</code></p>
<h3>Responsive Layout</h3>
<p><img src="http://wpcoder.com/wordpress/wp-content/uploads/2011/06/responsivelayout.png" alt="" title="responsivelayout" width="150" height="225" class="alignleft size-full wp-image-123" style="margin-bottom:15px" /> The Twenty Eleven layout uses naturally adapts to the size of your browser window. If your visitors are using a mobile device, it will respond with an optimized design. If you would like to view the styles for this, check out the &#8220;Responsive Structure&#8221; section in the stylesheet.</p>
<div class="clearfix"></div>
<p>That just about wraps it up! Please let us know your thoughts on the new theme. If you&#8217;re doing something fun and exciting with Twenty Eleven, we&#8217;d love to hear.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpcoder.com/2011/06/22/new-default-theme-twenty-eleven/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The new &amp; improved WPCoder</title>
		<link>http://wpcoder.com/2011/06/02/the-new-and-improved-wpcoder/</link>
		<comments>http://wpcoder.com/2011/06/02/the-new-and-improved-wpcoder/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 15:16:18 +0000</pubDate>
		<dc:creator>WPCoder</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://wpcoder.com/wordpress/?p=42</guid>
		<description><![CDATA[We re-designed! And with a new look comes some great upgrades to our service.]]></description>
			<content:encoded><![CDATA[<p>It seems like we&#8217;ve been waiting to write this post forever. So many times we&#8217;ve attempted to get the gears rolling for a redesign, and so many times we&#8217;ve been spending so much time running our company that we haven&#8217;t been able to get started on updating our image. After a few months of extra work from everyone, we&#8217;re finally here: WPCoder&#8217;s got a new look.</p>
<p><a href="http://wpcoder.com"><img class="alignleft size-full wp-image-98" title="Home" src="http://wpcoder.com/wordpress/wp-content/uploads/2011/06/home.png" alt="" width="160" height="171" style="margin:0 0 15px 0" /></a><a href="http://wpcoder.com/portfolio"><img class="alignleft size-full wp-image-99" title="Portfolio" src="http://wpcoder.com/wordpress/wp-content/uploads/2011/06/portfolio.png" alt="" width="160" height="171" style="margin:0 15px 15px" /></a><a href="http://wpcoder.com/process"><img class="alignleft size-full wp-image-100" title="Our Process" src="http://wpcoder.com/wordpress/wp-content/uploads/2011/06/process.png" alt="" width="160" height="171" style="margin:0 0 15px 0" /></a></p>
<p>We&#8217;re big fans of giving credit where credit is due, so we owe a <strong>major</strong> shout-out to our buddy Alvin Thong of <a href="http://www.sixbase.com/">Sixbase</a> for delivering such an awesome design. Alvin was fantastic to work with, putting up with our multiple rounds of heavy critiquing &amp; detail nitpicking and, being a big Chicago Bulls fan, not being a sore loser when our Heat took the series. When it was all said and done, he made our <a href="http://wpcoder.com/news/hello-world/">weekend in California</a> one of the best vacations we&#8217;ve ever had as we celebrated the launch. Thanks, Alvin!</p>
<p>If you remember the old site, with the machine and the modal boxes and the lovely brown background, you&#8217;ll immediately recognize that we&#8217;ve got a whole lot more to say than before. We&#8217;ve learned so much since we started back in September 2008. As you can see, we are starting to take some of those new ideas and improvements into action to make WPCoder the best WordPress development service on the &#8216;net. Here&#8217;s what we&#8217;ve been working on since the new year, and what we&#8217;re focused on right now.</p>
<h3>Customer service</h3>
<p>We&#8217;re totally committed to making your experience with WPCoder the best you&#8217;ll ever have. At least 50% of our business has been word-of-mouth referrals from happy clients, and we want to keep it that way by blowing you away with our work and service. Here are just a few things we&#8217;ve improved, changed, or added:</p>
<ul>
<li>Our development team is becoming more organized so projects are quoted, approved, and started as quickly as possible.</li>
<li>We&#8217;re putting the final touches on our new client area, which will improve communication between everyone involved and fix all the little bugs and quirks in our original system that slowed the project down.</li>
<li>We now have a separate department that handles theme support, so if something happens to your theme after a while or you have some changes to be made, we&#8217;ll get back to you and have the work completed much faster than before.</li>
<li>We&#8217;ll be hiring a few of our developers full-time starting this summer, so if you send us multiple projects it&#8217;s even more likely you&#8217;ll get to work with the same developer every time.</li>
</ul>
<h3>Expanding our reach</h3>
<p>On the services front, we&#8217;re now publicly offering a few new minor services to you. We&#8217;ve staffed a few <a href="http://shopplugin.net">Shopp</a> and <a href="http://www.instinct.co.nz/e-commerce/">WP e-Commerce</a> developers, so if an online store is part of your next project, we&#8217;re ready to help. We&#8217;re also now offering design services, and will be working on expanding our design portfolio this summer. Finally, for anyone who is stuck or needs some ideas or feedback on a project, we&#8217;ll be happy to offer you our suggestions &#8211; just <a href="http://wpcoder.com/contact">get in touch with us</a> and share some details about your project.</p>
<h3>Building a better blog</h3>
<p>In our effort to connect with the community more and provide helpful resources and information for other WordPress developers, we created this journal to do just that. You can expect a new set of tutorials, articles, and interviews in the months to come, and we&#8217;ll be much more active on <a title="Follow @WPCoder on Twitter" href="http://twitter.com/wpcoder">Twitter</a> and other community sites to learn more and share what we know.</p>
<h3>Tell us what you think!</h3>
<p>In case you haven&#8217;t picked up on our drift by now, we&#8217;re eager to improve &amp; perfect our service. Experience is a great way to do that, but we love hearing from the community and our clients, too. If you&#8217;ve worked with us before, please let us know if there are any ways we could be better. We&#8217;re all ears!</p>
<p><img class="size-full wp-image-97 alignnone" title="Our new schwag" src="http://wpcoder.com/wordpress/wp-content/uploads/2011/06/schwag1.jpeg" alt="" width="550" height="310" /></p>
]]></content:encoded>
			<wfw:commentRss>http://wpcoder.com/2011/06/02/the-new-and-improved-wpcoder/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://wpcoder.com/2011/05/14/hello-world/</link>
		<comments>http://wpcoder.com/2011/05/14/hello-world/#comments</comments>
		<pubDate>Sat, 14 May 2011 07:33:00 +0000</pubDate>
		<dc:creator>Michael Castilla</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://wpcoder.com/wordpress/?p=40</guid>
		<description><![CDATA[We announce where we've been, where we are now, and in brief, where we're headed.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since we&#8217;ve last posted on our blog (now known as our journal). It may seem like we&#8217;ve been hiding under a rock the past few months, but we&#8217;ve actually been hard at work on the redesign of our site. We&#8217;ve worked closely with Alvin Thong of <a href="http://www.sixbase.com/">Sixbase</a> to create a stunning new interface for our site. We needed something fresh to help us with our transition from a typical PSD to WordPress conversion service to a more personal and professional WordPress development team. And now our site is actually built on WordPress!</p>
<p>Right now, we&#8217;re super excited to be in San Diego, CA this weekend! We&#8217;ve traveled all the way from Miami, FL and Johnstown, PA to the beautiful west coast of California for <a href="http://valiocon.com/">Valio Con</a>. We figured there&#8217;s no better place to launch our new stuff than at a web developer &amp; designer conference on the beach! <em>Yes, we remembered to bring our floaties.</em></p>
<p><img class="alignnone size-medium wp-image-47" title="map" src="http://wpcoder.com/wordpress/wp-content/uploads/2011/05/map-550x231.png" alt="" width="550" height="231" /></p>
<p>What brings us to Valio Con? We&#8217;ve been following <a href="http://drewwilson.com/">Drew Wilson</a>&#8216;s work for a couple years now and we really admire what he&#8217;s accomplished. We&#8217;ve also been a part of one of his projects, <a href="http://www.yoggrt.com/">Yoggrt</a>, a creative ad network, since its initial launch. So as soon as we heard about the conference, we knew we had to find a way over.</p>
<p>Valio Con attendees, look out for us! We&#8217;ll be wearing (and passing out) WPCoder tees. We&#8217;d love to have a chat with you and see what we can do for you.</p>
<p>If you like our redesign, please leave us a comment below and let us know what you think. Most importantly, if you&#8217;re interested in discussing your next WordPress project with us, please <a href="http://wpcoder.com/contact">get in touch</a> with us directly.</p>
<p><a href="http://wpcoder.com/feed">Stay tuned</a> for an official redesign launch post coming early next week.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpcoder.com/2011/05/14/hello-world/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

