• I have a little design- or wp-tag problem:
    my link list schould looks like this:
    :: link 1
    :: link 2

    and there is no problem with the <?php get_links> but with the archive and the category lists.
    for the categories i use this tag:
    <?php list_cats(1, ‘text’, ‘name’, ‘asc’, ‘file’, false, false, true, true); ?>
    but there is no ‘before’ option. where i can put the ‘:: ‘ in?
    for the archive i use this tag:
    <?php get_archives(‘monthly’, ‘3’, ‘other’, ‘:: ‘, ‘
    ‘, true); ?>
    but either i get a html-list (with ‘html’ in the ‘format’ option) or the archives links are all in one line like this:
    :: June 2002 (1) :: May 2002 (30) :: April 2002 (24)
    hopfully you can help me again.
    thanx – holger

Viewing 6 replies - 1 through 6 (of 6 total)
  • any links to see your problem?
    Marzar

    mhh ok your second problem:
    the intresting part of code for you:
    if ($show_post_count) {
    $text = sprintf("%s %d", $month[zeroise($arcresult->month,2)], $arcresult->year);
    $after = " ($arcresult->posts)";
    } else {
    $text = sprintf("%s %d", $month[zeroise($arcresult->month,2)], $arcresult->year);
    }
    echo get_archives_link($url, $text, $format, $before, $after);

    I thing the line “$after = " ($arcresult->posts)";“could possible for your problem.
    change it in:
    $after = " ($arcresult->posts)" . $after;
    work this ? iam not sure.

    Thread Starter holli

    (@holli)

    @ marzaroo
    Here is a link to the what my problem is esp the list at “Themen” and “archive”.
    @ noki
    thanks a lot. i haven’t thought that i have too work so deep in the script. but i will try it in a few days and hopfully the blog will work proper after that all.

    Thread Starter holli

    (@holli)

    @ noki
    have seen that you are german too. so may i contact you in german if i have any problems with the hack?

    yes you could do this !

    Thread Starter holli

    (@holli)

    @noki
    sorry, but nothing of this work.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘how-to: link list’ is closed to new replies.