Testing, testing

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

This theme does some neat things. It has a PHP-generated gradient image 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, language_attributes(), which adds xml:lang and dir= attributes to the html element. Nice.

I’m working to get my themes working with both 2.0.x and 2.1. I came up with this simple solution to keep things working between versions:

<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.

6 Comments

  1. Posted February 1, 2007 at 6:30 pm | Permalink

    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. Posted February 1, 2007 at 7:17 pm | Permalink

    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. Posted February 1, 2007 at 9:14 pm | Permalink

    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. Posted February 7, 2007 at 1:09 pm | Permalink

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

  5. Posted February 7, 2007 at 1:45 pm | Permalink

    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. Posted September 21, 2007 at 12:19 pm | Permalink

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

Post a Comment

Your email is never shared. Required fields are marked *

*
*
By submitting a comment, you hereby grant perpetual license to reproduce your words, name, and/or Web site in attribution.