Posts Tagged ‘css’

Site changes

Klaus Jones
October 23rd, 2008 at 11:54 am

Just recently made some changes to the site to remove old crap that was gathering and add some functionality – incoming Gravatars, as well as post by mail – so things might break while I work out the bugs.

Anyone skilled with css/html to help align the Gravatars in their own proper <div> would be greatly appreciated – currently they’re using the existing Author <div> and its pretty ugly.

EDIT: Fixed, yay for idleness at work allowing me to surf endlessly.

This is how it was done

<p><div class=”gravatar”><?php echo get_avatar( get_the_author_email(), ‘60′ ); ?></div><h2><a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></a></h2>
<small><?php the_author() ?><br />
<?php the_time(’F jS, Y’) ?> at <?php the_time() ?></small>
</p>

removing the

<a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”>

bit for the single post page, cause linking to itself is kinda redundant