Changes to Post Avatar include:
- Compatibility with WordPress 2.5
- Option to include avatars in feeds
- Basic navigation effects for images
- Fixed javascript so avatar display works in IE 6+
Download now or visit the plugin page
Changes to Post Avatar include:
Download now or visit the plugin page
I’ve been playing around with the beta version of WordPress 2.5 mainly to see if my plugins are going to break in this version. I’ve only tested Post Avatar but no problems so far. The main change will involve changing the display HTML since WP 2.5 is a complete overhaul of the admin panel.
Aside from the initial reserve about the color scheme - it seemed a little washed out, I’m enjoying what I’m seeing. I like how the menu is set out with usual tasks of writing and managing posts and comments on one side and options for settings and plugins on the other.
The HTML has been simplified going from WordPress 2.3.3:
<div class="dbx-box-wrapper">
<div class="dbx-handle-wrapper">
<h3 class="dbx-handle"><?php _e('Post Avatar'); ?></h3>
</div>
<div class="dbx-content-wrapper">
<div class="dbx-content">
<!-- Content Here -->
</div>
</div>
</div>
to :
<div id="gkl_postavatar" class="postbox closed">
<h3><?php _e('Post Avatar'); ?></h3>
<div class="inside">
<!-- Content Here -->
</div>
</div>
Another thing that I like is the media uploader. I’ve only used the existing file uploader in WordPress sparingly - but the new uploader makes it easier to add files. There’s some kind of gallery tag which I need to check out. Hopefully this lets you display a group of uploaded images in your post.

The one thing that I’m not happy about is the Advanced Options portion of the Write Post screen. It seems silly to have all this space for a single input box or a few checkboxes.
You have to click on the Comments and Pings header to view the two checkboxes and make the changes. It would be better if they were below the Save/Publish box.
You know how people say that when you’re in an accident, your life flashes before your eyes? I got a taste of that on December 6th. John, Paulo and I were on our way back to Bacolod from Cadiz when we were involved in a car accident. Some idiot decided it was a good idea to cross the main highway wihout looking to see if there was any traffic.
John (who was driving) swerved to miss the idiot and crashed into a parked truck. As it was happening, my life didn’t really flash before me. Instead it seemed like everything went into slow motion without any sound. I didn’t feel the impact and the next thing I knew was Paulo asking if I was feeling alright. I wasn’t feeling anything but when I sat back my right arm started hurting, exactly how I imagined the phrase “I feel like I’ve been hit by a truck” to be. John and Paulo had sore muscles and sme bruises but I apparently had the most pain. Paulo took me to the hospital (which thankfully was about 300 meters from the accident site).
The first thing that happened to me when I got in the ER? I was placed on a weighing scale. Yes, indeed. My arm is hurting like a bitch, I’m about to faint and attendants want to take my weight. I’m placed on a gurney and the whole ER routine starts - what happened, who am I, do I have insurance, where’s the pain, etc. The doctor sends me for an x-ray - getting off the gurney was incredibly painful so after the x-rays are done I elected to stand rather than lie back down.
While waiting for the boss to arrive to pick us up, the doctor decided to put my arm in a sling as the x-rays showed a fracture in my right arm and a dislocated shoulder. I hit the back of Paulo’s seat during the crash. Since there weren’t any slings, he fashioned one out of a sack cloth. Within a few hours, the boss arrived to bring us back to Bacolod. The drive home was exruiating - I felt every single bump and pothole in the road and just when the pain was so numbing I wasn’t really noticing it, we were reaching Bacolod.
At the hospital in Bacolod, the doctor reset my shoulder. In fact he did it three times when the second x-rays showed my shoulder was still dislocated. John and I had to stay overnight in hospital for observation.
Thankfully our injuries weren’t serious. Having seen photos of the car, it could have been a lot worse.
A couple of minor bugfixes and a few new features, namely:
Download now or visit the plugin page
UPDATE (Oct. 9, 2007): Discovered a bug (Thanks Paul!) - automatic avatar display causes the image to appear twice when using the_excerpt. Download the updated zip file or if you’re feeling adventurous:
Open up gkl-postavatar.php and look for this code at the end of
// Display avatar without template tag
if ($gkl_ShowInContent == 1){
add_filter('the_content', 'gkl_postavatar_filter');
add_filter('the_excerpt', 'gkl_postavatar_filter');
add_filter('wp_head', 'gkl_postavatar_showcss');
}
Just comment out or remove “add_filter(’the_excerpt’, ‘gkl_postavatar_filter’);”.
It should look something like this:
// Display avatar without template tag
if ($gkl_ShowInContent == 1){
add_filter('the_content', 'gkl_postavatar_filter');
add_filter('wp_head', 'gkl_postavatar_showcss');
}