• I’m doing NaNoWriMo and I want to have my archives on the sidebar post by post. I have that part figured out, but, where do I put the
    and in what template, to have one post link on each line instead of them running together? I tried to adjust the width of the sidebar, but it’s still doing it.
    Also, is there a way to reverse the way the posts show up? I would like to put the chapter one excerpt at the top. Is there a way to do this besides changing the date on each post?
    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter southerngal

    (@southerngal)

    No one?

    Thread Starter southerngal

    (@southerngal)

    I have the following in my b2templatefunctions:
    /* link navigation hack by Orien http://icecode.com/ */
    function get_archives_link($url, $text, $format = “html”, $before = “”, $after = “”) {
    if (‘link’ == $format) {
    return “\t”.'<link rel=”archives” title=”‘.$text.'” href=”‘.$url.'” />’.”\n”;
    } else if (‘option’ == $format) {
    return ‘<option value=”‘.$url.'”>’.$text.'</option>’.”\n”;
    } else if (‘html’ == $format) {
    return “\t”.’‘.$text.’‘.”\n”;
    } else { // custom
    return “\t”.$before.’‘.$text.’‘.$after.”\n”;
    }
    }
    It was really hard to follow your post. I appreciate it though. I flipped the archives last night, I meant the actual posts as they appear on the page and I still can’t figure out where to put the
    to have the archives listed one by one. Can I use the dropdown archive hack I wonder….

    I broke it all! I cant read anything! You could email me, would be better than pulling out our hair here… 🙂

    Thread Starter southerngal

    (@southerngal)

    I found it!
    /* link navigation hack by Orien http://icecode.com/ */
    function get_archives_link($url, $text, $format = “html”, $before = “”, $after = “”) {
    if (‘link’ == $format) {
    return “\t”.'<link rel=”archives” title=”‘.$text.'” href=”‘.$url.'” />’.”\n”;
    } else if (‘option’ == $format) {
    return ‘<option value=”‘.$url.'”>’.$text.'</option>’.”\n”;
    } else if (‘html’ == $format) {
    return “\t”.’‘.$text.’
    ‘.”\n”;
    } else { // custom
    return “\t”.$before.’‘.$text.’‘.$after.”\n”;
    }
    }

    heh! Cool…and thanks admin for fixing my post! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Archive Question’ is closed to new replies.