Oooh. I’m so proud of myself. You see those picture texts in the menu? Well, not all of them were easy to get showing. For the link list (all things me, other sections) and calendar I had to “hack” a bit. I’ll show you:
in links.php (found in wp-includes folder) around line 563 you get

echo ' <li id="'.sanitize_title($cat['cat_name']).'">' . stripslashes($cat['cat_name']) . "\n\t<ul>\n";

which echoes (i.e. outputs) the link title in a neat unordered list. I wanted to assign an image to each link category title so I modified it to say:

echo ' <li id="'.sanitize_title($cat['cat_name']).'"><img src="'.stripslashes($cat['cat_name']).'.gif">'."\n\t<ul>\n";

instead. I changed the category names to one-word names so they won’t cause any problems as image names. Also, the image source path has to be absolute (http://…) which I don’t understand why, because you never leave the index page you just choose different content. Oh well.

The same thing — slightly simpler — has to be done to the calendar. In template-functions-general.php, line 366 (about) you find <caption> tags (following an echo) which is the caption, or title, of the table… obviously:
[edit Sep 15, 2004] I made it XHTML compliant by adding the end tag to the img tags [/edit]

<caption>' . $month[zeroise($thismonth, 2)] . ' ' . date('Y', $unixmonth) . '</caption>

I changed to

<caption><img src="'.$month[zeroise($thismonth, 2)].'.gif" /><img src="'.date('Y', $unixmonth).'.gif" /></caption>

Naturally, I have to remember to make an image for each month (I already made one for August cause it’s so soon) and year as needed.

:cool:

Now, I can go to bed.