Solved. Apparently, the description field needs to contain something – and slide 1 had a space in the description field, which is why it worked for that particular slide.
Okay, thanks for the advice. Point taken about the core. So i’ve been looking into sidebar.php, as the page links are generated there. But the way wp_list_pages() works, it’s not easy to add code to each page link.
I’ve found some code and fitted it to my need:
$u_time = get_the_time('U');
$u_modified_time = get_the_modified_time('U');
if ($u_modified_time <= $u_time - 864000) {
$display_legend = "<img src=\"new.gif\">";
}
Simple indeed – but I can’t figure out where to put it?
Any ideas?