I'm using wp_list_categories to give me a list of links to categories (no surprise there)

Is it possible to get Wordpress to link to the first post of a given category instead of calling the taxonomy template which displays links to all posts in that category?

1 Answer 1


Ended up resolving it by using this in the taxonomy template instead...

    Redirect To First Child
    if (have_posts()) {
      while (have_posts()) {
        $pagekids = get_pages("child_of=".$post->ID."&sort_column=menu_order");
        $firstchild = $pagekids[0];


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.