<?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>Jes.Gs v2.0</title>
	<atom:link href="http://www.jes.gs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jes.gs</link>
	<description>The Portfolio and Blog of Minneapolis Web Designer Jessica C. Green</description>
	<lastBuildDate>Sat, 21 Jan 2012 19:56:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Image Editor: Featured Image field in Quick Editor</title>
		<link>http://www.jes.gs/php/image-editor-featured-image-field-in-quick-editor/</link>
		<comments>http://www.jes.gs/php/image-editor-featured-image-field-in-quick-editor/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 19:56:25 +0000</pubDate>
		<dc:creator>Jess G.</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.jes.gs/?p=750</guid>
		<description><![CDATA[On that note, why not add a Featured Image field to the Quick Editor? I bet there&#8217;s a plugin for that.]]></description>
			<content:encoded><![CDATA[<p>On that note, why not add a Featured Image field to the Quick Editor?</p>
<p>I bet there&#8217;s a plugin for that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jes.gs/php/image-editor-featured-image-field-in-quick-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Feature Request: Extend the Image Editor</title>
		<link>http://www.jes.gs/php/wordpress-feature-request-extend-the-image-editor/</link>
		<comments>http://www.jes.gs/php/wordpress-feature-request-extend-the-image-editor/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 19:37:09 +0000</pubDate>
		<dc:creator>Jess G.</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.jes.gs/?p=745</guid>
		<description><![CDATA[Let's extend the Image Editor!]]></description>
			<content:encoded><![CDATA[<p>One feature I would like to see in either 3.4 or 3.5: additional hooks that allow a developer to extend the Image Editor.</p>
<p>The Image Editor was introduced in WordPress 2.9, and was a pretty awesome feature. It still is, but I have one complaint: it&#8217;s not extendable. At least not in any way that I&#8217;ve been able to find from reviewing the source code. It&#8217;s actually a shame, really. It&#8217;s like the Image Editor was just dropped in and forgotten. A part of that complaint, is that unlike the Scissors plugin (which — from I remember reading at the time — the Image Editor was based on) which allows you to edit <em>any</em> of the available thumbnail sizes, the Image Editor gives you an all-or-nothing option.</p>
<p>Being able to tweak each thumbnail individually is an important feature and it&#8217;s too bad that it was left out. Sure, I could use Scissors but I really don&#8217;t like Scissors&#8217; interface. There is already a <a title="External link: Extend media editor cropping and image size availability" href="http://wordpress.org/extend/ideas/topic/extend-media-editor-cropping-and-image-size-availability" target="_blank">post on WordPress.org&#8217;s Extend/Ideas forum on this very subject</a>, though it was last updated about 4 months ago.</p>
<p>That being said, with development on 3.4 currently starting, it might be worthwhile to see if modifications to the Image Editor can be made to allow it to be extended. The next question would be what parts can be extended, and what can&#8217;t be extended. Hey, all it takes are a few well-placed hooks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jes.gs/php/wordpress-feature-request-extend-the-image-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Those Wacky Spammers</title>
		<link>http://www.jes.gs/general/those-wacky-spammers/</link>
		<comments>http://www.jes.gs/general/those-wacky-spammers/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 15:24:08 +0000</pubDate>
		<dc:creator>Jess G.</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.jes.gs/?p=742</guid>
		<description><![CDATA[Just gotta love those wacky spammers. NOT! Do love Akismet, though]]></description>
			<content:encoded><![CDATA[<p>Just gotta love those wacky spammers.</p>
<p>NOT!</p>
<p>Do love <a href="http://akismet.com/">Akismet</a>, though <img src='http://www.jes.gs/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jes.gs/general/those-wacky-spammers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blackout Tomorrow</title>
		<link>http://www.jes.gs/general/blackout-tomorrow/</link>
		<comments>http://www.jes.gs/general/blackout-tomorrow/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 02:20:49 +0000</pubDate>
		<dc:creator>Jess G.</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Updates]]></category>

		<guid isPermaLink="false">http://www.jes.gs/?p=738</guid>
		<description><![CDATA[To help show my distaste for the internet censorship bills, I&#8217;m going join in the general blackout tomorrow. Granted, my blog/portfolio probably doesn&#8217;t have more than 10 visitors a day ]]></description>
			<content:encoded><![CDATA[<p>To help show my distaste for the internet censorship bills, I&#8217;m going join in the general blackout tomorrow. Granted, my blog/portfolio probably doesn&#8217;t have more than 10 visitors a day but it&#8217;s still the right thing to do.</p>
<p>In other news, I want to make a concerted effort to keep this blog updated. I&#8217;ve sort of neglected it since graduation nearly two years ago. I&#8217;ve got ideas for tutorials that I&#8217;d like to post, and hopefully I&#8217;ll find the time to work on them!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jes.gs/general/blackout-tomorrow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>And this is what happens when your life gets busy&#8230;</title>
		<link>http://www.jes.gs/general/and-this-is-what-happens-when-your-life-gets-busy/</link>
		<comments>http://www.jes.gs/general/and-this-is-what-happens-when-your-life-gets-busy/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 05:04:55 +0000</pubDate>
		<dc:creator>Jess G.</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Updates]]></category>

		<guid isPermaLink="false">http://www.jes.gs/?p=726</guid>
		<description><![CDATA[First post at the beginning of this year announcing that the beta of this site is now &#8220;live&#8221; and then the next thing you know, it&#8217;s complete silence. Of course, ]]></description>
			<content:encoded><![CDATA[<p>First post at the beginning of this year announcing that the beta of this site is now &#8220;live&#8221; and then the next thing you know, it&#8217;s complete silence. Of course, being forced to ignore the site over the last nine months had it&#8217;s own consequences, like the security bulletin involving TimThumb — and <em>that</em> had it&#8217;s own little set of consequences. I forgot that one of my plugins uses TimThumb, and I also forgot that the old Jes.Gs theme used TimThumb as well.</p>
<p>Whoops. My bad. And, that&#8217;s what I get for neglecting my personal projects. Serves me right.</p>
<p>Anyway, the new layout is an experimental layout that actually makes use of the Geolocation API that&#8217;s supported by Firefox 3.5 and up, Google Chrome, Opera 10.6, IE 9 and Safari 5. Anyone using Internet Explorer 8 and old is shit out of luck. Psst: upgrade or use a better browser — if you have a choice. If you don&#8217;t, please kick your IT person in the head and tell him/her that it&#8217;s 2011, not 2001.</p>
<p>So anyway, Geolocation. Yeah, cool stuff, that. Basically, the new site features an Easter Egg that should be easy to locate. What does this Easter Egg do? Well, it uses Geolocation to grab your latitude and longitude — you know that prompt about wanting to know your location? Well, allow it or you won&#8217;t get the goods. Get it? Good. The next thing that happens is that the coordinates are passed via Ajax to a PHP script that uses the coordinates to query <a href="http://www.wunderground.com">Weather Underground</a> and get the current weather for your location. I may switch it to NOAA or just make the query more general because I have a feeling that I might run into caching issues with the script.</p>
<p>..and instead of writing blog posts, I should be going to bed =D</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jes.gs/general/and-this-is-what-happens-when-your-life-gets-busy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jes.Gs Beta Is Now Live!</title>
		<link>http://www.jes.gs/general/jes-gs-beta-is-now-live/</link>
		<comments>http://www.jes.gs/general/jes-gs-beta-is-now-live/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 01:38:23 +0000</pubDate>
		<dc:creator>Jess G.</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Updates]]></category>

		<guid isPermaLink="false">http://www.jes.gs/?p=705</guid>
		<description><![CDATA[Well, obviously it is if you&#8217;re able to read this. This is all a part of my &#8220;grand&#8221; plan to merge my blog @ Dumpster-fairy.com and my portfolio @ Jes.Gs ]]></description>
			<content:encoded><![CDATA[<p>Well, obviously it is if you&#8217;re able to read this. This is all a part of my &#8220;grand&#8221; plan to merge my blog @ Dumpster-fairy.com and my portfolio @ Jes.Gs into one. The blog hasn&#8217;t been updated since last summer, and I need to keep my portfolio updated. I also want to use the blog for things other than just tutorials but I already have a Livejournal account for that — a possibility would be using a plugin like Live+Press or creating my own version of Live+Press to do two-way posts, meaning if I post something to Livejournal, it&#8217;ll also be cross-posted to the blog. Other things I have to do before the site can come out of beta:</p>
<ol>
<li><del>Need a proper favicon.</del> Took care of that.</li>
<li>Keep an eye on the performance of the caching script for my Last.fm and Twitter accounts — Last.fm user-name is <a title="My Last.fm account" href="http://www.last.fm/ardathksheyna" target="_blank">ardathksheyna</a>, if anyone is curious.
<ol>
<li>Eventually, the Last.fm module will be expanded to a plugin. One of my ideas is to have a page that displays 10-20 of my most popular tracks. (Looking at my top tracks, <em>Just Stop</em> by Disturbed is currently the ranking champion.)</li>
<li>Twitter module: no ideas yet, just keeping an eye on how the regex handles multiple links; multiple mentions and I may have to throw something for retweets in there, eventually.</li>
</ol>
</li>
<li>Create sidebars for the Portfolio (Works) section, and change the sidebar for the single posts template.</li>
<li>Up in the air: Resume &amp; Contact forms.</li>
<li>Up in the air: Add Gravatar to posts. (Privately, I wish Livejournal supported Gravatar :\)</li>
<li>Search template needs to be styled.</li>
<li>Portfolio: Child-posts should show up in taxonomy listings.</li>
</ol>
<p>So what happens to Dumpster-fairy.com once the merge is complete? I&#8217;m thinking that for a few months, I&#8217;ll have Dumpster-fairy.com do a 301 to Jes.Gs when I move the site to the main url. After that, I&#8217;m not sure what happens. Dumpster-fairy.com is mine for another two years — I believe that it doesn&#8217;t expire until November of 2012. So, there are three possibilities: sell it, give it away or, allow it to expire.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jes.gs/general/jes-gs-beta-is-now-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP Plugin: Thumbnail Updater</title>
		<link>http://www.jes.gs/recommended/wp-plugin-thumbnail-updater/</link>
		<comments>http://www.jes.gs/recommended/wp-plugin-thumbnail-updater/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 02:48:38 +0000</pubDate>
		<dc:creator>Jess G.</dc:creator>
				<category><![CDATA[Recommended]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://dumpster-fairy.com/?p=604</guid>
		<description><![CDATA[A plugin that updates your thumbnail sizes whenever a size is added with add_image_size()]]></description>
			<content:encoded><![CDATA[<p>WordPress 2.9 came with a number of nice new features, specifically the ability to assign thumbnails to posts, and to specify the size of those thumbnails by using functions like <code>add_image_size()</code> in your theme&#8217;s <code>functions.php</code> file. Unfortunately, <code>add_image_size()</code> isn&#8217;t backwards compatible, meaning that any images that were uploaded before the new sizes were created will not have a corresponding thumbnail. Instead, WordPress will grab the size that most closely matches the post thumbnail size, which is not always ideal.</p>
<p>I created a plugin called Thumbnail Updater to address this problem. Thumbnail Updater adds a button to the Edit Media page for each image that says &#8220;Update Image Sizes.&#8221; Just click the button to update your thumbnails—it can take a while depending on the size of the images and the server speed.</p>
<p><strong><span style="color: #00ff00;">*new*</span></strong> Download: <a href="http://www.jes.gs/wp-content/uploads/2010/08/thumbnail-update1.zip">Thumbnail Updater 1.0</a></p>
<p>Download: <a href="http://www.jes.gs/wp-content/uploads/2010/05/thumbnail-update.zip">Thumbnail Updater 0.1-beta</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jes.gs/recommended/wp-plugin-thumbnail-updater/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Scrapbooking Buttons In Photoshop</title>
		<link>http://www.jes.gs/photoshop/scrapbooking-buttons-in-photoshop/</link>
		<comments>http://www.jes.gs/photoshop/scrapbooking-buttons-in-photoshop/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 05:13:17 +0000</pubDate>
		<dc:creator>Jess G.</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[gel]]></category>
		<category><![CDATA[glassy]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://dumpster-fairy.com/?p=620</guid>
		<description><![CDATA[How to create scrapbooking-style buttons in Photoshop.]]></description>
			<content:encoded><![CDATA[<div id="attachment_625" class="wp-caption alignnone" style="width: 94px"><a href="http://www.jes.gs/wp-content/uploads/2010/06/completed-button.png"><img class="size-full wp-image-625" title="Completed button" src="http://www.jes.gs/wp-content/uploads/2010/06/completed-button.png" alt="Completed button" width="84" height="83" /></a><p class="wp-caption-text">Completed button</p></div>
<h2>1.) The Metal Ring</h2>
<ol>
<li>Start by selecting the Ellipse Tool and draw a circle with a diameter of roughly 65px. Color doesn&#8217;t particularly matter because we&#8217;ll be using Layer Styles to change the appearance.</li>
<li>In <strong>Layer Styles</strong>, we&#8217;ll be using <strong>Drop Shadow, Bevel and Emboss, Satin, Color Overlay</strong> and <strong>Stroke.</strong> Use the following settings for each of the styles:
<div id="attachment_632" class="wp-caption aligncenter" style="width: 343px"><img class="size-full wp-image-632 " title="Drop-Shadow Settings" src="http://www.jes.gs/wp-content/uploads/2010/06/settings-drop-shadow.jpg" alt="Drop Shadow Settings" width="333" height="311" /><p class="wp-caption-text">Drop Shadow Settings</p></div>
<div id="attachment_630" class="wp-caption aligncenter" style="width: 336px"><img class="size-full wp-image-630 " title="Bevel and Emboss Settings" src="http://www.jes.gs/wp-content/uploads/2010/06/settings-bevel-emboss.jpg" alt="Bevel and Emboss Settings" width="326" height="391" /><p class="wp-caption-text">Bevel and Emboss Settings</p></div>
<div id="attachment_631" class="wp-caption aligncenter" style="width: 336px"><img class="size-full wp-image-631 " title="Color Overlay Settings" src="http://www.jes.gs/wp-content/uploads/2010/06/settings-color-overlay.jpg" alt="Color Overlay Settings" width="326" height="99" /><p class="wp-caption-text">Color Overlay Settings</p></div>
<div id="attachment_633" class="wp-caption aligncenter" style="width: 335px"><img class="size-full wp-image-633 " title="Satin Settings" src="http://www.jes.gs/wp-content/uploads/2010/06/settings-satin.jpg" alt="Satin Settings" width="325" height="219" /><p class="wp-caption-text">Satin Settings</p></div>
<p><div id="attachment_634" class="wp-caption aligncenter" style="width: 336px"><img class="size-full wp-image-634 " title="Stroke Settings" src="http://www.jes.gs/wp-content/uploads/2010/06/settings-stroke.jpg" alt="Stroke Settings" width="326" height="277" /><p class="wp-caption-text">Stroke Settings</p></div></li>
<li>Now, you should have something that resembles this:<br />
<img class="alignnone size-full wp-image-628" title="metal-ring-01" src="http://www.jes.gs/wp-content/uploads/2010/06/metal-ring-01.png" alt="" width="99" height="99" /></li>
<li>Make sure that you are on the same layer path, and using the ellipse tool again, create a circle that is 10px smaller than the first one and then center it <em>inside</em> the other circle. While the new path is selected, press the <strong>-</strong> key to subtract from the outer shape area. Now, you should have a ring that looks like this:<br />
<img class="alignnone size-full wp-image-629" title="metal-ring-02" src="http://www.jes.gs/wp-content/uploads/2010/06/metal-ring-02.png" alt="" width="99" height="99" /></li>
</ol>
<h2>2.) The Button</h2>
<ol>
<li>Start a new circle path layer above the one we just created. Make sure that the new path is slightly bigger than the inner circle of the ring without showing on the outside.<br />
<img class="alignnone size-full wp-image-648" title="button-circle" src="http://www.jes.gs/wp-content/uploads/2010/06/button-circle.png" alt="" width="84" height="83" /></li>
<li>Once again, we&#8217;ll use Layer Styles to adjust the appearance:
<div id="attachment_647" class="wp-caption alignnone" style="width: 334px"><img class="size-full wp-image-647" title="Inner Shadow Settings" src="http://www.jes.gs/wp-content/uploads/2010/06/button-inner-shadow.png" alt="Inner Shadow Settings" width="324" height="191" /><p class="wp-caption-text">Inner Shadow Settings</p></div>
<div id="attachment_646" class="wp-caption alignnone" style="width: 334px"><img class="size-full wp-image-646" title="Inner Glow" src="http://www.jes.gs/wp-content/uploads/2010/06/button-inner-glow.png" alt="Inner Glow" width="324" height="252" /><p class="wp-caption-text">Inner Glow</p></div>
<div id="attachment_645" class="wp-caption alignnone" style="width: 333px"><img class="size-full wp-image-645" title="Bevel and Emboss Settings" src="http://www.jes.gs/wp-content/uploads/2010/06/button-bevel-emboss.png" alt="Bevel and Emboss Settings" width="323" height="390" /><p class="wp-caption-text">Bevel and Emboss Settings</p></div>
<p><div id="attachment_644" class="wp-caption alignnone" style="width: 492px"><img class="size-full wp-image-644" title="Bevel and Emboss Contour Settings" src="http://www.jes.gs/wp-content/uploads/2010/06/button-bevel-contour.png" alt="Bevel and Emboss Contour Settings" width="482" height="216" /><p class="wp-caption-text">Bevel and Emboss Contour Settings</p></div></li>
<li>Once you&#8217;re through all of that, your button should now look like this<br />
<img class="alignnone size-full wp-image-650" title="button-02" src="http://www.jes.gs/wp-content/uploads/2010/06/button-02.png" alt="" width="84" height="83" /></li>
</ol>
<h2>3.) The Icon</h2>
<ol>
<li>The icon can be anything you want it to be. If you want, you can do a quick search on Google, Bing or Yahoo for the vector logos of your favorite social networking sites to use. For the example, we&#8217;ll just use the envelop custom shape that comes with Adobe Photoshop CS4.</li>
<li>To add more depth to the shape, place a rectangle of the same size as the envelope custom shape <em>behind</em> the envelope, then apply a Gradient Layer Style to the rectangle and adjust the gradient accordingly.<br />
<img class="alignnone size-full wp-image-652" title="button-03" src="http://www.jes.gs/wp-content/uploads/2010/06/button-03.png" alt="" width="84" height="83" /></li>
</ol>
<h2>4.) Finishing Touches</h2>
<p>Now, we can stop with what we have, or you can continue on and add the reflections. The reflections use a combination of paths and gradient layers.</p>
<div id="attachment_653" class="wp-caption alignnone" style="width: 520px"><img class="size-full wp-image-653" title="Button Closeup" src="http://www.jes.gs/wp-content/uploads/2010/06/button-closeup.png" alt="Button Closeup" width="510" height="501" /><p class="wp-caption-text">Button Closeup</p></div>
<p>Once again, it&#8217;s up to you to decide how the reflections should look. Yes, the buttons can be any color you choose. You can see finished examples <a href="http://ardathksheyna.deviantart.com/#/d2gv3rj">here</a>.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jes.gs/photoshop/scrapbooking-buttons-in-photoshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updates, New Plugins, Tutorials, etc.</title>
		<link>http://www.jes.gs/updates/updates-new-plugins-tutorials-etc/</link>
		<comments>http://www.jes.gs/updates/updates-new-plugins-tutorials-etc/#comments</comments>
		<pubDate>Mon, 17 May 2010 04:21:50 +0000</pubDate>
		<dc:creator>Jess G.</dc:creator>
				<category><![CDATA[Updates]]></category>

		<guid isPermaLink="false">http://dumpster-fairy.com/?p=609</guid>
		<description><![CDATA[What's coming down the pipes! &#8230;]]></description>
			<content:encoded><![CDATA[<p>Yes, it has been a while. I hate neglecting my numerous projects but with graduation just four weeks away, I can&#8217;t help it. Anyway, I just released a new WordPress plugin called Thumbnail Updater that updates your Media Library image sizes whenever a new one is added, but you will have to see <a href="http://dumpster-fairy.com/resources/wp-plugin-thumbnail-updater/">the previous post</a> for more information. The tutorials I have coming up in the next four-to-six weeks are:</p>
<ul>
<li>A Photoshop tutorial on how to create scrapbooking-style buttons for your web-page, similar to <a href="http://ardathksheyna.deviantart.com/art/Social-Networking-Buttons-149257423">the ones I released on DeviantArt five months ago</a>.</li>
<li>A Poser 8/Pro Cel-Shading tutorial that I&#8217;ve been working on since—gasp!—last summer. Will also include a video.</li>
<li>A WordPress cheat-sheet for theme designers and plugin creators.</li>
<li>A PHP Date format cheat-sheet.</li>
</ul>
<p>Since I&#8217;m on the subject of Poser, I was lucky enough to snag a copy of Poser Pro 2010 for $50 when it came out—being a beta program participant and having purchased Poser 8 last summer. Because of school, I haven&#8217;t had the chance to really use it but I did get a chance to play with it during spring break and <strong>1.)</strong> Love the speed, and <strong>2.)</strong> Hate the interface. The new interface was introduced with Poser 8 last summer. While a lot of people on the Rendo and Daz boards apparently love the new interface, I&#8217;m not such a huge fan of it. I actually miss the old interface, Poser Pro (2008) and prior.</p>
<p>As for Dumpster-fairy.com, when WordPress 3.0 comes out, there are going to be some <em>major</em> changes. The custom post-types and custom taxonomies—which has been around since 2.3—are going to encourage me to do a total reorganization of the site. Instead of organizing by categories, I can spread my content according to the post type: posts, for regular blog posts, tutorials, and resources. Actually, I can see the resources post-type as being a kind of extended version of the attachment post-type.</p>
<p>Now, if I can only survive the next four weeks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jes.gs/updates/updates-new-plugins-tutorials-etc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress: Using page_css_class</title>
		<link>http://www.jes.gs/php/wordpress-page-css-class/</link>
		<comments>http://www.jes.gs/php/wordpress-page-css-class/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 04:30:58 +0000</pubDate>
		<dc:creator>Jess G.</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Recommended]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Wordpress Resources]]></category>

		<guid isPermaLink="false">http://dumpster-fairy.com/?p=575</guid>
		<description><![CDATA[How to use WordPress hooks to change the pagenav class from page-item-# to page-item-pagename.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pretty sure that I&#8217;m not the only person who is somewhat annoyed by the way WordPress handles the page-item classes for Page lists. Particularly if you&#8217;re like me and you use WordPress as a CMS. It would be a lot easier to deal with <code>page-item-pagename</code> than <code>page-item-1</code>. For one, <code>page-item-pagename</code> is easier to remember. Well, I bet you didn&#8217;t know that you can change that! Yep, that&#8217;s right. You can, and it&#8217;s all because of a relatively unknown hook that was introduced in WordPress 2.8 called <code>page_css_class</code>, and here is very quick and dirty way of changing the page item classes to match the pagename and <em>not</em> the page ID.</p>
<ol>
<li>Open or create a functions.php file in your theme directory.</li>
<li>Then paste the code below into your functions.php file:</li>
</ol>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'page_css_class'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'custom_page_css_class'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009933; font-style: italic;">/**
 *	custom_page_css_class()
 *	Hooks into page_css_class and modifies the page item class so that
 *	it uses the name of the page instead of the id.
 *
 *	@global int $id.		The ID of the page being viewed. Needed to set current_page_item.
 *	@param array $class.	The page css class being modified, passed as an array from Walker_Page
 *	@param object $page.	The page object passed from Walker_Page
 *	@return array			Returns the new page css class.
 */</span>
<span style="color: #000000; font-weight: bold;">function</span> custom_page_css_class<span style="color: #009900;">&#40;</span><span style="color: #000088;">$class</span><span style="color: #339933;">,</span> <span style="color: #000088;">$page</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$page</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$id</span><span style="color: #009900;">&#41;</span>
		<span style="color: #666666; font-style: italic;">/* checks if the page ID matches the current page and if it does,
		    adds the current_page_item class
		*/</span>
		<span style="color: #000088;">$t</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'page_item'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'page-item-'</span><span style="color: #339933;">.</span><span style="color: #000088;">$page</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_name</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'current_page_item'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">else</span>
		<span style="color: #000088;">$t</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'page_item'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'page-item-'</span><span style="color: #339933;">.</span><span style="color: #000088;">$page</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_name</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$t</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>There you go! Yes, it&#8217;s that easy.</p>
<p>What the example does is it duplicates what&#8217;s happening in the WordPress source code but instead of using $page->ID, it&#8217;s using $page->post_name. It assembles the classes into an array and then returns it to be echo-ed out when the pagenav is generated. Note that $class isn&#8217;t used but it is necessary to have it as one of the parameters because WordPress passes it to the hook by default and we need the $page object in order to make the example work.</p>
<p>Happy coding!</p>
<ul>
<li><a href="http://adambrown.info/p/wp_hooks/hook/page_css_class" rel="external">WordPress hook directory page_css_class</a></li>
<li><a href="http://svn.automattic.com/wordpress/tags/2.9/wp-includes/classes.php" rel="external">WordPress Classes.php Source Reference</a></li>
<li><a href="http://wordpress.org/support/topic/243523" rel="external">WordPress Support: Add Link with Class to Page Menu</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.jes.gs/php/wordpress-page-css-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

