01.17.2012   |   0comment

Leavitt PartnersLeavitt Partners, in collaboration with Codella Marketing, came to us wanting a fresh start on their out dated corporate site, blog and newsroom. After planning the sites with Mark, Luke worked with Leavitt Partners to solidify the design.

After the design, Tim coded each site. The main corporate site, leavittpartners.com, is built using WordPress and features three Custom Post Types: the slideshow on the homepage, the homepage content and the Team page.

The main Team page is broken up into staff levels but each worker is entered into the system the same way. A checkbox is used to differentiate their level. Also, another checkbox is used to flag if the worker is part of one of the several different sub-teams in the Leavitt Partners corporation. The individual team page highlights the workers accomplishments and also calls in their author RSS feed from the blog as well as any news highlights. continue reading Recent Work: Leavitt Partners”


Chad,on the topic of  Web Development, WordPress
12.09.2011   |   3comment

The purpose of this post is to help you secure your WordPress self-hosted site by installing and setting up plugins. As of the time of writing this post these plugins have been used with WordPress 3.2.1.

Keeping your site secure or safe from hackers is not always easy but is something you need to be aware of. One thing I encourage you to do just in case your site is compromised is to always have a back up of your files and database. As a start, one plugin that can help with this is named BackWPup ( www.backwpup.com ). You can set this plugin to backup your files and database daily, weekly, monthly, or if you feel even hourly. But you can have it email it to you, save it to another server via FTP, or even save it to your DropBox account.

There are a few steps that you can take from the beginning when you first setup your WordPress site. The first thing to do is do not use the default table alias. WordPress by default will suggest that it use “wp_”. If you are only going to use the database for your site and not add any other tables I would suggest you take it off all together, but to make it even more secure use a different alias. continue reading Securing WordPress with Plugins”


11.29.2011   |   1comment

Trademark Access is a service provided through Bateman IP which is a law firm that specializes in intellectual property and is located in Salt Lake City, Utah. They need a site specifically for Trademarks and this site provides a client an easy way to get started in the Trademark process.

The site is built using a custom WordPress theme with 3 Custom Post Types. The client can easily update the About, Plans & Pricing and Home page. The Custom Post Types allow the client to update their FAQs easily, manage their Testimonials and Expertise sections. continue reading Recent Work: Trademark Access”


11.18.2011   |   0comment

We build several WordPress sites each month and our clients are always asking what plugins they should be using for their new WordPress site. Depending on the functionality of the site, the need for plugins vary. For example, if the client has a blog or plans to have a place for comments, I will always recommend Disqus over Intense Debate and the default WordPress comment system because I think it functions better overall. I like the interface for Disqus much more then any other comment system and they have an Android app that makes it easy for me to moderate comments on the go.

When it comes to site performance, there is only one caching plugin that needs to even be talked about and that is W3 Total Cache. This plugin is so complete that it is shocking. It is packed with features and accounts for every type of WordPress user. It is very easy to configure and it actually works! I run a Lacrosse news website where I recently installed W3 Total Cache. According to the Google Analytics Site Speed metric, from September 17 to October 16, the average load time was 3.47 seconds. From October 17, the day I installed W3 Total Cache, to November 16, the average load time was 2.36 seconds. That is a difference of 1.21 seconds! The plugin also shows your Page Speed Report on your Admin Dashboard so you can see how well your site is performing. Every time I visit the site I am pleased with the results. continue reading Plugins Every WordPress Site Should Have Installed”


Luke,on the topic of  Browsers, JavaScript, WordPress
10.20.2011   |   3comment

We all love CSS3 and the things we can do with it. It is saddening when a client opens up the site you just coded and doesn’t see all the CSS3 goodness because they are using some version of IE. Frequently, CSS3 PIE has saved me from the client saying: “Why don’t the buttons have the rounded corners like your design?”

CSS3 PIE makes some CSS3 features work in IE6 – 9. It supports border-radius, box-shadow, and linear-gradient. It works great and is super easy to set up. Unless you use it in WordPress. After some Google searching, a fair amount of testing, and a lot of grumbling I got it working in a WordPress site. It is really simple. I hope that this will save others from some headache.

