<?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>Thoughts on WordPress</title>
	<atom:link href="http://wp.michaelwalsh.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://wp.michaelwalsh.org</link>
	<description>Stuff of interest to me for WordPress developers</description>
	<lastBuildDate>Thu, 11 Mar 2010 03:13:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sandbox Swim Team Theme</title>
		<link>http://wp.michaelwalsh.org/2010/03/10/sandbox-swim-team-theme/</link>
		<comments>http://wp.michaelwalsh.org/2010/03/10/sandbox-swim-team-theme/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 03:11:11 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Sandbox]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Swim Team]]></category>

		<guid isPermaLink="false">http://wp.michaelwalsh.org/2010/03/10/sandbox-swim-team-theme/</guid>
		<description><![CDATA[This evening I posted a new Sandbox based theme called Sandbox Swim Team.&#160; This theme is designed for Swim Team web sites.&#160; Like the LEGO and Soccer themes I have done recently, this theme is widget ready and has styling for a number of plugins I use regularly.&#160; This theme has a number of options [...]]]></description>
			<content:encoded><![CDATA[<p>This evening I posted a new Sandbox based theme called <a href="http://www.michaelwalsh.org/wordpress-stuff/wordpress-themes/sandbox-swim-team-theme/">Sandbox Swim Team</a>.&#160; This theme is designed for Swim Team web sites.&#160; Like the LEGO and Soccer themes I have done recently, this theme is widget ready and has styling for a number of plugins I use regularly.&#160; This theme has a number of options to support custom header images, color scheme choices, and themed login pages.&#160; You can see this theme in action on the <a href="http://www.macdolphins.org">MacGregor Downs MacDolphins</a> web site.</p>
<p><a href="http://wp.michaelwalsh.org/wp-content/uploads/2010/03/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://wp.michaelwalsh.org/wp-content/uploads/2010/03/image_thumb.png" width="244" height="217" /></a>&#160; <a href="http://wp.michaelwalsh.org/wp-content/uploads/2010/03/image1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://wp.michaelwalsh.org/wp-content/uploads/2010/03/image_thumb1.png" width="244" height="217" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://wp.michaelwalsh.org/2010/03/10/sandbox-swim-team-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sandbox-LEGO theme update</title>
		<link>http://wp.michaelwalsh.org/2010/02/15/sandbox-lego-theme-update/</link>
		<comments>http://wp.michaelwalsh.org/2010/02/15/sandbox-lego-theme-update/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 21:10:15 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Sandbox]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://wp.michaelwalsh.org/?p=49</guid>
		<description><![CDATA[This afternoon I posted an update to my Sandbox-LEGO theme.  In the process of developing my CASL Soccer theme I had figured out how to do a couple things which I have wanted to incorporate into Sandbox-LEGO.  It wasn&#8217;t a lot of work but I also decided to spend the time to re-write the Bourne [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.michaelwalsh.org/wordpress-stuff/wordpress-themes/sandbox-lego-theme/"><img class="alignright" title="Sandbox LEGO Theme" src="http://www.michaelwalsh.org/wp-content/uploads/2010/02/SBL_Screenshot-285x300.png" alt="Sandbox LEGO Theme" width="285" height="300" /></a>This afternoon I posted an update to my <a href="http://www.michaelwalsh.org/wordpress-stuff/wordpress-themes/sandbox-lego-theme/">Sandbox-LEGO theme</a>.  In the process of developing my CASL Soccer theme I had figured out how to do a couple things which I have wanted to incorporate into Sandbox-LEGO.  It wasn&#8217;t a lot of work but I also decided to spend the time to re-write the Bourne Shell script which I use to generate CSS files for the various color schemes.  Instead of duplicating a bunch of code I implemented it as a series of functions which are called with the various color settings.  Fairly trivial looking back on it, not sure why I hadn&#8217;t done it in the first place.  It should make adding a new color scheme much faster.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.michaelwalsh.org/2010/02/15/sandbox-lego-theme-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a multi-blog installation</title>
		<link>http://wp.michaelwalsh.org/2010/01/04/setting-up-a-multi-blog-installation/</link>
		<comments>http://wp.michaelwalsh.org/2010/01/04/setting-up-a-multi-blog-installation/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 20:58:21 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp-Hive]]></category>

		<guid isPermaLink="false">http://wp.michaelwalsh.org/2010/01/04/setting-up-a-multi-blog-installation/</guid>
		<description><![CDATA[The CASL Ambassadors web site is actually a collection of WordPress blogs – the main site plus one for each of six age group teams.&#160; When I initially set it up I tried using WordPress-MU but my hosting solution wasn’t capable for MU’s requirements.&#160; Then I tried a plugin called WP-Hive which allows a collection [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.caslambassadors.org/">CASL Ambassadors web site</a> is actually a collection of WordPress blogs – the main site plus one for each of six age group teams.&#160; When I initially set it up I tried using WordPress-MU but my hosting solution wasn’t capable for MU’s requirements.&#160; Then I tried a plugin called <a href="http://wp-hive.com/">WP-Hive</a> which allows a collection of blogs to share some common infrastructure.&#160; Wp-Hive looked promising but <a href="http://wp-hive.com/forums/topic.php?id=78#post-252">I ran into some concerns</a> which kept me from using it.</p>
<p>Ultimately I ended up setting up a separate blog for each site and hoped to come back to it at some point.&#160; That point was a couple weeks ago when I decided to do some maintenance on the sites.&#160; I ended up using the main installation as a parent and linked (using Unix symbolic links) all of the sub-domain sites back to parent.&#160; The only exception was the wp-content directory which is a real directory (so uploads can be unique) but within wp-content I linked back to the parent’s themes and plugins.</p>
<p>This worked pretty well – if I install a plugin or theme for the main site it is available for all of the sub-domain sites and when I upgrade WordPress, all of the sub-domain sites are upgraded as well.&#160; Once I got this running, I wanted to share the users across all blogs.</p>
<p>After several attempts and numerous Google searches, I ended up following the directions in <a href="http://wordpress.org/support/topic/164758?replies=13">this thread</a> and <a href="http://wordpress.org/support/topic/164758?replies=13">this thread</a> and got everything to work.&#160; I don’t particularly care for having to modify one of the core WordPress files since it will go away the next time I update WordPress but none of the other solutions I tried worked.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.michaelwalsh.org/2010/01/04/setting-up-a-multi-blog-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More on Facebook Connect</title>
		<link>http://wp.michaelwalsh.org/2009/12/22/more-on-facebook-connect/</link>
		<comments>http://wp.michaelwalsh.org/2009/12/22/more-on-facebook-connect/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 20:24:39 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Design Resources]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Facebook plugins]]></category>

		<guid isPermaLink="false">http://wp.michaelwalsh.org/2009/12/22/more-on-facebook-connect/</guid>
		<description><![CDATA[Today I spent some more time working with the Facebook Connect plugin.  It pretty much works as adverized.  Using the wp_meta hook I was able to displY the Facebook login status on the Meta widget.
With a little bit of styling it looks well integrated with the theme I am using.  You can [...]]]></description>
			<content:encoded><![CDATA[<p>Today I spent some more time working with the Facebook Connect plugin.  It pretty much works as adverized.  Using the wp_meta hook I was able to displY the Facebook login status on the Meta widget.</p>
<p>With a little bit of styling it looks well integrated with the theme I am using.  You can see the it in action on the <a href="http://htp://www.caslshocks.org">CASL Shocks</a> web site.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.michaelwalsh.org/2009/12/22/more-on-facebook-connect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trying out WordPress Facebook Connect plugin</title>
		<link>http://wp.michaelwalsh.org/2009/12/01/trying-out-wordpress-facebook-connect-plugin/</link>
		<comments>http://wp.michaelwalsh.org/2009/12/01/trying-out-wordpress-facebook-connect-plugin/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 14:05:34 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[CASL]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Facebook Connect]]></category>
		<category><![CDATA[NCLTC]]></category>
		<category><![CDATA[NCLUG]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://wp.michaelwalsh.org/2009/12/01/trying-out-wordpress-facebook-connect-plugin/</guid>
		<description><![CDATA[I have been doing some testing with the WordPress Facebook Connect plugin.&#160; There are a couple sites I work with, particularly our swim team web site, MacDolphins.org, where I need users to login and add data to the site.&#160; Each year when we do swim team registration I get lots of questions about how to [...]]]></description>
			<content:encoded><![CDATA[<p>I have been doing some testing with the <a href="http://wiki.developers.facebook.com/index.php/WP-FBConnect">WordPress Facebook Connect</a> plugin.&#160; There are a couple sites I work with, particularly our swim team web site, <a href="http://www.macdolphins.org">MacDolphins.org</a>, where I need users to login and add data to the site.&#160; Each year when we do swim team registration I get lots of questions about how to register, forgotten usernames and passwords, etc.&#160; With the popularity of Facebook, I am thinking that leveraging Facebook login credentials could make things a lot easier for me and our swim team parents.</p>
<p>As a test, I have installed it on the site I am putting together for my youngest daughter’s soccer team (<a href="http://www.caslsharks.org">CASL Sharks</a>) to see&#160; how it works.&#160; For the most part, I am impressed – it pretty much works as advertised.&#160; I was able to login using my Facebook login and once my user was added to the WordPress user tables, I could change my permissions to allow my Facebook user id to post.&#160; I still need to do some work to support Facebook Connect for comments but the instructions look pretty straight forward.&#160; I think this would work well for the <a href="http://www.ncltc.us">NCLTC</a> and <a href="http://www.nclug.us">NCLUG</a> sites as well although Facebook Connect requires PHP5 and those sites are hosted on a PHP4 based server so I’ll have to sort that out.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.michaelwalsh.org/2009/12/01/trying-out-wordpress-facebook-connect-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flickr-Gallery Plugin &#8211; good stuff!</title>
		<link>http://wp.michaelwalsh.org/2009/11/22/flickr-gallery-plugin-good-stuff/</link>
		<comments>http://wp.michaelwalsh.org/2009/11/22/flickr-gallery-plugin-good-stuff/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 09:58:44 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Flickr-Gallery]]></category>
		<category><![CDATA[Light Window]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://wp.michaelwalsh.org/2009/11/22/flickr-gallery-plugin-good-stuff/</guid>
		<description><![CDATA[I use Flickr to host my photos and I’ve always wanted a better way to present them on WordPress blogs and this weekend I think I found it.&#160; Flickr-Gallery is a great plugin.&#160; It is easy to set up and use and it integrates well with my theme.&#160; It has a nice selection of short [...]]]></description>
			<content:encoded><![CDATA[<p>I use Flickr to host my photos and I’ve always wanted a better way to present them on WordPress blogs and this weekend I think I found it.&#160; <a href="http://wordpress.org/extend/plugins/flickr-gallery/">Flickr-Gallery</a> is a great plugin.&#160; It is easy to set up and use and it integrates well with my theme.&#160; It has a nice selection of short code options.</p>
<p>The only thing I use which is missing is the ability to link or preferably, display, a slide show.&#160; I shoot a lot of pictures of our kids activities (skateboarding, soccer, basketball, swim team, etc.) and sharing them as a Flickr slide show is something I do frequently.</p>
<p>I found a solution to the missing slide show by using the <a href="http://wordpress.org/extend/plugins/lightwindow/">Light Window</a> plugin in conjunction with the Flickr URL for the slide show I am interested in presenting.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.michaelwalsh.org/2009/11/22/flickr-gallery-plugin-good-stuff/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LEGO Theme released</title>
		<link>http://wp.michaelwalsh.org/2009/11/02/lego-theme-released/</link>
		<comments>http://wp.michaelwalsh.org/2009/11/02/lego-theme-released/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 19:23:47 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[Sandbox]]></category>

		<guid isPermaLink="false">http://wp.michaelwalsh.org/2009/11/02/lego-theme-released/</guid>
		<description><![CDATA[This afternoon I finally had a few minutes to fix a couple of issues and release my LEGO theme.&#160; This theme is currently in use on my LEGO web site.&#160; The theme free to download and use.&#160; There are still a couple minor nits with it which I need to fix and I want to [...]]]></description>
			<content:encoded><![CDATA[<p>This afternoon I finally had a few minutes to fix a couple of issues and release my LEGO theme.&#160; This theme is currently in use on my LEGO web site.&#160; The theme free to <a href="http://www.michaelwalsh.org/wordpress-themes/">download</a> and use.&#160; There are still a couple minor nits with it which I need to fix and I want to add a couple more color schemes but I wanted to get it out.&#160; It supports four colors schemes – red, blue, green, and yellow.&#160; Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.michaelwalsh.org/2009/11/02/lego-theme-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More work on LEGO Theme</title>
		<link>http://wp.michaelwalsh.org/2009/10/25/more-work-on-lego-theme/</link>
		<comments>http://wp.michaelwalsh.org/2009/10/25/more-work-on-lego-theme/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 12:15:50 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Sandbox]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Color Blender]]></category>
		<category><![CDATA[LEGO]]></category>

		<guid isPermaLink="false">http://wp.michaelwalsh.org/2009/10/25/more-work-on-lego-theme/</guid>
		<description><![CDATA[This morning Imade some more progress on the LEGO theme.&#160; It is close to being released.&#160; In fact, I was about to release it when I realized that the two different sized bricks for the page background wasn’t working.&#160; Looks like I had deferred working on that.&#160; The options work fine, they just don’t do [...]]]></description>
			<content:encoded><![CDATA[<p>This morning Imade some more progress on the LEGO theme.&#160; It is close to being released.&#160; In fact, I was about to release it when I realized that the two different sized bricks for the page background wasn’t working.&#160; Looks like I had deferred working on that.&#160; The options work fine, they just don’t do anything as the size is currently hard coded into to the CSS file.</p>
<p>I did fix the problem with the Recent Comments widget as also added support for the <a href="http://www.velvet.id.au/twitter-wordpress-sidebar-widget/">WpTwitter widget</a>.&#160; I’ll noodle on how to get the size working as I go about my day today (chuch, soccer, etc.) and try and figure something out.&#160; I also need to fix the footer links and add attribution to the <a href="http://www.lugnet.com/fibblesnork/lego/backgrounds/">Fibblesnork background images</a>.</p>
<p>Here is what the yellow color scheme looks like:</p>
<p><a href="http://wp.michaelwalsh.org/wp-content/uploads/2009/10/image8.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://wp.michaelwalsh.org/wp-content/uploads/2009/10/image_thumb4.png" width="477" height="484" /></a> </p>
<p><a href="http://www.colorblender.com">ColorBlender</a> seems to have come back on line which makes picking colors much easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.michaelwalsh.org/2009/10/25/more-work-on-lego-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sandbox LEGO Theme beta</title>
		<link>http://wp.michaelwalsh.org/2009/10/22/sandbox-lego-theme-beta/</link>
		<comments>http://wp.michaelwalsh.org/2009/10/22/sandbox-lego-theme-beta/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 12:55:13 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Sandbox]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jQuery UI]]></category>
		<category><![CDATA[LEGO]]></category>

		<guid isPermaLink="false">http://wp.michaelwalsh.org/2009/10/22/sandbox-lego-theme-beta/</guid>
		<description><![CDATA[Off an on I have been working on a new Sandbox based LEGO theme for a while.&#160; I wanted something I could use for my own LEGO blog as well as the NCLUG and NCLTC sites and possibly the ILTCO site as well.&#160; I wanted to make it fairly easy to customize it by selecting [...]]]></description>
			<content:encoded><![CDATA[<p>Off an on I have been working on a new Sandbox based LEGO theme for a while.&#160; I wanted something I could use for my own LEGO blog as well as the <a href="http://www.nclug.us">NCLUG</a> and <a href="http://www.ncltc.us">NCLTC</a> sites and possibly the <a href="http://www.iltco.org">ILTCO</a> site as well.&#160; I wanted to make it fairly easy to customize it by selecting a color scheme and allowing custom header images.</p>
<p>Color schemes were pretty straight forward.&#160; I wanted to base them on the <a href="http://www.lugnet.com/fibblesnork/lego/backgrounds/">Fibblesnork Backgrounds</a> which I like a lot.&#160; The Fibblesnork backgrounds are very small images designed to tile across a web page.&#160; In my case, I wanted to use them to frame the content area.&#160; There are 18 different colors and two sizes for a total of 36 different background color choices.&#160; At some point I plan to support all 18 colors but initially I am only offering three:&#160; Red, Green, and Blue.&#160; Setting up a theme options page to select a color scheme was pretty straight forward, I had done that previously with my Soccer Theme.</p>
<p>WordPress has some built in functionality to do custom header images but it didn’t really do what I wanted.&#160; I wanted to allow a fair amount of control over the look and layout of the header.&#160; I decided to support three header images:&#160; Left, center, and right.&#160; I didn’t want to manage the header images so I decided to leverage the built in media management capability.</p>
<p>The theme options page will present any image that is in the media library as a potential header image.&#160; But how?&#160; I wanted to make it fairly simple to use.&#160; I decided to implement a drag and drop scheme based on the jQuery UI and discussed it in detail in a <a href="http://wp.michaelwalsh.org/2009/09/17/header-image-options-in-lego-theme/">prior post</a>.&#160; It took a little while to work it all out as I had done very little with jQuery previously.</p>
<p>The last thing I wanted to allow was the ability to tweak the header layout with CSS.&#160; For this I added what I referred to as “CSS Overrides” for the blog title, blog tagline, and the three header images.&#160; The combination of color schemes, custom header images, and CSS Overrides allows the Sandbox LEGO theme to take on a fairly distinct look.</p>
<p><a href="http://wp.michaelwalsh.org/wp-content/uploads/2009/10/image4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://wp.michaelwalsh.org/wp-content/uploads/2009/10/image_thumb.png" width="478" height="484" /></a> </p>
<p><a href="http://wp.michaelwalsh.org/wp-content/uploads/2009/10/image5.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://wp.michaelwalsh.org/wp-content/uploads/2009/10/image_thumb1.png" width="478" height="484" /></a> </p>
<p><a href="http://wp.michaelwalsh.org/wp-content/uploads/2009/10/image6.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://wp.michaelwalsh.org/wp-content/uploads/2009/10/image_thumb2.png" width="478" height="484" /></a> </p>
<p><a href="http://wp.michaelwalsh.org/wp-content/uploads/2009/10/image7.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://wp.michaelwalsh.org/wp-content/uploads/2009/10/image_thumb3.png" width="478" height="484" /></a> </p>
<p>The theme is currently in use on three blogs, I expect to make it available for download in the next few days.&#160; There are a couple issues I know of that need some styling help and I want to get two more color schemes finished before I release it.&#160; Color schemes aren’t too bad – I just need to pick the proper values.&#160; I have a script that actually generates the CSS files.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.michaelwalsh.org/2009/10/22/sandbox-lego-theme-beta/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Header Image Options in LEGO Theme</title>
		<link>http://wp.michaelwalsh.org/2009/09/17/header-image-options-in-lego-theme/</link>
		<comments>http://wp.michaelwalsh.org/2009/09/17/header-image-options-in-lego-theme/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 18:32:20 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[draggable]]></category>
		<category><![CDATA[droppable]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jQuery UI]]></category>
		<category><![CDATA[LEGO]]></category>
		<category><![CDATA[Sandbox]]></category>

		<guid isPermaLink="false">http://wp.michaelwalsh.org/2009/09/17/header-image-options-in-lego-theme/</guid>
		<description><![CDATA[I have been working on a re-write of the Sandbox LEGO WordPress theme.&#160; It is taking a lot longer than I thought it would, mostly because I have made the problem more complicated than I initially thought it would be.
One of the main things I wanted to offer in this theme was the ability to [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working on a re-write of the Sandbox LEGO WordPress theme.&#160; It is taking a lot longer than I thought it would, mostly because I have made the problem more complicated than I initially thought it would be.</p>
<p>One of the main things I wanted to offer in this theme was the ability to choose a color scheme from an pre-set offering of about 8-10 choices.&#160; This wasn’t too hard, I had done some similar in the original Sandbox Soccer theme.</p>
<p>As I worked on it I decided it would be nice to allow the user to define what the header should look like including their own image.&#160; WordPress offers the ability to upload and use a custom theme header but this didn’t do quite what I wanted.&#160; I decided to let the user choose a header image from the media library.&#160; But what if the user wants multiple header images?&#160; Hmmm.&#160; This problem could get very complicate very quickly.&#160; I decided to constrain the problem by providing the ability to define up to three (3) header images:&#160; Left, center, and right.&#160; Doing this would support the 3-4 sites I expect to use this theme on (my own <a href="http://www.carolinatrainbuilders.com">CarolinaTrainBuiders.com</a> site, <a href="http://www.nclug.us">NCLUG</a>, <a href="http://www.ncltc.us">NCLTC</a>, and <a href="http://www.iltco.org">ILTCO</a>).</p>
<p>Now that I knew what I wanted, how to implement it.&#160; Simply showing the image options on a Theme Options page could potentially result in an enormous page.&#160; I mentioned <a href="http://jqueryui.com/demos/accordion/">jQuery Accordion</a> in a prior post, dividing the various options into sections using the <a href="http://jqueryui.com/demos/accordion/">Accordion</a> made sense and was pretty straightforward once I upgrade to WordPress 2.8.4.</p>
<p>Once the Accordion was working I decided I wanted an elegant way to select the images.&#160; Since this effort is a hobby and I largely do projects likes this to learn something, I decided I wanted to use a drag and drop mechanism to select the images.&#160; Again, jQuery to the rescue, namely the <a href="http://jqueryui.com/demos/draggable/">jQuery draggable</a> and <a href="http://jqueryui.com/demos/droppable">jQuery droppable</a> plugins.&#160; In particular, the <a href="http://jqueryui.com/demos/droppable/#photo-manager">Simple Photo Manager</a> demo was very close to what I had envisioned.</p>
<p>It has taken me a little while, mostly because I haven’t had a lot of time to work on it but I finally have a pretty slick theme options page working where the header images can be selected from the media library using drag and drop.&#160; I am by no means a jQuery guru but I have learned a fair amount working this problem out.&#160; The code I have isn’t ideal and I’ll continue to refine it but it is working so I can continue to develop the theme.&#160; Once I get it running and released I will go back and clean up the jQuery code.&#160; For now, getting it working and doing what I wanted was the primary task.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.michaelwalsh.org/2009/09/17/header-image-options-in-lego-theme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
