<?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>Beyond Caffeine &#187; Code</title>
	<atom:link href="http://blog.websitestyle.com/index.php/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.websitestyle.com</link>
	<description>Various Epiphanies of a Technical Mind</description>
	<lastBuildDate>Wed, 03 Nov 2010 22:27:22 +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>Automatic Post Thumbnails Without Plugins</title>
		<link>http://blog.websitestyle.com/index.php/2009/08/21/automatic-post-thumbnails-without-plugins/</link>
		<comments>http://blog.websitestyle.com/index.php/2009/08/21/automatic-post-thumbnails-without-plugins/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 16:20:08 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[thumbnail]]></category>
		<category><![CDATA[thumbnails]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/?p=648</guid>
		<description><![CDATA[Recently I had to make a WordPress theme for someone who is very uncomfortable with the technical process of downloading pictures and uploading them, so asking this person to resize or crop photos to make thumbnails was out of the question. Regardless, she needs to have a unique picture on each post of her new [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had to make a WordPress theme for someone who is very uncomfortable with the technical process of downloading pictures and uploading them, so asking this person to resize or crop photos to make thumbnails was out of the question. Regardless, she needs to have a unique picture on each post of her new site &#8211; so my challenge was how to make that as easy as possible.</p>
<p>Now certainly, I could have used one of the php bits to create thumbnails on the fly like TimThumb &#8211; but I really dislike using plugins for things I can do without them. She also gets totally confused using custom fields, so that&#8217;s out as well.</p>
<p>What I needed to do:<br />
1. Determine a standard size for thumbnails and post images that would work well for her theme.<br />
2. Create a post thumbnail using the first image attached to a post.<br />
3. Display the post thumbnails on the blog main page listing of recent posts.<br />
4. Create a standard image that would be displayed if she forgot to add any images to a post.</p>
<p>Since I&#8217;m a big fan of reusing code, I decided I wanted to use the built in sizing options of WordPress to get this done. I remembered recently reading an article with a chunk of code, so I found it again and reused that. <a href="http://webdeveloperplus.com/wordpress/how-to-use-thumbnails-generated-by-wordpress-in-your-theme/">The code process can be found on Web Developer Plus</a>.</p>
<h3>Setting The Image Sizes</h3>
<p>Go to your WordPress backend and then Settings -> Media and configure the sizes that work well for your theme.</p>
<p>The thumbnail size is the most important. I set this one to 150px by 150px and selected the option to crop the thumbnails to that size. The reason I selected the crop is in the likely case the photo she&#8217;s using isn&#8217;t a perfect square, the image won&#8217;t look out of proportion when it&#8217;s sized down to 150&#215;150.</p>
<h3>Creating a Thumbnail From The First Image</h3>
<p>This is where we get the <a href="http://webdeveloperplus.com/wordpress/how-to-use-thumbnails-generated-by-wordpress-in-your-theme/">code bit from Web Developer Plus</a> and with a couple of minor changes end up with this:</p>
<p><code>&lt;?php<br />
// Get images attached to the post<br />
$img = null;<br />
$args = array(<br />
'post_type' =&gt; 'attachment',<br />
'post_mime_type' =&gt; 'image',<br />
'numberposts' =&gt; -1,<br />
'order' =&gt; 'ASC',<br />
'post_status' =&gt; null,<br />
'post_parent' =&gt; $post-&gt;ID<br />
);<br />
$attachments = get_posts($args);<br />
if ($attachments) {<br />
foreach ($attachments as $attachment) {<br />
$img = wp_get_attachment_thumb_url( $attachment-&gt;ID );<br />
break;<br />
} ?&gt;<br />
&lt;!-- Display the image in here --&gt;<br />
&lt;?php }<br />
?&gt;</code></p>
<p>The code, at this point, doesn&#8217;t do much but it will in the next steps. I do want to stop and explain the terminology a bit. You&#8217;ll notice the use of the word &#8216;attachment&#8217; in the code above. That&#8217;s how WordPress identifies the image associated with the post. Think of sending an email and attaching photos to it. The code finds the images attached to the post and selects the first one. It puts the information about that image in the $img variable we&#8217;ll use later.</p>
<p>It is important to note that this only works for attached photos because that is what WordPress it set up to handle. That means that if you host your photos elsewhere and just link to them &#8211; it&#8217;s not going to work. You have to actually upload them into WordPress using the media uploader.</p>
<h3>Deciding Where To Put The Thumbnail Code</h3>
<p>Since I want the thumbnails to show up on the main page of the site in the list of recent posts down the content section, I need to edit the index.php that displays the content. Your site may use the_content() but in this example the site is using the_excerpt(). It doesn&#8217;t really matter, so long as this stuff goes inside the loop but before the spot you want to show your photo.</p>
<p><code>&lt;div class=&quot;thecontent&quot;&gt;<br />
&lt;?php the_excerpt(); ?&gt;<br />
&lt;span&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;&lt;?php the_title(); ?&gt;&quot; class=&quot;readon&quot;&gt;Read the rest of '&lt;?php the_title(); ?&gt;'&lt;/a&gt;&lt;/span&gt;<br />
&lt;/div&gt; &lt;!-- end thecontent --&gt;<br />
</code></p>
<p>I&#8217;m going to add the bit of code right above the call to the_excerpt() because that&#8217;s easiest at this point.</p>
<p><code><span style="font-weight:bold; color:red;">&lt;div class=&quot;thecontent&quot;&gt;<br />
&lt;!-- get the thumbnail --&gt;<br /></span><br />
&lt;?php<br />
// Get images attached to the post<br />
$img = null;<br />
$args = array(<br />
'post_type' =&gt; 'attachment',<br />
'post_mime_type' =&gt; 'image',<br />
'numberposts' =&gt; -1,<br />
'order' =&gt; 'ASC',<br />
'post_status' =&gt; null,<br />
'post_parent' =&gt; $post-&gt;ID<br />
);<br />
$attachments = get_posts($args);<br />
if ($attachments) {<br />
foreach ($attachments as $attachment) {<br />
$img = wp_get_attachment_thumb_url( $attachment-&gt;ID );<br />
break;<br />
} ?&gt;<br />
&lt;!-- Display the image in here --&gt;<br />
&lt;?php }<br />
?&gt;<br /><span style="font-weight:bold; color:red;"><br />
&lt;!-- end get the thumbnail --&gt;<br />
&lt;?php the_excerpt(); ?&gt;<br /></span><br />
</code></p>
<h3>Display the Thumbnails on the Main Page</h3>
<p>Now the code is actually in the area it should be, but it&#8217;s still not going to show anything until we put something in place of the &#8216;&lt;!&#8211; Display the image in here &#8211;&gt;&#8217; placeholder. What the code HAS done is created the $img variable we can call. So let&#8217;s get that working by putting in some code that will call the image.</p>
<p><code>&lt;div class=&quot;thecontent&quot;&gt;<br />
&lt;!-- get the thumbnail --&gt;<br />
&lt;?php<br />
//Get images attached to the post<br />
$img = null;<br />
$args = array(<br />
'post_type' =&gt; 'attachment',<br />
'post_mime_type' =&gt; 'image',<br />
'numberposts' =&gt; -1,<br />
'order' =&gt; 'ASC',<br />
'post_status' =&gt; null,<br />
'post_parent' =&gt; $post-&gt;ID<br />
);<br />
$attachments = get_posts($args);<br />
if ($attachments) {<br />
foreach ($attachments as $attachment) {<br />
$img = wp_get_attachment_thumb_url( $attachment-&gt;ID );<br />
break;<br />
} ?&gt;<br /><span style="font-weight:bold; color:red;"><br />
&lt;!-- ***** THE ACTUAL IMAGE ***** --&gt;<br />
&lt;span class=&quot;the-thumbnail&quot;&gt;<br />
&nbsp;&nbsp;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;img src=&quot;&lt;?php echo $img; ?&gt;&quot; /&gt;<br />
&nbsp;&nbsp;&lt;/a&gt;<br />
&lt;/span&gt;<br />
&lt;!-- ***** END THE ACTUAL IMAGE ***** --&gt;<br /></span><br />
&lt;?php }<br />
?&gt;<br />
&lt;!-- end get the thumbnail --&gt;<br />
&lt;?php the_excerpt(); ?&gt;<br />
</code></p>
<p>What the above code has done is take the placeholder and replace it with a call to the image.</p>
<p>Then since this is for a front page thumbnail, we want people to go to the main article so we create a link around the image that points to the article.</p>
<p>Finally, for CSS styling I wrapped it in a span called the-thumbnail (you can wrap it in something other than a span, name the class anything you like, and style it any which way you can think of).</p>
<h3>But What If&#8230; There&#8217;s No Image?</h3>
<p>But wait&#8230; what if my client forgets to add an image to a post? That one article will look strange on the main page without an image when most of the others have one.</p>
<p>I want to create a fail-safe for dealing with an instance where she might forget to put in a photo for the post. What to do first is create some kind of dummy image (maybe just a large square with the site logo / branding or whatever you want). Upload that image somewhere.</p>
<p><code>&lt;!-- ***** THE ACTUAL IMAGE ***** --&gt;<br />
&nbsp;<br />
&lt;!-- # if post has an image # --&gt;<br />
&lt;span class=&quot;the-thumbnail&quot;&gt;<br />
&nbsp;&nbsp;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;img src=&quot;&lt;?php echo $img; ?&gt;&quot; /&gt;<br />
&nbsp;&nbsp;&lt;/a&gt;<br />
&lt;/span&gt;<br />
&lt;!-- # END if post has an image # --&gt;<br />
<span style="font-weight:bold; color:red;"><br />
&lt;!-- # if post doesn't have an image --&gt;<br />
&lt;?php  } else { ?&gt;<br />
&lt;span class=&quot;the-thumbnail&quot;&gt;<br />
  &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;<br />
    &lt;img src=&quot;http://thedomain.com/fallback-thumb.jpg&quot; /&gt;<br />
  &lt;/a&gt;<br />
&lt;/span&gt;<br />
&lt;!-- # END if post doesn't have an image --&gt;<br /></span><br />
&lt;!-- ***** END THE ACTUAL IMAGE ***** --&gt;</code></p>
<p>The most important line in that new section is &lt;?php  } else { ?&gt; &#8212; that tells it to do something if there is no photo.</p>
<p>You&#8217;ll see that you can just as easily change the url of the image to be any image location you upload the fall-back image to.</p>
<h3>Putting It All Together</h3>
<p>So here&#8217;s what we came up with after that. I&#8217;ll highlight the sections of my template code so you can see where I put it inside the template. Remember, your index page may not use the_excerpt() &#8211; it may use the_content(). That&#8217;s perfectly ok so long as:</p>
<p>1. You put the code that generates the thumbnail somewhere inside the loop &#8211; the loop beginning looks like this: <code>&lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;</code><br />
2. You put the image display code where you want it to be.</p>
<p>So here&#8217;s the final code I used on my clients site:</p>
<p><code><span style="font-weight:bold; color:red;">&lt;div class=&quot;thecontent&quot;&gt;<br /></span><br />
&lt;!-- get the thumbnail --&gt;<br />
&lt;?php<br />
//Get images attached to the post<br />
$img = null;<br />
$args = array(<br />
'post_type' =&gt; 'attachment',<br />
'post_mime_type' =&gt; 'image',<br />
'numberposts' =&gt; -1,<br />
'order' =&gt; 'ASC',<br />
'post_status' =&gt; null,<br />
'post_parent' =&gt; $post-&gt;ID<br />
);<br />
$attachments = get_posts($args);<br />
if ($attachments) {<br />
foreach ($attachments as $attachment) {<br />
$img = wp_get_attachment_thumb_url( $attachment-&gt;ID );<br />
break;<br />
} ?&gt;<br />
&lt;!-- ***** THE ACTUAL IMAGE ***** --&gt;<br />
&nbsp;<br />
&lt;!-- # if post has an image # --&gt;<br />
&lt;span class=&quot;the-thumbnail&quot;&gt;<br />
&nbsp;&nbsp;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;img src=&quot;&lt;?php echo $img; ?&gt;&quot; /&gt;<br />
&nbsp;&nbsp;&lt;/a&gt;<br />
&lt;/span&gt;<br />
&lt;!-- # END if post has an image # --&gt;<br />
&nbsp;<br />
&lt;!-- # if post doesn't have an image --&gt;<br />
&lt;?php  } else { ?&gt;<br />
&lt;span class=&quot;the-thumbnail&quot;&gt;<br />
  &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;<br />
    &lt;img src=&quot;http://thedomain.com/fallback-thumb.jpg&quot; /&gt;<br />
  &lt;/a&gt;<br />
&lt;/span&gt;<br />
&lt;!-- # END if post doesn't have an image --&gt;<br />
&nbsp;<br />
&lt;!-- ***** END THE ACTUAL IMAGE ***** --&gt;<br />
&lt;?php }<br />
?&gt;<br />
&lt;!-- end get the thumbnail --&gt;<br /><span style="font-weight:bold; color:red;"><br />
&lt;?php the_excerpt(); ?&gt;</span></code></p>
<p>Oh, and remember &#8212; if you don&#8217;t like the size your thumbnails are coming out as &#8212; change it in Settings -> Media.</p>
<p>I hope you found that useful <img src='http://blog.websitestyle.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2009/08/21/automatic-post-thumbnails-without-plugins/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Make Your Own Short URLs in EE, MT, Joomla and Drupal</title>
		<link>http://blog.websitestyle.com/index.php/2009/04/19/make-your-own-short-urls-in-ee-mt-joomla-drupal/</link>
		<comments>http://blog.websitestyle.com/index.php/2009/04/19/make-your-own-short-urls-in-ee-mt-joomla-drupal/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 19:44:11 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[short urls]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/?p=458</guid>
		<description><![CDATA[Part 3 of the article series discusses options available to create your own short urls for people who use Expression Engine, Movable Type, Joomla, and Drupal.]]></description>
			<content:encoded><![CDATA[<div id="attachment_433" class="wp-caption aligncenter" style="width: 460px"><img src="http://blog.websitestyle.com/wp-content/uploads/2009/04/anti-url-shorteners.gif" alt="Quit Using URL Shortener Services." title="anti-url-shorteners" width="450" height="239" class="size-full wp-image-433" /><p class="wp-caption-text">Quit Using URL Shortener Services.</p></div>
<h3>Why Not Just Use Some URL Shortening Service?</h3>
<p>If you&#8217;e arriving at this article directly, head back to part one to read about <a href="http://blog.websitestyle.com/index.php/2009/04/15/i-dont-trust-short-urls/">why to make your own short urls</a>.</p>
<h3>Short URLs for WordPress</h3>
<p>See Part 2 of this article series on making <a href="http://blog.websitestyle.com/index.php/2009/04/17/make-your-own-short-urls-in-wordpress/">short WordPress URLs</a>.</p>
<h3>Short URLs for Expression Engine</h3>
<p>Colly.com has a <a href="http://www.colly.com/comments/ee_shortener_plugin_your_own_short_urls_using_revcanonical_and_permanent_re/">plugin that creates your own short urls in EE</a>. Keep in mind that a new version of EE will be coming out in the relatively near future and I&#8217;m unaware if there will be compatibility issues.</p>
<h3>Short URLs for Movable Type</h3>
<p>This is less of a full solution and more of an explanation of an <a href="http://duncandavidson.com/2009/04/everybody-wants-short-links.html">option available to create short links</a>.</p>
<h3>Short URLs for Joomla</h3>
<p>This is a URL redirection <a href=" http://extensions.joomla.org/extensions/structure-&#038;-navigation/url-redirection/7058/details">extension for Joomla that creates shorter urls</a>.</p>
<p>http://extensions.joomla.org/extensions/structure-&#038;-navigation/url-redirection/7058/details</p>
<h3>Short URLs for Drupal</h3>
<p>A few resources for the Drupal folks out there that can help you learn methods of creating your own shorter urls.<br />
1. <a href="http://growingventuresolutions.com/blog/build-your-own-tinyurl-drupal-and-everything-you-need-know-about-paths-drupal">Automatically turn a Drupal site into a TinyURL-like service.</a><br />
2. You can use the option of your node number for the link. http://drupal.org/node/76112<br />
3. Try out the <a href="http://drupal.org/project/pathauto">Pathauto</a> extension. </p>
<p>Any other suggestions or plugins I&#8217;m missing?</p>
<p>Stay tuned for the last installment, coming up on Tuesday, of this article series where I talk about ways you can create your own URL option using a secondary domain name, free server software, or both.</p>
<h3>The series so far:</h3>
<p>Part 1: <a href="http://blog.websitestyle.com/index.php/2009/04/15/i-dont-trust-short-urls/">I Don&#8217;t Trust Short URL&#8217;s</a><br />
Part 2: <a href="http://blog.websitestyle.com/index.php/2009/04/17/make-your-own-short-urls-in-wordpress/">Make Your Own Short URLs in WordPress</a><br />
Part 3: This article<br />
Part 4: <a href="http://blog.websitestyle.com/index.php/2009/04/21/make-your-own-short-urls-with-domains-or-software/">Make Your Own Short URLs With Domains or Software</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2009/04/19/make-your-own-short-urls-in-ee-mt-joomla-drupal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Make Your Own Short URLs in WordPress</title>
		<link>http://blog.websitestyle.com/index.php/2009/04/17/make-your-own-short-urls-in-wordpress/</link>
		<comments>http://blog.websitestyle.com/index.php/2009/04/17/make-your-own-short-urls-in-wordpress/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 20:49:04 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[short urls]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/?p=443</guid>
		<description><![CDATA[If you've ever wanted to provide your own short URL's you're in luck. This series will show you how to do just that. Today, we're talking about how to do this if you use WordPress for blogging.]]></description>
			<content:encoded><![CDATA[<div id="attachment_433" class="wp-caption aligncenter" style="width: 460px"><img src="http://blog.websitestyle.com/wp-content/uploads/2009/04/anti-url-shorteners.gif" alt="Your website URL is better than someone elses." title="anti-url-shorteners" width="450" height="239" class="size-full wp-image-433" /><p class="wp-caption-text">Quit Using URL Shortener Services.</p></div>
<h3>Why Not Just Use Some URL Shortening Service?</h3>
<p>If you&#8217;re arriving at this article directly, head back to part one to read about <a href="http://blog.websitestyle.com/index.php/2009/04/15/i-dont-trust-short-urls/">why to make your own short urls</a>.</p>
<p>In a nutshell, I&#8217;ll summarize the whole article by saying that asking people to trust a cloaked link is not something you should ask anyone to do.</p>
<h3>Methods of Shortening URLs</h3>
<p>There are several different ways to handle URL shortening, and I&#8217;m going to list as many as I can think of here.</p>
<h4>For WordPress Self-Install Users</h4>
<p>If you use WordPress, you have it fairly easy. Remember back to the day you installed WordPress and you had those &#8216;ugly&#8217; urls that were just your domain and a number? Did you realize those URLs still work? They do, nowadays they just redirect to whatever nice readable format you changed your permalinks to be (which I&#8217;m sure you did, riiighhht?).</p>
<p>In fact, you users have two options. Use a plugin or add the code yourself.</p>
<h5>The Plugin Option:</h5>
<p>A good one is <a href="http://extrafuture.com/projects/la-petite-url/">la petite url</a> which uses your own domain to make your short url. When you save a post it shows the short url in the sidebar of your administrative interface. You can then drag this into your post. If you&#8217;re comfortable editing your theme files, you can add a bit of code to your single and page files so that it shows up automatically. It&#8217;s available on the WordPress Plugin repository here: <a href="http://wordpress.org/extend/plugins/le-petite-url/">la petite url</a></p>
<h5>The Template Option:</h5>
<p>Just head into your template editor and add a link to your short url into your Single and Page files. This should work fine for most templates, although a highly customized one may have different page types that you will need to add this to separately.</p>
<p>For a simple text display of the link, add the following code where ever you want in your theme file:<br />
<code>&lt;span&gt;Short URL: &lt;?php get_bloginfo('url'); ?&gt;/?&lt;?php the_ID(); ?&gt;&lt;/span&gt;</code></p>
<p>If you want to use a textbox type of display where people can easily select the text, try a variation on something like this:<br />
<code>&lt;span&gt;Short URL: &lt;input type=&quot;text&quot; value=&quot;&lt;?php get_bloginfo('url'); ?&gt;/?&lt;?php the_ID(); ?&gt;&quot; style=&quot;width:50%;&quot;/&gt;&lt;/span&gt;</code></p>
<h4>For WordPress.com Users</h4>
<p>As you know, you can&#8217;t install plugins or edit template code if you have a WordPress.com blog. You can, however, still make your links a bit shorter than they are now because your posts still have a numeric version available.</p>
<p>You would need to add (manually) text at the bottom of your posts to provide the short link to your visitors. The link would look like this:</p>
<p>http://yoursite.wordpress.com/?POSTID</p>
<p>But how do you find the POST ID for a WordPress.com blog? It&#8217;s not hard at all. I&#8217;m going to provide two screenshots to show you where to find it.</p>
<p><strong>From the posts list screen:</strong><br />
<div id="attachment_450" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.websitestyle.com/wp-content/uploads/2009/04/wp-find-post-num-list.gif"><img src="http://blog.websitestyle.com/wp-content/uploads/2009/04/wp-find-post-num-list-300x132.gif" alt="Finding Post ID From List Screen." title="wp-find-post-num-list" width="300" height="132" class="size-medium wp-image-450" /></a><p class="wp-caption-text">Finding Post ID From List Screen.</p></div></p>
<p><strong>From the editing screen:</strong><br />
<div id="attachment_452" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.websitestyle.com/wp-content/uploads/2009/04/wp-find-post-num-editing.gif"><img src="http://blog.websitestyle.com/wp-content/uploads/2009/04/wp-find-post-num-editing-300x133.gif" alt="Find Post ID While Editing." title="wp-find-post-num-editing" width="300" height="133" class="size-medium wp-image-452" /></a><p class="wp-caption-text">Find Post ID While Editing.</p></div></p>
<p>Remember, for WordPress.com people, this means adding that at the bottom of your posts when you make them.</p>
<h3>The series so far:</h3>
<p>Part 1: <a href="http://blog.websitestyle.com/index.php/2009/04/15/i-dont-trust-short-urls/">I Don&#8217;t Trust Short URL&#8217;s</a><br />
Part 2: This article<br />
Part 3: <a href="http://blog.websitestyle.com/index.php/2009/04/19/make-your-own-short-urls-in-ee-mt-joomla-drupal/">Make Your Own Short URLs in EE, MT, Joomla and Drupal</a><br />
Part 4: <a href="http://blog.websitestyle.com/index.php/2009/04/21/make-your-own-short-urls-with-domains-or-software/">Make Your Own Short URLs With Domains or Software</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2009/04/17/make-your-own-short-urls-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress Searching By Category</title>
		<link>http://blog.websitestyle.com/index.php/2009/03/12/wp-search-by-category/</link>
		<comments>http://blog.websitestyle.com/index.php/2009/03/12/wp-search-by-category/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 21:36:41 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[search by category]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/?p=346</guid>
		<description><![CDATA[Sometimes you really want to just search a specific category &#8211; more importantly, you might want your visitor to be able to do that. The generic search is going to search everything, well not exactly since the WordPress search is fairly lousy without some plugin help, but it will work for category searching just fine. [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you really want to just search a specific category &#8211; more importantly, you might want your visitor to be able to do that.</p>
<p>The generic search is going to search everything, well not exactly since the WordPress search is fairly lousy without some plugin help, but it will work for category searching just fine. In fact, it&#8217;s only going to take one line of code to add the functionality to your search, if you&#8217;re using a basic theme like the WordPress Default. Custom themes might be more of an issue, so if you get stuck, paste the code that handles your search in the comments and I&#8217;ll -try- to help, no guarantees.</p>
<p>Ok, let&#8217;s do this with the WordPress Default theme.</p>
<p>The default theme search box should look like this in your sidebar:<br />
<div id="attachment_347" class="wp-caption aligncenter" style="width: 402px"><img src="http://blog.websitestyle.com/wp-content/uploads/2009/03/wp-search-cats-before.gif" alt="The Search Box Before Category Search." title="wp-search-cats-before" width="392" height="259" class="size-full wp-image-347" /><p class="wp-caption-text">The Search Box Before Category Search.</p></div></p>
<p>We need to add our line of code to give the users an option to search by categories. So I want you to head over to Appearance -> Editor which will pull up your template files. This will show you the right template files IF you are currently using the WordPress Default theme, if not, use the dropdown box in the right area of the page to switch to the WordPress Default theme.</p>
<p>On the right side of the page, click on the Search Form (searchform.php) file to open that one for editing. The code page you&#8217;re viewing inside should look like this:</p>
<div id="attachment_348" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.websitestyle.com/wp-content/uploads/2009/03/wp-search-cats-during.gif"><img src="http://blog.websitestyle.com/wp-content/uploads/2009/03/wp-search-cats-during-300x147.gif" alt="WordPress Default Search Form Editing." title="wp-search-cats-during" width="300" height="147" class="size-medium wp-image-348" /></a><p class="wp-caption-text">WordPress Default Search Form Editing.</p></div>
<p>The code looks like this:<br />
<code>&lt;form method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;&lt;?php bloginfo('home'); ?&gt;/&quot;&gt;<br />
&lt;div&gt;&lt;input type=&quot;text&quot; value=&quot;&lt;?php the_search_query(); ?&gt;&quot; name=&quot;s&quot; id=&quot;s&quot; /&gt;<br />
&lt;input type=&quot;submit&quot; id=&quot;searchsubmit&quot; value=&quot;Search&quot; /&gt;<br />
&lt;/div&gt;<br />
&lt;/form&gt;<br />
</code></p>
<p>We&#8217;re going to add one line as follows:</p>
<p><code>&lt;form method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;&lt;?php bloginfo('home'); ?&gt;/&quot;&gt;<br />
&lt;div&gt;&lt;input type=&quot;text&quot; value=&quot;&lt;?php the_search_query(); ?&gt;&quot; name=&quot;s&quot; id=&quot;s&quot; /&gt;<br />
<strong>&lt;?php wp_dropdown_categories('depth=0&amp;orderby=name&amp;hide_empty=1&amp;show_option_all=Search Everything'); ?&gt;</strong><br />
&lt;input type=&quot;submit&quot; id=&quot;searchsubmit&quot; value=&quot;Search&quot; /&gt;<br />
&lt;/div&gt;<br />
&lt;/form&gt;<br />
</code></p>
<p>So let&#8217;s break down what that line is doing:</p>
<p><code>&lt;?php wp_dropdown_categories('depth=0&amp;orderby=name&amp;hide_empty=1&amp;show_option_all=Search Everything'); ?&gt;</code></p>
<p><strong>Depth = 0</strong> is setting it so that we&#8217;re seeing ALL categories, not just parent or child categories. In another article coming up I&#8217;ll show you how to be more specific about categories when dealing with parent/child categories.</p>
<p><strong>Order By = Name</strong> is telling them to show in alphabetical order.</p>
<p><strong>Hide Empty = 1</strong> is making sure we don&#8217;t see categories that have no posts in them to be searched.<br />
<strong><br />
Show Option All = Search Everything</strong> is creating an option for them to search all the posts and should be the default.</p>
<p>What do we get?</p>
<div id="attachment_353" class="wp-caption aligncenter" style="width: 216px"><img src="http://blog.websitestyle.com/wp-content/uploads/2009/03/wp-search-cats-after.gif" alt="The Final Search By Category view for the WordPress Default." title="wp-search-cats-after" width="206" height="187" class="size-full wp-image-353" /><p class="wp-caption-text">Search By Category.</p></div><br />
<div id="attachment_377" class="wp-caption alignright" style="width: 147px"><img src="http://blog.websitestyle.com/wp-content/uploads/2009/03/wp-search-cats-after2.gif" alt="Showing Dropdown" title="wp-search-cats-after2" width="137" height="187" class="size-full wp-image-377" /><p class="wp-caption-text">Showing Dropdown</p></div>
<p>Now it&#8217;s up to you to style it and make it look pretty <img src='http://blog.websitestyle.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2009/03/12/wp-search-by-category/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Basic Javascript Image Gallery</title>
		<link>http://blog.websitestyle.com/index.php/2008/12/14/simple-js-image-gallery/</link>
		<comments>http://blog.websitestyle.com/index.php/2008/12/14/simple-js-image-gallery/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 18:51:43 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[fields]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[onclick]]></category>
		<category><![CDATA[summer]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/?p=311</guid>
		<description><![CDATA[One of the site visitors asked how he might adjust the Summer Fields template to accommodate a javascript hover gallery using the existing layout. In this article, I'll walk you through how to modify the design to use a very simple gallery type for the design - or for your own designs.]]></description>
			<content:encoded><![CDATA[<p>One of the <a href="http://blog.websitestyle.com/index.php/2006/07/25/new-template-summer-fields/#comment-55734">comments left recently by Michael</a> on the Summer Fields design post asked about how to create a very simple image gallery with the design. The concept included in the design was very basic. It included a section that would allow for showing some pictures, and I had mentioned in the text that it was possible to make it more functional by adding some javascript to create a gallery.</p>
<div id="attachment_312" class="wp-caption aligncenter" style="width: 510px"><img src="http://blog.websitestyle.com/wp-content/uploads/2008/12/summer-fields-gallery-pic.gif" alt="Summer Fields Original Section" title="summer-fields-gallery-pic" width="500" height="207" class="size-full wp-image-312" /><p class="wp-caption-text">Summer Fields Original Section</p></div>
<p>The area text was just a suggestion about the different ways you could use the section, but Michael asked what javascript could actually be used to accomplish it. In order to make it work, I&#8217;m going to add 2 id elements to the existing code so I can more easily separate the gallery from anything that may come before or after it.</p>
<h3>Original HTML</h3>
<p>The original HTML looks like this in the sample template (obviously some filler text was used):</p>
<p><code>&lt;div id=&quot;gallery&quot;&gt;<br />
&lt;p class=&quot;entrytext&quot;&gt;&lt;img src=&quot;sunflower.jpg&quot; style=&quot;width: 130px; height: 130px; float:right;&quot; alt=&quot;placeholder&quot; /&gt;Our Photo Gallery&lt;/p&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;sunflower.jpg&quot;  alt=&quot;placeholder&quot; /&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;sunflower.jpg&quot;  alt=&quot;placeholder&quot; /&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;sunflower.jpg&quot; alt=&quot;placeholder&quot; /&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;sunflower.jpg&quot; alt=&quot;placeholder&quot; /&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;p&gt;This area can be a photo gallery, or perhaps you could replace the images with an amazon book list with affiliate links. If you want you could add a tad of javascript to this area and when you mouseover the small image it can show bigger in the image to the right.&lt;/p&gt;<br />
&lt;/div&gt;<br />
</code></p>
<h3>Move the Paragraph Out</h3>
<p>To be honest, I don&#8217;t remember why it is that I had inline CSS in there, possibly because the entire thing was meant to be a placeholder. In any event, we can change that too while we&#8217;re here, but first I want to take out that bottom paragraph and put it OUTSIDE the closing div. </p>
<p>The reason I want to move the paragraph is that I&#8217;m going to be parsing all the links in the div with the gallery ID using javascript, and if there are links in the paragraph also, then they&#8217;ll try to trigger an image preview (which they don&#8217;t have).</p>
<p>Moving that paragraph out of the div could be problematic for some designs, and in those cases, it&#8217;s more efficient to add a new ID to the UL containing the image thumbnails. For this, it&#8217;s super simple to just fix the issue by moving the paragraph.</p>
<p><code>...<br />
&lt;/ul&gt;<br />
&lt;/div&gt;<br />
&lt;p&gt;This area can be a photo gallery, or perhaps you could replace the images with an amazon book list with affiliate links. If you want you could add a tad of javascript to this area and when you mouseover the small image it can show bigger in the image to the right.&lt;/p&gt;</code></p>
<p>From this point on we can totally ignore that paragraph because it&#8217;s not longer involved in what we&#8217;re doing.</p>
<h3>Add New ID &amp; Remove Inline Style</h3>
<p>Now I want to add an ID (we&#8217;ll call it imagepreview) to the larger image on the right so that I can more easily target that image. At the same time, it gives us something to reference in CSS to get that inline CSS out of there.</p>
<p>After editing that section, we should have this (removed the inline CSS and added the imagepreview id):<br />
<code>&lt;div id=&quot;gallery&quot;&gt;<br />
&lt;p class=&quot;entrytext&quot;&gt;Our Photo Gallery &lt;img src=&quot;sunflower.jpg&quot; alt=&quot;placeholder&quot; <strong>id=&quot;imagepreview&quot;</strong> /&gt;&lt;/p&gt;<br />
&lt;ul&gt;<br />
...</code></p>
<h3>Put Real Text In</h3>
<p>Our final edit on this HTML should be in the form of filling in the list elements with real text and taking out the dummy text. An example should look like:</p>
<p><code>&lt;li&gt;<br />
  &lt;a href=&quot;the-full-size-image-goes-here.jpg&quot;&gt;<br />
      &lt;img src=&quot;the-thumbnail-image-goes-here.jpg&quot;  alt=&quot;Some real alt text.&quot; /&gt;<br />
  &lt;/a&gt;<br />
&lt;/li&gt;</code></p>
<p>You can add as many list items (li) as you need, it doesn&#8217;t matter.</p>
<h3>Add Javascript</h3>
<p>Ok, so now it&#8217;s all ready for some javascript. You can download <a href='http://blog.websitestyle.com/wp-content/uploads/2008/12/gallery.js'>the gallery.js gallery file here</a>. Head up to the top of the page HTML and add the code to include our new javascript file:</p>
<p><code>&lt;script type=&quot;text/javascript&quot; src=&quot;gallery.js&quot;&gt;&lt;/script&gt;</code></p>
<h3>Onclick Variation</h3>
<p>Now keep in mind that Michael asked how to do the hover view of the images, but it would be just as simple to do on a click event. If you want to do an onclick instead, just edit the gallery.js file on lines 14-19 to look like this instead:<br />
<code>  for ( var i=0; i < links.length; i++) {<br />
    links[i].onclick = function() {<br />
      return showPic(this);<br />
	}<br />
    links[i].onkeypress = links[i].onclick;<br />
  }</code></p>
<h3>Adjust the CSS</h3>
<p>Finally, to make sure we have better control of the styling, let's adjust a bit of the CSS file included with the template. </p>
<p>Find the CSS section that looks like this:<br />
<code>/* Photo Gallery Area */<br />
div#gallery { border-top: 2px solid #fcf; padding-top: 15px;}<br />
<strong>div#gallery img {width: 50px; height: 50px; padding: 2px; border:1px solid #fcf;}</strong><br />
div#gallery ul { list-style-type:none; margin:0; padding:0;}<br />
</code></p>
<p>We're going to change the 'div#gallery img' to be 'div#gallery ul li img' instead so that we're only controlling the gallery thumbnails with that CSS. Then we're going to add our new 'imagepreview' image to be controlled differently and add the old inline CSS on the line underneath.</p>
<p><code>/* Photo Gallery Area */<br />
div#gallery { border-top: 2px solid #fcf; padding-top: 15px;}<br />
<strong>div#gallery ul li img {width: 50px; height: 50px; padding: 2px; border:1px solid #fcf;}<br />
div#gallery img#imagepreview {width: 130px; height: 130px; float:right;}</strong><br />
div#gallery ul { list-style-type:none; margin:0; padding:0;}</code></p>
<h3>Using this Elsewhere</h3>
<p>While the example is obviously using the Summer Fields template, this same code can be used in any site so long as you create a section that looks like this:</p>
<p><code>&lt;div id=&quot;gallery&quot;&gt;<br />
&lt;p&gt;&lt;img src=&quot;someplaceholder.jpg&quot; alt=&quot;placeholder&quot; id=&quot;imagepreview&quot; /&gt;&lt;/p&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&quot;full.jpg&quot;&gt;&lt;img src=&quot;thumb.jpg&quot; alt=&quot;the alt text.&quot; /&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</code></p>
<p>The only naming requirements of the javascript are that it's all in an element with an id=gallery (doesn't have to be a div) and that the big image has an id=imagepreview. Other than that, you should be fine to use it in various ways. The big image doesn't have to be in a 'P' element and the thumbnails don't have to be in a UL, so feel free to adjust as needed.</p>
<h3>Questions?</h3>
<p>Feel free to post them here.</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2008/12/14/simple-js-image-gallery/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>The New Client &#8211; Age 5</title>
		<link>http://blog.websitestyle.com/index.php/2008/03/14/the-new-client-age-5/</link>
		<comments>http://blog.websitestyle.com/index.php/2008/03/14/the-new-client-age-5/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 16:13:27 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[children]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[kids]]></category>
		<category><![CDATA[new generation]]></category>
		<category><![CDATA[new tech]]></category>
		<category><![CDATA[next generation]]></category>
		<category><![CDATA[tech development]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2008/03/14/the-new-client-age-5/</guid>
		<description><![CDATA[<img src="http://img372.imageshack.us/img372/7835/975839418b31286b45dpb9.jpg" alt="Child seated in front of a computer." title="Child seated in front of a computer." />
<p class="photo-attrib"><a href="http://www.flickr.com/photos/tanyaryno/">Photographer.</a></p>

The next generation is alive and well. They are blogging, emailing, carrying mobile phones, text messaging, listening on iPods, networking and chatting with friends through social apps and messenger programs, and playing complex massive multi-player games online. 

<strong>They are about 5 years old.

They are your target customer if you are in new technology development.
</strong>]]></description>
			<content:encoded><![CDATA[<p><img src="http://img372.imageshack.us/img372/7835/975839418b31286b45dpb9.jpg" alt="Child seated in front of a computer." title="Child seated in front of a computer." /></p>
<p class="photo-attrib"><a href="http://www.flickr.com/photos/tanyaryno/">Photographer.</a></p>
<p>The next generation is alive and well. They are blogging, emailing, carrying mobile phones, text messaging, listening on iPods, networking and chatting with friends through social apps and messenger programs, and playing complex massive multi-player games online. </p>
<p><strong>They are about 5 years old.</p>
<p>They are your target customer if you are in new technology development.<br />
</strong><br />
While there are some out there who still balk at the idea of focusing advertising and development toward kids &#8211; they need a refresher class in basic business. Solidifying brand recognition is a lengthy process, and if kids grow up using something, they will continue to use it as adults.</p>
<p>More than that obvious statement of focusing on the next generation now&#8230; the question on the minds of people who prospect ideas in new development is more tricky. What will these kids expect as adults? Or more specifically&#8230; what will we do NOW to affect what their expectation becomes later?</p>
<p>Observation of the new generation client starts now. As the people who create new technology, we need to know what functionality appeals from the start.</p>
<p>Here are a few of my observations, developed from watching my own kids as well as their friends:</p>
<dl>
<dt>Computers are for gaming and internet access.</dt>
<dd>As long as the computer has a browser installed, and whatever computer games they play accessible &#8211; that&#8217;s all they need. Kids expect to be able to do everything, aside from gaming, through their browser. The sheer idea of having to install a program to do something else is, literally, enough to make them giggle. <span class="h">Developers, that means that if you aren&#8217;t building web applications, or working on the types of software that make these things possible&#8230; start now.</span></dd>
<dt>Massive multi-player gaming will continue to grow by leaps and bounds.</dt>
<dd>My 8 year old has been playing WoW for the last year, and I recently posed the idea of buying her a game that doesn&#8217;t have other people connected. That got a blank confused stare from her. Her hesitant response was something akin to &#8216;Are they fixing it soon?&#8217; Make a mental note of that&#8230; if you can&#8217;t currently connect to people, they assume it&#8217;s broken and needs fixing. Kids are fine with family/friend gaming on with Wii or Playstation etc&#8230; but the idea of having no ability to play with someone else? Get real. <span class="h">Developers: Listen in on that one &#8211; kids expect to be socially connected through technology. Period.</span></dd>
<dt>Operating system doesn&#8217;t matter.</dt>
<dd>Again, the use of a computer has changed. As long as it can play their games and connect them using a browser &#8211; that&#8217;s all they need. My 5 year old son has been using a Ubuntu Linux laptop since he was 3 and can use both that and a Windows computer very proficiently. My 8 year old daughter can use both of those, plus a Mac. <span class="h">Developers: All operating systems have an equal chance in the market with this generation.</span></dd>
<dt>Browsers matter alot.</dt>
<dd>I have been conducting a mini experiment on my 5 year old sons use of browsers over the last year or so. On the Windows computer I installed Opera, Firefox, Safari (for Win), and IE. The same for the Linux one (without Safari and using multiple-IE&#8217;s to have IE on there). On each browser I set up the same bookmark quick links to get to his favorite sites. He eventually tried them all, and I would occasionally watch how he interacted with them. Occasionally a site would pop up saying it needed a particular plugin &#8211; this response ticked him off. His typical response was to either change the page immediately to something &#8216;not broken&#8217; or close the browser and open a different one. If I watch him now &#8211; I can tell you this: On Windows, he uses Firefox. On Linux, he uses Opera (likely because a few Firefox plugins don&#8217;t have a version for Linux). However &#8211; he can, and has, used them all. The defining criteria in how he uses them is simple: If stuff breaks or errors often when he uses it, he stops using it. Common sense I think. <span class="h">Developers: If you make plugins, make them for all operating systems. If you make websites or web apps &#8211; use common cross-os supporting plugins to ensure they work.</span></dd>
<dt>Web apps for chat and email.</dt>
<dd>My daughter will sometimes chat with relatives and friends using various networks &#8211; but she never uses an installed chat program even though we have them. Again, it&#8217;s about using the browser for it. She uses Meebo.com because she logs into them all at once and can talk to everyone in the same screen WHILE she&#8217;s in another tab doing something else. For email, she has a Gmail account which she uses through the browser only &#8211; big surprise. Downloaded email is ridiculous to kids when they have gigs of space to keep their email online and get it anywhere. <span class="h">Developers: Keep improving online apps for communication &#8211; they&#8217;re gold.</span></dd>
<dt>Wireless everywhere.</dt>
<dd>We vacationed in a cabin at a state park &#8211; my daughter checked email via wireless and played WoW on a laptop, my son played his web games. We went to the coast and stayed in a condo with no wireless and no internet in the condo lobby, they complained like the biggest junkies in withdrawal and wanted to go home the entire week. For my sanity, we&#8217;re never going there again. <span class="h">Developers: More and better wireless devices and connectivity. Businesses: Please God have wireless.</span></dd>
<dt>Mobile is King.</dt>
<dd>I doubt I even have to explain this one &#8211; but anyone who has been living under a rock needs to get out and go walk around some kids so that you can see the rapid clicking on phones. Texting will probably become an Olympic speed sport. Taking video and pictures with a phone is the new artistry. Schools are giving in to having cell phones in class for emergencies as long as they are &#8216;off&#8217; &#8211; but I doubt they stay that way. I&#8217;d take a guess that when my daughter was in kindergarten about 4 of the kids in a class of 20 or so had cell phones with them. That number has grown each year as she moves up in grades. <span class="h">Developers: Make everything you can do with your web applications in a browser doable via a cell phone or handheld browser. The world is mobile &#8211; develop for it.</span></dd>
<dt>Movies on the Computer.</dt>
<dd>If the TV&#8217;s in the house are being used, it&#8217;s pretty normal for either of my kids to grab a DVD, head to their respective computers, and pop it in. Bringing a way to play DVD&#8217;s on long trips is just as important as having a way for EACH of them to watch their own thing in the van on a drive. Someone got wise to that since I&#8217;ve seen more and more family vans with multiple independent DVD drop-down screens for watching 2 things at once. But where I REALLY think this is going to continue to grow is with being able to &#8216;rent and watch&#8217; movies from the computer. Netflix.com is getting there with the ability to rent and watch on the computer &#8211; but it&#8217;s not a perfect system because it requires Windows. Beyond that&#8230; I don&#8217;t think it&#8217;s enough. I think the next generation of kids is going to grow up wanting to be able to watch a movie using any device that can connect &#8211; and that means it has to be device and OS independent&#8230; AKA: through a browser. <span class="h">Developers: This is the age of YouTube folks &#8211; work on perfecting being able to watch movies through the browser.</span></dd>
<dt>No Desktop Gadgets.</dt>
<dd>In fact, this goes for all things that auto-load on startup. This may surprise some of the folks who are hard at work creating all sorts of new gadgets for the desktop &#8211; but most kids I&#8217;ve watched use a computer shut them off. Why? I&#8217;ve asked and heard: &#8216;They make the computer slow.&#8217; and &#8216;I don&#8217;t use them.&#8217; and &#8216;I keep accidentally clicking on them.&#8217; On Windows Vista, with the little default gadget bar &#8211; my daughter set it to not load at all. Why? They make the computer slow when she plays WoW &#8211; in fact, everything that loads on startup that&#8217;s not-essential is turned off. Again, as I pointed out before, kids use the computer to play games and use a browser. Why would kids want desktop widgets slowing the computer down when they have a Google homepage that has them, or Netvibes or Pageflakes? <span class="h">Developers: Work on improving portals that provide gadgets/widgets instead of something that is a glorified link on the desktop that takes up processing speed.</span></dd>
<dt>Kids Are Speed Demons.</dt>
<dd>They have even less patience for using websites and web apps than the average adult &#8211; which means it&#8217;s practically non-existent. If you make a website for kids &#8211; it had better be fast loading and processing. They will tolerate a slow loading site for their very favorite characters only, because the reward is significant. But if you aren&#8217;t Disney.com &#8211; you can&#8217;t afford to have a site as slow as they do. Keep in mind, this is what kids want now. These kids will grow up and still want it on an adult oriented site &#8211; learn how to speed up everything. <span class="h">Developers: Minify all your code. Don&#8217;t use tables for layout &#8211; they load slower. Optimize images to death. Reuse images. Don&#8217;t have music or movies play on startup &#8211; kids know how to push the play button and they will.</dd>
<dt>Kids Love Bright Centered Minimalism.</dt>
<dd>Adults tend to prefer monochromatic minimalism &#8211; kids like bright color. No big surprise there. But if you watch kids use a computer, you&#8217;ll notice that alot of times they tend to have tunnel vision and just look at the center of the page (though plenty of adults too also, I see it much more in kids whereas many adults start at the top left corner). Develop with that in mind. Take a look at PBSKids.com and you&#8217;ll see someone who has successfully done that. The design is minimal in content, yet colorful and very much center screen. Another element of that is that kids work extremely well with image representations. You ever seen a kid use a iPhone? It&#8217;s enough to make you dizzy! They combined the already amazing finger dexterity of kids (we&#8217;ve seen this for years with game controllers) and added picture representations and a minimalistic design. <span class="h">Developers: Take out the junk on your sites and apps on devices. Minimize. Use picture representations (but don&#8217;t forget to make it accessible!). Add TONS of bright color.</span></dd>
<dt>Free is No Longer an Option.</dt>
<dd>Kids nowadays are growing up with a million free to use web apps, games, research sites, etc.. Something being FREE is no longer a surprise &#8211; it&#8217;s expected. If something isn&#8217;t free, they find something that is. If you don&#8217;t think they can &#8211; just ask a kid to find you a website on a topic, and most often they&#8217;ll have Google loaded up faster than you can blink sorting through search results (btw &#8211; Google is centered, minimal, and often has a changing logo kids like). <span class="h">Business Developers: Find ways to use the &#8216;free&#8217; business model (often supplemented with advertising or a premium service) or you will find yourself out in the cold with this generation.</span></dd>
<dt>Tech Savvy Input.</dt>
<dd>If people thought my generation was tech oriented &#8211; this one is VERY technologically savvy and can sniff out bugs and errors with their eyes shut. More than that &#8211; they EXPECT to be able to report bugs so they can be immediately fixed. My daughter knows how to report broken websites in Firefox, to report errors in the browser, and (even though I don&#8217;t) she knows how to file bug reports with the companies that run the games she plays. The flip side of that user input is that she also EXPECTS that those bug reports are easy to do, will be immediately appreciated and resolved. <span class="h">Developers: Prepare yourself for a whole generation that&#8217;s growing up on open-source, user driven technology. Plan ahead and get yourself ready with a bug reporting system, and a plan to implement fixes regularly.</dd>
</dl>
<p><strong>In Total: Instant Gratification.</strong></p>
<p>The current breed of technology developers mostly come from my generation &#8211; in which we were/are considered spoiled and selfish in our desire for things faster/better &#8230; the &#8216;I want it NOW&#8217; generation. Because our generation went out and made technology to solve our need for speed &#8211; the new generation is even more focused on immediately being able to access what they want. That&#8217;s the technology they are growing up on.</p>
<p>Plan for it.</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2008/03/14/the-new-client-age-5/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>IE8 &#8211; Browser Identity Concerns Fixed</title>
		<link>http://blog.websitestyle.com/index.php/2008/03/04/ie8-browser-identity-concerns-fixed/</link>
		<comments>http://blog.websitestyle.com/index.php/2008/03/04/ie8-browser-identity-concerns-fixed/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 14:52:49 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Tech News]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2008/03/04/ie8-browser-identity-concerns-fixed/</guid>
		<description><![CDATA[Yesterday Microsoft posted a piece of news very important to all modern web developers &#8211; they are reversing their decision regarding the default behavior of IE8. For those web developers who have been too busy to check their feed readers lately &#8211; here&#8217;s the short version of what&#8217;s been going on: Microsoft let us know [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday <a href="http://www.microsoft.com/presspass/press/2008/mar08/03-03WebStandards.mspx">Microsoft posted a piece of news</a> very important to all modern web developers &#8211; they are reversing their decision regarding the default behavior of IE8.</p>
<p>For those web developers who have been too busy to check their feed readers lately &#8211; here&#8217;s the short version of what&#8217;s been going on:</p>
<p>Microsoft <a href="http://blogs.msdn.com/ie/archive/2008/01/21/compatibility-and-ie8.aspx">let us know</a> that they were planning to implement a &#8216;new&#8217; method of &#8230; well, let&#8217;s just say they wanted to give the browser an identity crisis. The decision they came to was that IE8, although it would be much more standards compliant than IE7, wouldn&#8217;t act like IE8 by default. It was decided that IE8 would act like IE7 unless you specifically told it to act like IE8. This decision was backwards, illogical, potentially a huge issue for developers, and really just a waste of all those new &#8216;bells and whistles&#8217; the IE8 is supposed to have in terms of how well it renders website code.</p>
<p>The way they had planned to make this work was to have developers add a meta tag to all pages that they wanted IE8 to actually read using IE8, instead of IE7. Aka: Modern browser sniffing comes into IE8. </p>
<p>These aren&#8217;t the only issues, but I think that <a href="http://weblogs.mozillazine.org/roc/archives/2008/01/post_2.html">Robert O&#8217;Callahan has already summed them up</a> quite nicely for you to read, so I&#8217;ll point you his direction for a good summary. If you&#8217;d like more information, and responses to how we reacted to this first bit of news, please check out <a href="http://www.digital-web.com/news/2008/01/IE8_Version_Targeting_causes_quite_a_stir">the links compiled over at Digital Web</a>.</p>
<p>Anyway, that was a little over a month ago. Yesterday, we got a pleasant surprise.</p>
<p>Microsoft released notices on <a href="http://www.microsoft.com/presspass/press/2008/mar08/03-03WebStandards.mspx">their press site</a> and <a href="http://blogs.msdn.com/ie/archive/2008/03/03/microsoft-s-interoperability-principles-and-ie8.aspx">the IEBlog</a> saying that they have reversed their decision.</p>
<p>To quote the IEBlog:</p>
<blockquote><p>Now, IE8 will show pages requesting &#8220;Standards&#8221; mode in IE8&#8242;s Standards mode. Developers who want their pages shown using IE8&#8242;s &#8220;IE7 Standards mode&#8221; will need to request that explicitly (using the http header/meta tag approach described <a href="http://alistapart.com/articles/beyonddoctype">here</a>).</p></blockquote>
<p>I think that Eric Meyer <a href="http://meyerweb.com/eric/thoughts/2008/03/03/meta-change/">sums it up nicely in his post</a> where he indicates that not all issues with the meta tag are gone (which will still exist but not be required to make IE8 work as the new browser), but that this is a huge difference for the better.</p>
<p>There is also some curiosity about whether or not this change was made due to current legal issues affecting Microsoft, as in their <a href="http://www.microsoft.com/presspass/press/2008/mar08/03-03WebStandards.mspx">press release</a> the following is found:</p>
<blockquote><p>&#8220;While we do not believe there are currently any legal requirements that would dictate which rendering mode must be chosen as the default for a given browser, this step clearly removes this question as a potential legal and regulatory issue,&#8221; said Brad Smith, Microsoft senior vice president and general counsel.</p></blockquote>
<p>In any event, the new IE8 will now act like IE8 by default (what a concept!). It is a sound, logical decision. I do have some concern as to how they will respond if the beta comes out and there are many complaints (as there have been with past browser versions) from web developers who didn&#8217;t prepare themselves and their sites for the change. I hope that MS won&#8217;t be easily swayed later toward reversing this decision again going back to the previous one just to appease developers who were lazy in their preparation, because this change will help developers who work with modern technologies &#8211; and those developers are the ones making the real innovation these days.</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2008/03/04/ie8-browser-identity-concerns-fixed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using WordPress Excerpts</title>
		<link>http://blog.websitestyle.com/index.php/2008/02/29/using-wordpress-excerpts/</link>
		<comments>http://blog.websitestyle.com/index.php/2008/02/29/using-wordpress-excerpts/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 18:54:52 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2008/02/29/using-wordpress-excerpts/</guid>
		<description><![CDATA[One of the things that I&#8217;ve noticed over time is that the excerpt functionality of WordPress is often neglected. For a long time I thought that perhaps the idea of having to type of an excerpt just triggered the lazy person in most of us and we didn&#8217;t feel like doing it. I&#8217;m personally a [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://img507.imageshack.us/img507/9373/phptheexcerptheadlineec0.gif" title="Doing more with PHP the Excerpt." alt="Doing more with PHP the Excerpt." class="right" /> One of the things that I&#8217;ve noticed over time is that the excerpt functionality of WordPress is often neglected. For a long time I thought that perhaps the idea of having to type of an excerpt just triggered the lazy person in most of us and we didn&#8217;t feel like doing it. I&#8217;m personally a big fan of excerpts, even if I don&#8217;t write them up on this blog as much as I do on other blogs, so I started to take a closer look at why excerpts might be so neglected.</p>
<p>I very quickly came to develop a theory that perhaps it&#8217;s because users don&#8217;t think they do anything &#8211; and in many cases they&#8217;re absolutely correct. There are a startling number of WordPress themes that don&#8217;t include a built in ability to show the excerpt anywhere, so it&#8217;s no wonder people see little use in typing up extra words that aren&#8217;t even shown. Much to my surprise, I realized that even the 2 themes that ship with WordPress (the default and the classic) don&#8217;t automatically display excerpts. Very odd.</p>
<p>In my way of thinking, the MAIN page on a typical blog should display posts with the following conditions applied (granted, I&#8217;ve created some VERY custom themes that you&#8217;d never guess are blog driven, so keep in mind that this is for the &#8216;typical blog&#8217; style) :</p>
<ol>
<li>Check to see if there is an excerpt, if so, show the excerpt only.</li>
<li>If no excerpt is present, check to see if there is a &#8216;more&#8217; tag when showing the post and use a link to continue reading.</li>
<li>If no excerpt or more tag is found, then display the whole post.</li>
</ol>
<p>So how do you do that with WordPress in your templates? It&#8217;s pretty easy.</p>
<p>I&#8217;ll give you instructions using the WordPress default template (the one based on Kubrick at the time of this writing).</p>
<ol>
<li>In the Administration backend, go to Presentation -&gt; Theme Editor</li>
<li>Select &#8216;WordPress default&#8217; from the drop-down list, then click the select button.</li>
<li>On the right hand side, locate the file link that says &#8216;Main Index Template&#8217; and click on it.</li>
</ol>
<p>Now that you are in the correct section, locate the following piece of code:<br />
<code>&lt;div class=&quot;entry&quot;&gt;<br />
&lt;?php the_content('Read the rest of this entry &amp;raquo;'); ?&gt;<br />
&lt;/div&gt;</code></p>
<p>You are going to replace that entire piece of code with the following:</p>
<p><code>&lt;div class=&quot;entry&quot;&gt;<br />
&lt;?php if (!empty($post-&gt;post_excerpt)) : ?&gt;<br />
&lt;?php the_excerpt(); ?&gt;<br />
&lt;?php else : ?&gt;<br />
&lt;?php the_content('Read the rest of this entry &amp;raquo;'); ?&gt;<br />
&lt;?php endif; ?&gt;<br />
&lt;/div&gt;</code></p>
<p>That will create the functionality to do exactly what I outlined above, however, if you&#8217;d like to also add a link to the post underneath the excerpt (if one exists) so that it looks similar to the way a &#8216;more&#8217; tagged post will look, you can do that as well. To create a link to the post under the excerpt, simply go back to this line:</p>
<p><code>&lt;?php the_excerpt(); ?&gt;</code></p>
<p>And add a line similar to the following underneath that line:</p>
<p><code>&lt;p&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title(); ?&gt;&quot;&gt;Read the full post &amp;raquo;&lt;/a&gt;&lt;/p&gt;</code></p>
<p>That line is just normal WordPress post link, so you can modify that to suit your needs design needs.</p>
<p>The finish product code display various types of posts like this, depending on whether they have excerpts, more tags, or none:</p>
<p><img src="http://img408.imageshack.us/img408/5830/wpexcerptsresultviewsqk3.jpg" alt="Various Views of Excerpts." /></p>
<p>Of course, this example uses the WordPress default template, but the same code can be used on most any template if you find the index.php or main index page and the spot where &lt;?php the_content(); ?&gt; is in the code.</p>
<p>Have fun! </p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2008/02/29/using-wordpress-excerpts/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>ExtJS Site &#8211; A Good Showing</title>
		<link>http://blog.websitestyle.com/index.php/2007/12/10/extjs-site-a-good-showing/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/12/10/extjs-site-a-good-showing/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 14:58:22 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2007/12/10/extjs-site-a-good-showing/</guid>
		<description><![CDATA[In the current technology world, new applications and websites are coming out constantly, and if they aren&#8217;t designed to really show people how they work, they often don&#8217;t get the acclaim they deserve for what they do. It&#8217;s all about highlighting what it important to the people who would use it, and often the sites [...]]]></description>
			<content:encoded><![CDATA[<p>In the current technology world, new applications and websites are coming out constantly, and if they aren&#8217;t designed to really show people how they work, they often don&#8217;t get the acclaim they deserve for what they do. It&#8217;s all about highlighting what it important to the people who would use it, and often the sites created by new companies miss the mark. </p>
<p><a href="http://extjs.com/">ExtJS</a> is one of the javascript libraries on a growing list emerging of late, but one thing really makes it stand out &#8211; the demos. For most web programmers, often the success or failure of a new language or library is directly related to how appealing its online demonstrations are.</p>
<p>As programmers, we&#8217;ve been exposed to more old and new languages, interpreters, libraries, standards sets, software, etc&#8230; than we can keep track of anymore. After a while, we tend to give anything new a quick &#8216;once over&#8217; to see if it grabs our attention. Unfortunately, things that don&#8217;t really shine fall by the wayside, and things that glitter tend to do well. That doesn&#8217;t necessarily mean that the things that glitter are better than the others, but when it comes down to the few minutes we are willing to devote to analysis of a new language&#8230; it has to capture interest quickly. <a href="http://extjs.com/">ExtJS 2.0</a> has some of that sparkle.</p>
<p>It comes down to site design in the end &#8211; we want the demos up front and prominent, and the ExtJS site provides that. Right at the top of the main page we have a nice big area that lets us immediately (and visually) understand what ExtJS is designed to do for us. It definitely makes an impact. </p>
<p>We see full out examples of a <a href="http://extjs.com/deploy/dev/examples/feed-viewer/view.html">feed viewer app</a> made with ExtJS, an offline <a href="http://gears.google.com/">Gears</a> example, a task system made for <a href="http://labs.adobe.com/technologies/air/">AIR</a>, a <a href="http://extjs.com/deploy/dev/examples/organizer/organizer.html">full image organizer</a>, and a <a href="http://extjs.com/deploy/dev/examples/desktop/desktop.html">web desktop</a>. Then they show us <a href="http://extjs.com/deploy/dev/examples/">the components themselves</a>: grids, trees, windows, tabs, layouts, forms, and some of the other things we absolutely expect to see when it comes to a new javascript library that is going to be competitive with what we are using. Best of all &#8211; in most of the examples we can quickly click a link that shows us the code behind the component.</p>
<p>Of course, we have seen many times before that all the great code in the world isn&#8217;t enough for a programmer if you don&#8217;t give them documentation or tutorials. A programmer really has no desire to sit down and comb through thousands of lines of code and try to figure out what the person who made it was doing &#8211; particularly not when there are competing languages that come with tutorials and full documentation. ExtJS wins again on this mark, having a nice big link that says &#8216;Learn&#8217; right at the top of the site.<br />
<a href="http://extjs.com/learn/"><br />
The Learning Section</a> has exactly what most programmers are looking for &#8211; an overview, an intro tutorial, a migration guide from other libraries, FAQ, and interactive demos &#8230; along with all the regular full documentation and a community forum.</p>
<p>Overall, I think the site was designed with great usability and marketing in mind for the programmer who is the target audience. It&#8217;s quick and easy to find exactly what you need to help you decide if this is a library you are interested in. Does it necessarily mean it&#8217;s the best library out there? Who knows. Everyone has their preference, but the good construction of the information presented about the library gives ExtJS a fighting chance to shine along with some of the other current big players. Personally it has me interested enough to experiment with a bit to see if it&#8217;s going to work for me.</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/12/10/extjs-site-a-good-showing/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Website Style &#8211; Restyled</title>
		<link>http://blog.websitestyle.com/index.php/2007/11/01/website-style-restyled/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/11/01/website-style-restyled/#comments</comments>
		<pubDate>Thu, 01 Nov 2007 15:33:59 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2007/11/01/website-style-restyled/</guid>
		<description><![CDATA[After months of tossing around ideas on how I wanted to redesign my main site, WebsiteStyle.com, I finally came up with what I&#8217;m calling Version 1.0 of the redesign. It was not intended to take quite so long, but ah well. Not only was it done in my sparse free time between client work, I [...]]]></description>
			<content:encoded><![CDATA[<p>After months of tossing around ideas on how I wanted to redesign my main site, <a href="http://www.websitestyle.com">WebsiteStyle.com</a>, I finally came up with what I&#8217;m calling Version 1.0 of the redesign.</p>
<p>It was not intended to take quite so long, but ah well. Not only was it done in my sparse free time between client work, I had a few other personal things come up that took me out of commission for a bit (a death in the family, a major case of the flu I&#8217;m still getting over, lots of school stuff with the kids, etc..). In the end, I think it came out good for a first version of a re-design.</p>
<p>Part of the problem of designing for yourself, as a designer, is that it&#8217;s never perfect enough, and I have the feeling that this will be a case of always feeling the need to tweak and adjust and modify <em>ad infinitum</em>.</p>
<p>The old main site looked like this for the last couple of years:<br />
<a href="http://img148.imageshack.us/img148/671/oldindexlgvl0.gif" title="View full size screenshot."><br />
<img src="http://img148.imageshack.us/img148/1764/oldindexaf7.gif" alt="The old version of the Website Style main site." /></a></p>
<p>The new version is much more reflective of my likes in color and design:</p>
<p><a href="http://img476.imageshack.us/img476/8623/newindexih4.gif" title="View full size screenshot."><img src="http://img476.imageshack.us/img476/8329/newindexsmnr3.gif" alt="The new version of the Website Style main site." /></a></p>
<p>I&#8217;d say it came out to be a pretty major overhaul of the design. </p>
<p>Granted, it wasn&#8217;t without issues, which is why I&#8217;m calling it Version 1.0 of the new design. A few things glitched at the last minute, like the jQuery effects suddenly not working (I haven&#8217;t tried yet to see exactly what caused this &#8211; whether it was a new version change or if I just added a typo somewhere.), and having some lovely issues with Google reading my sitemap/robots files (or not reading them for that matter) so that my the 5-6 Page rank is suddenly coming up &#8216;not available&#8217;. </p>
<p>On a design scale, it&#8217;s going to need an alternate color version and I realize that. Not everyone is a fan of dark colors like I am (even if all my testing tools say I used enough contrast to make it readable). It&#8217;s a priority on my to-do list for the next version. In fact, in an ideal world I&#8217;d like to offer several swappable design themes that are entirely different. That should be easy enough considering that the new site design is one I converted to a WordPress theme. Yes, that does mean that I&#8217;m using WordPress as a content management system on my main site now. I figured that since I&#8217;ve been suggesting WordPress as a CMS for my clients, I might as well &#8216;practice what I preach&#8217; so to speak.</p>
<p>In the end, this is what it has consisted of, and been built with, on a technical level:</p>
<ul>
<li>Photoshop for the design.</li>
<li>Plain text hand-coding to XHTML.</li>
<li>Converting the XHTML to a custom WordPress theme.</li>
<li>Custom coding for <a href="http://blog.websitestyle.com/index.php/2007/09/14/wordpress-how-to-show-child-pages-only/">child pages on WordPress</a>.</li>
<li><a href="http://rawlinson.us/blog/articles/feedlist-plugin/">FeedList plugin</a> for secondary content links from this blog.</li>
<li><a href="http://dancameron.org/wordpress/wordpress-plugins/search-everything-wordpress-plugin">SearchEverything plugin</a> for full search &#8211; it uses lots of WP pages.</li>
<li><a href="http://green-beast.com/blog/?page_id=136">Contact form plugin</a> from Green Beast with custom CSS mods.</li>
<li><a href="http://wordpress.org/extend/plugins/stats/">WordPress.com stats plugin</a> for .. well, stats.</li>
<li><a href="http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/">Google XML Sitemap Generator plugin</a>.</li>
<li><a href="http://www.4mj.it/slimbox-wordpress-plugin/">Slimbox with Mootools for WP</a> &#8211; Deactivated as a plugin and just pulling files from the plugin directory &#8211; it&#8217;s a long story.</li>
<li><a href="http://www.mikeindustries.com/sifr">sIFR</a> for special font headings.</li>
<li><a href="http://jquery.com/">jQuery</a> for effects &#8211; still needs tweaking.</li>
</ul>
<p>For now, that&#8217;s what&#8217;s been involved in the CMS&#8217;ification of WordPress for this design. There is quite alot still on the agenda, and I&#8217;ll document as I go how I continue to evolve the site &#8211; just in case anyone aside from me finds it as fun and interesting.</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/11/01/website-style-restyled/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

