<?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; Templates</title>
	<atom:link href="http://blog.websitestyle.com/index.php/category/templates/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>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>Sneak Peek &#8211; New WordPress Theme</title>
		<link>http://blog.websitestyle.com/index.php/2008/03/24/sneak-peek-new-wordpress-theme/</link>
		<comments>http://blog.websitestyle.com/index.php/2008/03/24/sneak-peek-new-wordpress-theme/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 14:11:54 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[minimal]]></category>
		<category><![CDATA[minimal overhead]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2008/03/24/sneak-peek-new-wordpress-theme/</guid>
		<description><![CDATA[I&#8217;ve been working on a new WordPress theme that highlights what I enjoy in minimalist design. It&#8217;s called Minimal Overhead. As you can see from the above screen shots, this design is going to come with a few color themes, and you can easily add your own as well. The top bar is a CSS [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a new WordPress theme that highlights what I enjoy in minimalist design. It&#8217;s called Minimal Overhead.</p>
<p><a href="http://img255.imageshack.us/img255/1186/minimaloverheadprereleasa2.jpg"><img src="http://img355.imageshack.us/img355/9953/minimaloverheadprereleatu7.jpg" alt="Small size of Minimal Overhead preview." /></a></p>
<p><a href="http://img507.imageshack.us/img507/5071/minimaloverheadprereleaiz4.jpg"><img src="http://img523.imageshack.us/img523/3889/minimaloverheadprereleaex4.jpg" alt="Small size of Minimal Overhead preview second color." /></a></p>
<p>As you can see from the above screen shots, this design is going to come with a few color themes, and you can easily add your own as well.</p>
<p>The top bar is a CSS drop-down menu. For those on browsers not supporting the CSS, clicking the links will instead toss people to another area to read the subcategories and subpages etc&#8230; I&#8217;m still in personal debate over how to handle that menu. I&#8217;m experiencing a small inner rebellion against using Javascript to make the menu work for IE, and would prefer to just have the design follow a rollback for IE like any of the other older browsers will see. In either case, the menu options will be available, just in different ways.</p>
<p>This is, in my opinion, the kind of theme for someone who needs structure in order to keep their blog minimal feeling without letting it get cluttered over time. I&#8217;m not going to add in places for people to drag a million widgets and fill up all the empty space &#8211; that defeats the purpose. </p>
<p>The theme is about keeping things simple.</p>
<p>I&#8217;ll post another update when I&#8217;ve got more to show.</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2008/03/24/sneak-peek-new-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress How To &#8211; Show Child Pages Only</title>
		<link>http://blog.websitestyle.com/index.php/2007/09/14/wordpress-how-to-show-child-pages-only/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/09/14/wordpress-how-to-show-child-pages-only/#comments</comments>
		<pubDate>Fri, 14 Sep 2007 23:40:01 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2007/09/14/wordpress-how-to-show-child-pages-only/</guid>
		<description><![CDATA[I&#8217;ve recently finished my new re-design for my main site, and am now converting it over to a WordPress theme. It occurred to me that one of the snippets of code I&#8217;m using might just help someone else also. For my new theme, I needed to get only the child pages of a current page [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently finished my new re-design for my main site, and am now converting it over to a WordPress theme. It occurred to me that one of the snippets of code I&#8217;m using might just help someone else also.</p>
<p>For my new theme, I needed to get only the child pages of a current page to display in my sidebar. However, I also wanted those child pages to show, regardless of whether or not I was actually ON a child page also.</p>
<p>An example hierarchy might work like this:</p>
<ol>
<li>About (Parent Page #2)
<ol>
<li>My City (Child Page #8)</li>
<li>My Bio (Child Page #4)</li>
<li>My Photos (Child Page #3)</li>
</ol>
</li>
</ol>
<p>Now the tricky part is that it involves a few things there aren&#8217;t quick WordPress tags for.</p>
<ol>
<li>I want to list all the child pages in my sidebar.</li>
<li>I want the child pages to show even while on another child page of the same parent page.</li>
<li>And I want to control the display order through the admin menu order tool, not have it be alphabetically ascending.</li>
</ol>
<p>So, first I need to find a way to display the child pages persistently, while on a child page or a parent page of the same section. So, I want to see those same sidebar links whether I&#8217;m browsing the main &#8216;About&#8217; page, or reading the &#8216;My Bio&#8217; page.</p>
<p>To achieve that first part, you need to use this little snippet of code that can be found on <a href="http://codex.wordpress.org/Template_Tags/wp_list_pages#List_subpages_even_if_on_a_subpage">the WordPress codex</a>:</p>
<p><code>&lt;?php<br />
if($post-&gt;post_parent)<br />
$children = wp_list_pages("title_li=&#038;child_of=".$post-&gt;post_parent."&#038;echo=0"); else<br />
$children = wp_list_pages("title_li=&#038;child_of=".$post-&gt;ID."&#038;echo=0");<br />
if ($children) { ?&gt;<br />
&lt;ul&gt;<br />
&lt;?php echo $children; ?&gt;<br />
&lt;/ul&gt;<br />
&lt;?php } ?&gt;</code></p>
<p>Copy and paste that where your child pages should display.</p>
<p>So now the child pages are showing persistently, whether browsing on the parent page or one of the child pages (and they change if the parent page changes). But now, I need to deal with the order.</p>
<p>I want to be able to control the order through the admin screen without having to mess with the template, but I do not want it to have to be alphabetical. You can reset the order of any page by going to your WP-Admin and doing the following:<br />
<code>Manage -&gt; Pages -&gt; Edit (the page you want to change) -&gt; Page Order (change the number)</code></p>
<p>When you change the Page Order value, you move the page to a different spot in your page list. Say you have 18 pages, and you want your page 2 at the top to be at the bottom, you could change the page order to 19. In any event, you can see the exact page order when you look at the Page management screen.</p>
<p>So, that&#8217;s how I want to control those child pages, but this snippet of code will default them to their current order.</p>
<p>I need to add one small change to fix that.<br />
<em>(Edit: Fixed a small error in not putting the sort_column on both lines.)</em></p>
<p><code>&lt;?php<br />
if($post-&gt;post_parent)<br />
$children = wp_list_pages("<span style="text-decoration:underline;">sort_column=menu_order&#038;</span>title_li=&#038;child_of=".$post-&gt;post_parent."&#038;echo=0"); else<br />
$children = wp_list_pages("<span style="text-decoration:underline;">sort_column=menu_order&#038;</span>title_li=&#038;child_of=".$post-&gt;ID."&#038;echo=0");<br />
if ($children) { ?&gt;<br />
&lt;ul&gt;<br />
&lt;?php echo $children; ?&gt;<br />
&lt;/ul&gt;<br />
&lt;?php } ?&gt;</code></p>
<p>The underlined portion should be added, and now it is controlled by however I order it in the menu.</p>
<p>Hope it helps someone!</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/09/14/wordpress-how-to-show-child-pages-only/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>New WordPress Themes</title>
		<link>http://blog.websitestyle.com/index.php/2007/09/12/new-wordpress-themes-3/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/09/12/new-wordpress-themes-3/#comments</comments>
		<pubDate>Thu, 13 Sep 2007 03:26:23 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2007/09/12/new-wordpress-themes-3/</guid>
		<description><![CDATA[There are two new WordPress themes that I like online today, each one definitely in a different category. Todays winner in the minimal category, sporting a very Web2.0 color scheme, goes to Prisa from NofieIman.com. The only thing lacking in this one is an online demo link &#8211; otherwise it&#8217;s a great looking screenshot. The [...]]]></description>
			<content:encoded><![CDATA[<p>There are two new WordPress themes that I like online today, each one definitely in a different category.</p>
<p>Todays winner in the minimal category, sporting a very Web2.0 color scheme, goes to <a href="http://nofieiman.com/2007/09/prisa-wordpress-theme/">Prisa</a> from NofieIman.com.</p>
<p><img src="http://img507.imageshack.us/img507/3385/prisawordpressthemetq1.jpg" alt="Prisa WordPress theme screenshot." /></p>
<p>The only thing lacking in this one is an online demo link &#8211; otherwise it&#8217;s a great looking screenshot.</p>
<p>The second theme is my winner for the &#8216;nicest use of lime on a business looking blog I&#8217;ve seen in a while&#8217; category. It&#8217;s called <a href="http://www.romow.com/blog/3-column-wordpress-theme-greenwave/">Greenwave</a> (though it really looks lime to me) and is done by Romow.com. </p>
<p><img src="http://img483.imageshack.us/img483/7272/greenwavejv2.jpg" alt="Greenwave WordPress Theme Screenshot." /></p>
<p>Greenwave thankfully has a <a href="http://www.romow.com/demo/index.php?wptheme=GreenWave">demo</a> online for you to peek at too.</p>
<p>Try &#8216;em out!</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/09/12/new-wordpress-themes-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New WordPress Themes</title>
		<link>http://blog.websitestyle.com/index.php/2007/09/07/new-wordpress-themes-2/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/09/07/new-wordpress-themes-2/#comments</comments>
		<pubDate>Fri, 07 Sep 2007 13:35:35 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2007/09/07/new-wordpress-themes-2/</guid>
		<description><![CDATA[There are two new WordPress themes floating around in cyberspace, and I really like them both for different reasons. The first one is called Into the Ocean, from Design Adaptations. I think this theme shines as a minimalist theme. What really caught my attention, however, was the color. I think the designer really nailed the [...]]]></description>
			<content:encoded><![CDATA[<p>There are two new WordPress themes floating around in cyberspace, and I really like them both for different reasons.</p>
<p>The first one is called <a href="http://designadaptations.com/notebook/wordpress-theme-into-the-ocean/">Into the Ocean</a>, from <a href="http://designadaptations.com">Design Adaptations</a>.</p>
<p><img src="http://img444.imageshack.us/img444/218/intotheoceanmm0.jpg" alt="Screenshot of a WordPress theme called Into the Ocean." /></a></p>
<p>I think this theme shines as a minimalist theme. What really caught my attention, however, was the color. I think the designer really nailed the right blues to use together, and it just presents this very cohesive color palate. Soothing and pleasing at the same time. Excellent job. There is <a href="http://designadaptations.com/demo/index.php?wptheme=Into+the+Ocean">a demo of the theme online</a>.</p>
<p>The second theme is called <a href="http://www.web2themes.com/2007/08/25/sodelicious-20-green-version-release/">Sodelicious 2.0</a>, that comes from <a href="http://www.web2themes.com/">Web2Themes</a>.</p>
<p><img src="http://img167.imageshack.us/img167/4311/scr4542b29jp0jc1.jpg" alt="Screenshot of a WordPress theme." /></p>
<p>This theme has a soft mossy green that works well with the white and subtle gradients throughout. It feels open, yet there&#8217;s actually alot going on in this theme. I&#8217;m not entirely sure how I feel about the image at the top left corner &#8211; you can&#8217;t tell from the screenshot, but if you look at it live that picture actually changes. I think it has potential if you were to use images there that are complimentary to the overall color scheme. I have always liked the &#8216;hanging&#8217; element look that this one has on the left side (the date and bookmarking links), so that&#8217;s a plus. There is <a href="http://web2themes.com/demo/index.php?wptheme=sodelicious2+green">a demo of the theme online</a>.</p>
<p>And with that&#8230; we conclude this brief mention of a couple of nice themes from the WordPress Theme Universe.</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/09/07/new-wordpress-themes-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New WordPress Themes</title>
		<link>http://blog.websitestyle.com/index.php/2007/08/12/new-wordpress-themes/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/08/12/new-wordpress-themes/#comments</comments>
		<pubDate>Mon, 13 Aug 2007 00:55:53 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2007/08/12/new-wordpress-themes/</guid>
		<description><![CDATA[Here are a couple of nice themes from the web community today: Ambient Glo 1.5 Fixed (Demo, Download). Fluid (Demo, Download). A very nice 3 column theme that has the option to be either fixed or fluid width. Good use of color and white space. Created by Nathan Parikh. CityPark The Demo. The Download. This [...]]]></description>
			<content:encoded><![CDATA[<p>Here are a couple of nice themes from the web community today:</p>
<h3><a href="http://rockinthemes.com/ambient-glo-15-a-web-20-free-wordpress-theme-updated/">Ambient Glo 1.5</a></h3>
<p><img src="http://img470.imageshack.us/img470/1113/ambientglo1lf9.jpg" alt="Ambient Glo Screenshot." /></p>
<p>Fixed (<a href="http://blogdesignr.com/themeviewer/index.php?wptheme=Ambient+Glo+Fixed+Width">Demo</a>, <a href="http://rockinthemes.com/?dl=5">Download</a>). Fluid (<a href="http://blogdesignr.com/themeviewer/index.php?wptheme=Ambient+Glo+Fluid">Demo</a>, <a href="http://rockinthemes.com/?dl=6">Download</a>).</p>
<p>A very nice 3 column theme that has the option to be either fixed or fluid width. Good use of color and white space. Created by <a href="http://rockinthemes.com/nathan-parikh-custom-wordpress-theme-designer/">Nathan Parikh</a>.</p>
<h3><a href="http://www.romow.com/blog/free-wordpress-theme-citypark/">CityPark</a></h3>
<p><a href="http://img181.imageshack.us/img181/5713/cityparkhe9.jpg"><img src="http://img181.imageshack.us/img181/5713/cityparkhe9.th.jpg" alt="CityPark screenshot." /></a></p>
<p><a href="http://www.romow.com/demo/index.php?wptheme=CityPark">The Demo</a>. <a href="http://www.romow.com/blog/download/73">The Download</a>.</p>
<p>This is a theme for people who like the wide screen, which more and more people do. It caught my attention because it was simple and clean, yet there were little details all over.</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/08/12/new-wordpress-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sandbox Design Competition Results</title>
		<link>http://blog.websitestyle.com/index.php/2007/08/06/sandbox-design-competition-results/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/08/06/sandbox-design-competition-results/#comments</comments>
		<pubDate>Tue, 07 Aug 2007 01:18:42 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2007/08/06/sandbox-design-competition-results/</guid>
		<description><![CDATA[The judging is over, the results are in, and now every WordPress/Sandbox fan has new designs to play with! I enjoyed being a judge for this competition, though it was definitely not easy to pick which my favorites were out of 46 submitted designs. Huge congratulations to the winners! The top design for the contest [...]]]></description>
			<content:encoded><![CDATA[<p>The judging is over, the results are in, and now every WordPress/Sandbox fan has new designs to play with!</p>
<p>I enjoyed being a judge for this competition, though it was definitely not easy to pick which my favorites were out of 46 submitted designs. Huge congratulations to the winners!</p>
<p>The top design for the contest was <a href="http://www.sndbx.org/results/designs/sandpress/">SandPress</a> by <a href="http://www.clazh.com/">Arpit Jacob</a>:</p>
<p><a href="http://www.sndbx.org/results/designs/sandpress/"><img src="http://img295.imageshack.us/img295/4661/screenshot35is2.png" alt="Sandbox top design screenshot." /></a></p>
<p>The 2nd place design was <a href="http://www.sndbx.org/results/designs/moo-point/">Moo-Point</a> by <a href="http://iamww.com/">Will Wilkins</a>.</p>
<p><a href=""http://img72.imageshack.us/img72/3295/screenshot23md6.png"><img src="http://img72.imageshack.us/img72/3295/screenshot23md6.th.png" alt="MooPoint Screenshot" /></a></p>
<p>3rd Place was taken by the design called <a href="http://www.sndbx.org/results/designs/prima/">Prima</a> done by <a href="http://www.sunaryohadi.info/">Sunaryo Hadi</a>.</p>
<p><a href="http://img513.imageshack.us/img513/5991/screenshot31dr0.png"><img src="http://img513.imageshack.us/img513/5991/screenshot31dr0.th.png" alt="Prima design screenshot." /></a></p>
<p>There were also 3 runners up who will receive smaller prizes, but prizes nonetheless!</p>
<ol>
<li><a href="http://www.sndbx.org/results/designs/essay/">Essay</a> ( by <a href="http://upperfortstewart.com/">Ian Stewart</a>)</li>
<li><a href="http://www.sndbx.org/results/designs/tiffany-blue/">Tiffany Blue</a> (by <a href="http://stellify.net/">Ia Lucero</a>)</li>
<li><a href="http://www.sndbx.org/results/designs/shades-of-gray/">Shades of Gray</a> (by <a href="http://lesliefranke.com/">Leslie Franke</a>)</li>
</ol>
<p>(You can see all of the designs that were entered <a href="http://www.sndbx.org/results/designs/">here</a>.)</p>
<p>I am glad to see that 2 out of my 3 top design picks were in the top 3 for the results. They were excellent designs deserving of some acknowledgment. </p>
<p>Every one who entered deserves recognition for their efforts, and I hope that all the entrants understand that the decisions were very difficult. It was, however, as untainted as I think is possible, as we were also asked to refrain from reading the forums or posts regarding the contest until we submitted our results.</p>
<p>Thanks go out to <a href="http://www.plaintxt.org/">Scott</a> for running this contest, <a href="http://andy.wordpress.com/">Andy</a> for impartial reviewing of the results, and the people who <a href="http://www.sndbx.org/sponsors/">sponsored</a> the contest so that winners could receive some cash.</p>
<p>If people have comments on the results, Scott has made a nice <a href="http://www.sndbx.org/forums/viewtopic.php?id=97">little forum post</a> for after-contest discussion.</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/08/06/sandbox-design-competition-results/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Designers Can Win Money For School</title>
		<link>http://blog.websitestyle.com/index.php/2007/08/03/wordpress-designers-can-win-money-for-school/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/08/03/wordpress-designers-can-win-money-for-school/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 15:19:11 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2007/08/03/wordpress-designers-can-win-money-for-school/</guid>
		<description><![CDATA[CollegeScholarships.org is running a WordPress design competition that is ending soon (August 13, 2007). The winning designer will be awarded a $5,000 scholarship for their college education! That is a significant amount and it is a great way to show off your design skills. The Challenge Design a WordPress template for the NewScholarships.org website. The [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.collegescholarships.org/">CollegeScholarships.org</a> is running <a href="http://www.collegescholarships.org/our-scholarships/web-design.htm">a WordPress design competition</a> that is ending soon (August 13, 2007).<br />
<img src="http://img131.imageshack.us/img131/4421/emptyclassroomsmsy9.jpg" alt="Empty Classroom." /></p>
<p>The winning designer will be awarded a $5,000 scholarship for their college education! That is a significant amount and it is a great way to show off your design skills.</p>
<h3>The Challenge</h3>
<p>Design a WordPress template for the <a href="http://www.newscholarships.org/">NewScholarships.org</a> website.</p>
<h3>The Requirements</h3>
<ul>
<li>Be a U.S. citizen.</li>
<li>Currently attending college full time.</li>
<li>Willing to let them credit your winning and design online.</li>
</ul>
<h3>Submission Deadline</h3>
<p>Midnight (PST) on Monday, August 13th, 2007. (<a href="http://www.collegescholarships.org/our-scholarships/web-design.htm">Submission form.</a>)</p>
<h3>The Prize</h3>
<p>$5,000 in scholarship money.</p>
<p>You can read the list of judges on the panel posted <a href="http://www.collegescholarships.org/our-scholarships/web-design.htm">on the details page</a>, which includes quite a few &#8216;big names&#8217; in web design. </p>
<p>Remember, the deadline is approaching, so while you are trying to enjoy the last of your summer and looking for your new semester books, find some time to create &#8211; it could help make this year at school a little easier financially.</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/08/03/wordpress-designers-can-win-money-for-school/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Blog Theme Accordion Style</title>
		<link>http://blog.websitestyle.com/index.php/2007/07/29/a-blog-theme-accordion-style/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/07/29/a-blog-theme-accordion-style/#comments</comments>
		<pubDate>Sun, 29 Jul 2007 17:58:42 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2007/07/29/a-blog-theme-accordion-style/</guid>
		<description><![CDATA[I ran across a new WordPress theme (Isolated) that takes a nice approach to using Mootools accordion code, and integrating it into a WordPress theme. I have always thought that accordion style sections can look really slick, and I love Mootools, and I think the integration of it into this blog theme is done nicely. [...]]]></description>
			<content:encoded><![CDATA[<p>I ran across a new WordPress theme (<a href="http://www.ensellitis.com/wordpress/isolated-wordpress-theme/">Isolated</a>) that takes a nice approach to using Mootools accordion code, and integrating it into a WordPress theme. I have always thought that accordion style sections can look really slick, and I love Mootools, and I think the integration of it into this blog theme is done nicely. You can see <a href="http://ensellitis.com/sandbox/">the demo of the theme here</a>.</p>
<p>Now, in my opinion, this theme is far from perfect, but I like the approach used. I noticed a few things that I do not care for, and I&#8217;ll list them here:</p>
<ol>
<li>Love the accordion, but I don&#8217;t like seeing it open on something that requires a scrollbar. Gives a poor impression on first loading. I think the default showing accordion section should be something like an &#8216;about&#8217; page or some other small summary of the site that will not scroll.</li>
<li>If you increase the text one step or more on the browser (ex: CTRL and + in Firefox), the top half of the site is great still, but there is significant break on the lower section right at the &#8216;previous posts&#8217; link.</li>
<li>Speaking of the lower half of the page, I don&#8217;t care for the colors. To me the two halves look like two different designs. I think what is doing it is the higher contrast green used on the list items. To follow the theme on the top half, I would suggest reducing that bright green to match the muted green used in the post titles within the slider. They could even go to that bright green on hover like the top does.</li>
<li>It needs something in the top left corner. My eye keeps drifting to that spot for some reason. Maybe a jump scroll button to the lower half.</li>
</ol>
<p>Overall, I love the approach. I think it could use some tweaking, but it is a great idea <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/2007/07/29/a-blog-theme-accordion-style/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

