Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter netromd

    (@netromd)

    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.

    Thread Starter netromd

    (@netromd)

    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?

Viewing 2 replies - 1 through 2 (of 2 total)