Now that Gravatar support is part of the WordPress core adding them into your WordPress theme is easy. Adding them to your comments has been documented. How about adding them to your post titles to highlight the comment author? Within the loop? That’s fairly easy too. Here’s the code:
<?php echo get_avatar( get_the_author_email(), '80' ); ?>
Pretty simple, huh?
get_the_author_email outputs the post author’s email and the “80” is the size of the avatar image in pixels (you can change that). How this will look depends on how you use it; where you put it in the theme (it has to be in the loop!) and how you style it.
Continue reading “How To Add Gravatars For The Post Author in WordPress”
It’s time for the WordPress sidebar to go, and all mention of it to be wiped out from existence. I’m not talking about the visual idea of a sidebar on your blog. No. I’m talking about the WordPress function
get_sidebar() and the use of the term, Sidebar in the WordPress admin. This way of thinking is obscuring the vision of WordPress designers and limiting the potential of your blog theme.
Here’s why: A sidebar doesn’t have to be a sidebar. Continue reading “We Need To Kill The Sidebar”
Continuing work on my next theme, Thematic, one thing I want to get out of the way immediately is the structure, or skeleton, of the thing. The outer structure of any HTML+CSS document is where things usually go bonkers and the last thing I want is for my markup to make things worse when I update versions. So, that said, here’s the basic divisions of markup, which I’ll follow with some of my thinking. I’m hoping we can start a conversation over this—and I’m totally up for a raging debate over my non-transcendent approach to this—so give this post a quick scan and see if you can add your two cents. The more the merrier. Continue reading “A WordPress Theme Structure with Meaning and Possibility”
I will soon be releasing the hacked-up version of The Sandbox that I’ve been using as a starting point to develop free and custom themes. For free. On Google Code. As an open source project. Since I have different goals than the Sandbox creators (and not as much skill!) I won’t call my changes improvements but they are changes you may appreciate:
- Search Engine Optimization
- A grid-based starting point
- CSS Reset and Typography based on Blueprint
- Markup allowing even more CSS madness than The Sandbox
- Theme Options
- More Page Templates
- More widgetized areas
- More Microformats
- Popular Plugin Integration
Continue reading “Coming Soon: My Personal WordPress Theme Starting Point”
It’s prediction time: The Premium WordPress Theme phenomenon has approximately one year left before collapsing entirely, leaving a rather large hole between completely free WordPress themes and custom themes $1500 and up. If you’ve got a “Premium” WordPress theme waiting in the wings I advise releasing it sooner rather than later. As in, now.
Before I explain myself let’s get one term straight: Premium. I’d rather use the compound “pay-for-use” because more often than not “Premium”, when it comes to WordPress themes, simply means “it costs money” and not “of superior quality”. This isn’t true for everyone of course. But it is certainly true of some (and will increasingly become true of more as the market becomes saturated).
Oh, and Options has one more feature. It signals the end of the Premium WordPress theme market.
Continue reading “The Future of Premium WordPress themes”