1. Put the PIE.htc file in the WP Root directory and then reference it in your css as – behavior: url(“PIE.htc”);
2. All the elements that use CSS3 features will need either position: relative or position: block on them


Tim,on the topic of  Business, Design, Portfolio, WordPress
01.08.2011   |   0comment

Dr. Stoker recently graduated from Dental School and found a home in an office building in Salt Lake City. He needed to build his patient list so he figured a business card website would help get him more patients. Enter Code Greene.

Luke started Dr. Stoker down the right path by giving him a clean, business design. I finished off the job with a custom WordPress theme that allows Dr. Stoker and staff to easily enter in new content and keep the site fresh, just like their patients breath!

Dr. Stokers practice is off and running with great success.

Check out the site and let us know what you think!

SLC Dental Center


02.19.2010   |   0comment

This weeks edition features an article about customizing WordPress for beginners, designers who can’t code their own designs and the best way to handle content management systems for sites that matter.

Chad, The Beginner’s Guide to Tricking Out Your WordPress Blogtrickingoutwordpress
I liked this post/entry about WP because it was built and geared for the beginner. Once you installed it now what. I find these type of articles interesting because sometimes they are just so simple that I don’t even think of them. And it helps me to explain or think of other things that I feel our clients may want or need.

Mike, Web Designer’s Who Can’t Codedesignerswhocantcode
Twitter exploded in a debate this week when Elliot Jay Stocks boldly tweeted:

“Honestly, I’m shocked that in 2010 I’m still coming across ‘web designers’ who can’t code their own designs. No excuse.”

The world is full of talented designers trained in a wide array of media, but just like other mediums, the web offers its own constraints and limitations. Knowing how to code definitely gives you an edge, even if you don’t code the site yourself. Image resolution, measurements, typography, and browser discrepancies all play a role in what is possible, and help determine the collective best practices of the web. So does a good architect need to know how to dry wall? Maybe not. What about a fundamental understanding of construction and engineering? Absolutely. How much does a good web designer need to know about their craft in order to build a successful website? What do you think?

Mac, Content Management for Sites that Mattercontentmanagementforsitesthatmatter
I liked this article because it gets right at the core of the cost/benefit trade-off that many people don’t think enough about when building their web site. Either there’s a significant value to the work you’re doing on your site, which justifies spending some money on it and getting it done right, or there isn’t a significant value to your site, so why bother? I don’t 100% agree with them about the WYSIWIG comments, but I’ve never tried to tell a client to assume it would look identical in TinyMCE and on the public site. We’ve generally had to train them to be very careful to keep it simple. Use bold if you want, make some lists, paragraphs, links, and stuff like that, but don’t try and do anything funky or you’ll end up disappointed. Another annoying thing about TinyMCE is that even when you tweak the HTML manually in their HTML view, it often wants to “automatically fix” some of the things you did. I was trying to leave a <br /> or two between a couple of separate lists if I remember right, and it kept either taking it completely out, or turning into a paragraph, constantly leaving too much or too little whitespace, even though the HTML I manually entered would display exactly how I intended.


02.05.2010   |   1comment

Tim, 10 WordPress Dashboard Hackscatswhocode
This is a nice article that shows you how to get a customized WordPress dashboard. The article calls them hacks, but I would call them customizations. One that I have tried and loved is adding your logo on the dashboard page next your blog title in the top left hand corner of the dashboard. It’s a nice little touch that goes a long way.

MikeHow Wireframing Makes Your Website Designs Betterbriancray
The value of wireframing comes down to a simple idea: Wireframing forces you to think about your user interface design decisions in terms of user needs first, instead of in terms of what looks good.” While wireframing requires a little extra effort in the initial planning stages, it pays huge returns in the long run. We redesign less frequently, hit deadlines sooner, and best of all, greatly mitigate scope creep. So take your foot off the pedal, assess your client’s business objectives and user needs, and translate concepts into a tangible wireframe. You’ll be glad you did.

