No IE6, You Can’t Play!

   Posted: September 1st, 2010    By: Devin Walker   

More and more sites are blocking access from IE6 users, and I couldn’t back them anymore. Not only is IE6 a bad choice for security reasons, if you have done any web design work you also know what a pain it is to comply to. Simply state, it breaks our cool tools! Check out this hilarious poster by the guys over at robotjohnny.com for momentile.com.

IE6 can't play in the treehouse with all the other browsers
Read the rest of this entry »

How to Setup XAMPP WordPress Virtual Hosts

   Posted: July 6th, 2010    By: Devin Walker   

I like to develop in a localized environment where I have to do minimal setup and configuration on the remote server when it’s time to go live. Working with WordPress makes it very easy to do this and it’s a breeze to setup with virtual hosts and the free XAMPP stack.

Why do this? It makes it very easy to move over the WordPress database when it’s time to go live. Developing locally is always in your best interest. This method is preferred over ‘going commando’ because you can keep better control over your code and it’s faster to develop. Plus a whole slew of other reasons that you can Google if you feel like it. Let’s get started on setting up your WordPress install to use XAMPP’s virtual hosting capabilities.

Read the rest of this entry »

Nothing happens when launching Dreamweaver CS5 on Mac

   Posted: June 3rd, 2010    By: Devin Walker   

So I recently started using a Mac at work and with the Adobe Creative Suite 5 just released I was pretty excited. The new additions to CS5 are great and I can see that working with WordPress will be a lot more streamlined. Anyways, I ran into a frustrating issue that a lot of other Mac/Dreamweaver CS5 users are encountering where launching the program results in a disabled dreamweaver.

Read the rest of this entry »

Modern Web Font Options for Web Designers

   Posted: June 1st, 2010    By: Devin Walker   

Google’s new Font API, Cufon, @font-face, sIFR, FLIR…?! It’s 2010 and the Internet has long since evolved to become an integral part of modern society. As web designers, our web fonts used to be limited to a small number of ‘safe’ font-families. Today there are a number of options that allow web developers to break free from the confines of the limited ‘web-safe’ font spectrum and express themselves, and their websites, more individually with unique fonts. Let’s examine how the web’s top font solutions work and how they are implemented.

Read the rest of this entry »

WordPress List Subpages Even if On Subpage

   Posted: May 25th, 2010    By: Devin Walker   

I'm building a new site and the navigation on it requires me to use a different bit of code for parent and child pages. I thought I'd share the code for those out there building a similar navigation. Here's a handy bit of code that you can use to display all subpages on a subpage. For instance, you have your pages setup like so:

Page: Fruit
subpage: Banana
subpage: Apply
subpage: Orange

On Parent Page

If you were wanting to show a navigation menu of all subpages in the Fruit category you could use the following bit of code:

[inline]
<?php
  $children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0');
  if ($children) { ?>
  <ul id="mainNav">
	<div id="locationsNavHead">choose a product</div>
  <?php echo $children; ?>
  </ul>
<?php } ?>
[/inline]

On Subpages

For child, or subpages, we could use the following bit of code:

[inline]
<div id="sidebar">
<?php
//list subpages even if on a subpage
  if($post->post_parent)
  $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0");
  else
  $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");
  if ($children) { ?>
  <ul id="mainNav">
  <div id="locationsNavHead">choose a product</div>
  <?php echo $children; ?>
  </ul>
<?php } ?>
</div>
[/inline]

If you are confused at what this all means please comment below and check out wp_list_pages() over at the WordPress Codex