Feature
Post

Category
Column


Hey Sandboxers, How About an Update! (OR How to Update the Sandbox Theme to Work With WordPress 2.7)

moar_sandbox

Note: This post is intended to be a little tongue-in-cheek although the author himself does not claim to be funny at all. Please read with your humor-glasses on.

Bump, bump. Hey Sandboxers, yeah you, Scott and Andy. WordPress 2.7 has been out for a while now and we still don’t have an update to Sandbox. I mean we’ve got sticky posts now, and threaded comments, and a new logout tag. I think it’s about time we had a talk.

I went and told all these nice folks to use Sandbox and we don’t even get a little logout love? It is the best theme out there, with all of its wonderfully plain goodness and classes-to-the-max and whatnot. I’d say it’s about time for version 1.7.

Oh, and while you’re at it how about updating the Drupal version too and hitting up the Movable Type guys about getting theirs in line with the changes. And why not add one single place to get Sandbox for ANY CMS out there. It could be a veritable template Mecca, but I digress.

It’s not like you have anything better to do anyway, right? Ok, I’ll make the first move, here’s how I did it in WordPress…

In basically every template file (404, archive, archives, attachment, author, category, image, index, links, page, single, and tag), replace

class="<?php sandbox_post_class() ?>"

with

<?php post_class(); ?>

Ok so you lose all those date classes but the hentry is still there and now we’ve got stickies! Yay!

The other order of business, is of course the logout link on the comment form. She don’t work. Is broke. We need to replace this:

get_bloginfo('wpurl') . '/wp-login.php?redirect_to=' . get_permalink()

with this:

wp_logout_url(get_permalink())

…presses Easy Button.

Ok, the last thing: threaded comments. That’s pretty cool stuff, but optional IMO. So imma leave that one to you guys. Okay okay it’s just because I’m too lazy to recode comments.php. But seriously the whole comments loop got some great changes that make all this stuff a heckofalot easier.

So if you could please do that, k thx bye. ;)

On a more serious note, has anyone here tried out the new commenting loop? How are you implementing threaded comments in WordPress?


  1. By Valentino posted on February 24, 2009 at 8:24 am
    Want an avatar? Get a gravatar! • You can link to this comment

    I desperately agree: we need more Sandbox! : )
    Anyqay, thank’s for the tips

  2. By Brian posted on February 24, 2009 at 5:44 pm
    Want an avatar? Get a gravatar! • You can link to this comment

    Looks like Andy is selling the plaintxt.org domain and will not work on any future updates to the Sanbox theme …
    via http://www.plaintxt.org/blog/ “… In the past year, my involvement with the WordPress community has almost completely dropped off due to time constraints and, frankly, interests in other activities. So with some reservation, I would like to announce the sale of my two WordPress-related domains, plaintxt.org and sndbx.org.”

  3. By Ian Stewart posted on February 25, 2009 at 9:15 pm
    Want an avatar? Get a gravatar! • You can link to this comment

    You could always try Thematic. It’s a fork of The Sandbox and the experience of building a Child Theme for it is almost identical—except it’s already SEO’d, has all the WP 2.7 goodies you’d expect, and a whole lot more that you weren’t expecting.

  4. Trackback