Testing, 1-2-3, Testing

Thanks to everyone who has helped me out with testing the new themes so far. I’ve had a few good suggestions come my way and I’ve implemented most of those into the pre-release version of Barthelme, ready for download.

This theme does some neat things. It has one of those PHP-generated gradient images for the banner now. But let me just say it doesn’t do it very well. I just got bogged down in this bit of code and frankly think that this is about the least elegant aspect of this theme.

Any suggestions? Poke around the source and please let me know how I might make this better. Otherwise, the theme is looking pretty good and will just go through minor revisions (I hope) at this stage.

Yesterday I caught Ryan Boren’s post about a new theme function called language_attributes(), which adds xml:lang and dir= (if not “ltr”, pretty much) attributes to the html tag. Nice. But I’m working on my themes right now to work with 2.0.x and 2.1.

Pretty simple, but this is what I did:

<html xmlns="http://www.w3.org/1999/xhtml" <?php if ( !function_exists('language_attributes') || language_attributes() ) : ?>xml:lang="en-us" lang="en-us"<?php endif; ?>>

I invented the conditional PHP call. Right then. Copyright pending.

In conclusion, download Barthelme and please let me know everything I’ve done wrong.

Thank you.

Comments

  1. jonathan hickman wrote:

    I love this theme. And I love how you embrace simplicity.

    One question: why does it have a “permalinks” link for each post when each post title is also a permalink?

  2. Scott wrote:

    That’s a fine question, Jonathan. The best answer to your question about permalinks being explicitly labeled (as well as being the title links) is convention.

    The thought is people want to bookmark your post, so give’em a clean link to do so with; However, I’ve only used them in some of my themes.

    Maybe I should put them in less. ;-)

  3. jonathan hickman wrote:

    Eh, it’s really no big deal. I just keep staring at it, thinking “there’s a permalink, and there’s a permalink.” heh.

    But mostly I just try to edit it out because I want to do away with as much clutter as possible.

    Love your work, btw. I’ve been using Barthelme for about six months, and I’m very satisfied. :-)

  4. edgar wrote:

    Hi Scott, in the 3.0 Version auf plaintxtBlog I miss the possibility, to chose the summaries page.

  5. Scott wrote:

    I was kind of on the fence about that summary page, because the new version of WP sort of subverts the whole point of adding an extra page, since the capability to make a certain page static and another the index is built right in.

    Maybe the answers is to make a blog summary page template. Hmm. Kinda like that idea actually. Onwards!

  6. webgk.com wrote:

    Such a clean, simple theme, including useful features. I liked the concept. Good work, rare to see.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*

*