Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Look in templates/emails/layout.html

    At the bottom you can find ‘{footer}’

    Not the ideal solution, but you can replace this with the footer-text of your choice.

    Thread Starter Tikkalaki

    (@tikkalaki)

    Hello everyone,

    I am trying to edit the wp_list_categories function so that the category-links will link to the first post of each individual category instead of to the categorys archive. I am having trouble figuring out how to do this.

    Looking at the code of wp_list_categories I first thought that I could just edit the links in the following code, but this doesnt seem to work:
    $output .= '<li><a href="' . get_bloginfo( 'url' ) . '">' . $show_option_all . '</a></li>'; else $output .= '<a href="' . get_bloginfo( 'url' ) . '">' . $show_option_all . '</a>';

    I figured out that the code that is used is $output .= walk_category_tree( $categories, $depth, $r );

    How can I make the category links link to the first post of each category?

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