Make a page with the categories listed (2 posts)

  1. Dillon93
    Posted 2 years ago #

    Hi all,

    I want to be able to make a page on my blog where I can have all the categories listed in the body of the page. And under each category title; a blog post from that category to be featured.

    Is this possible? It could be simple, I'm new to WordPress.

    If that's not possible what are my options?

    Kind regards,


  2. Brad Dalton
    Posted 2 years ago #

    You can use wp_list_categories or a new WP_Query with custom loop

    To output the list, you can use the code directly in a template file or hook it in using get_template_part.

    I think you'd be better using the_excerpt rather than full post.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.