current tune: opeth - ghost of perdition
the new opeth album has come out, and i have gotten my hands on a copy. it's definately worth it.
i've been playing around with wordpress a bit, finally. the graphic changes to the template were pretty dumb and easy, although it did require me to spend a bit of time with westciv's CSS guide, since i haven't really done any web design since i finished school. now that i've learned a bit, i think i'll try to do the rest of my website in div's and such, rather than the stupid tables and iframes i'm currently using.
the thing that really made me happy, though, was fixing the links section on the right hand side. connections defaults to lump all the links into one box, and leave them unordered. lame. so i dug around and found this documentation, which helped, but it stuck everything into nested lists. helpful for other themes, but not this one. so this was my modification:
< ?php $link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories"); foreach ($link_cats as $link_cat) {
?>
<h2 id="linkcat-< ?php echo $link_cat->cat_id; ?>">< ?php echo $link_cat->cat_name; ?>
<ul>
< ?php wp_get_links($link_cat->cat_id); ?>
</ul>
< ?php } ?>
which puts the link categories as headings and their associated links as unordered lists. that made me happy. i also copied and pasted some javascript to get the pull-down archives, but that didn't requre any modification. so i'm happy with the way it looks for the moment. except i'd like to have XML standards buttons next to my blogroll thinger, like how iffy's blog does. apparently it can be done, but there is no theme that currently does it. so it'll take a lot more digging around in the wordpress codex.









2 Comments
Nice. Now that the colors match and stuff your blog looks much better than before.
thanks!
i like your sunset graphic as well.
sorry i’ve been lax on working on your graphic (especially since i’ve been doing my own stuff instead).
Post a Comment