LukeFor Better Productivity, Communicate Lesscommunicateless
I agree with Joel Spolsky in one of Lifehackers latest posts when he says that adding more people to a project will only slow it down. I think this is especially true in web development. Once deep into a big project a web developer knows where things are and how they are related. If you throw five of them at the same project at some point they would end up stepping on each others toes. There is a chance that if things are planned out right each developer could tackle a specific task and then they could put all their pieces together to make the final piece. To do that though a lot of planning and meeting together would have to happen. This will probably lead to more disagreements and toe stepping. For those reasons I think getting the few people needed on the project and keep them there is the best way to accomplish a web dev project.


Benjam,on the topic of  Usability, WordPress
01.12.2010   |   10comment

A few of our projects here at Code Greene required the use of WordPress, and those projects had situations that I have since encountered in a site I built in WordPress for someone in my family. That situation was trying to redirect to a parent or child page when a certain page was clicked on.

I know that may seem a bit confusing, but let me give an example. Say I have an “About” page, and that “About” page has three child pages; “Who I Am”, “What I Do”, and “Why I Do It”. Now let’s also say that my “About” page doesn’t have any actual content, it’s just a container for the other three pages, and I just want to redirect my visitors to the “About | Who I Am” page without ever hitting the “About” page. Well, here’s how I do that.

First we need a page template that we can use for the “About” page that will do all the magic for us:

In a new file in your theme folder called redirect_down.php (you can really call it anything you want, this is what I used), put the following:


<?php

/*
Template Name: Redirect Down
*/

// grab the direct children pages of this page
// (both child_of and parent are needed)
$sub_pages = get_pages(array('child_of' => $post->ID, 'parent' => $post->ID, 'sort_column' => 'menu_order', 'number' => 1));

$URI = get_permalink($sub_pages[0]->ID);

// redirect the user down one level in the tree
header('Location: '.$URI);

How this works is it finds the first child of the page you are on, grabs the URI for it, and redirects you to that page.

Now when I create my “About” page (the one with no content), I set my page template to “Redirect Down” in the template drop down, and voilà, when a visitor clicks on the “About” link, they automatically get redirected to the “About | Who I Am” page, no questions asked. If I had pages under the “Who I Am” page, and it was just a container for those, I could also set my template for the “Who I Am” page to “Redirect Down”, and when my visitor clicked the “About” link, it would redirect to the “Who I Am” page, which would then redirect to the first child page.

To complete the collection… in one of the projects I worked on recently, we had a situation where if a child page link was clicked, we needed to redirect up the tree to the parent page. This is basically the same thing, just the other direction, but also a bit easier to code. Here is how it is achieved:

In a new file in your theme folder called redirect_up.php (again, you can call it anything you want, this is just what I used), put the following:


<?php

/*
Template Name: Redirect Up
*/

// redirect the user up one level in the tree
$URI = rtrim($_SERVER['REQUEST_URI'], ' /');

$URI = substr($URI, 0, strrpos($URI, '/') + 1);

if ( ! in_array($URI, array('', '/'))) {
	header('Location: '.$URI);
}

The way this works, is it grabs the URI given, and simply removes the last directory from the URI. (You could also find the parent ID from the $post data and use that to find the permalink, much like the previous template, but this works for what I needed it to do.) If you have your permalinks set up properly, this should work beautifully. And again, with this one, you can set it on as many pages as you want, redirecting all the way up the tree if you wish.

Hope this helps someone. Let me know if it helped you in the comments below.


11.09.2009   |   0comment

Robert McArthur approached us looking to completely redesign their website. While their old design served its purpose, it’s time had come. Their portfolio had grown and service list had expanded. They wanted to add more information while still maintaining a simple, yet compelling design.

It’s always interesting working with artists from other fields, be they architects, photographers, illustrators, or otherwise. They each have a unique take on their work, and their perspective often transfers well to the web. Robert was no exception. During design meetings, his ideas and explanations were an invaluable asset to my design toolbox. The new background, for example, preserved the same earthy brown as the old website, but also brought in an actual hand-sketched blueprint Robert had used in one of his plans. The typography, decorations, textures, and other detail decisions were all passed through Robert, and each received individual feedback and revisions.

Robert McArthur Moodboard

Robert McArthur Moodboard

I think the new design really speaks for itself and all parties involved are happy with the result. This is also the first time we’ve used the fixed background and I think the result is amazing. Check it out and let us know what you think!

Robert McArthur Studios