WordPress.org

Ready to get started?Download WordPress

Forums

Get all posts from all categories (3 posts)

  1. leemon
    Member
    Posted 1 year ago #

    Hi!

    In order to get ALL posts in ONE specific category in WP one must visit the following URL:

    http://www.domain.com/category/category_name

    My question is, is there way to get ALL posts in ALL categories? Something like:

    http://www.domain.com/category/all

    Thanks in advance

  2. patv
    Member
    Posted 1 year ago #

    Not that I've seen yet. In the past I've created a page (where you modify the slug to better represent that you want to display all posts). within the template file you retrieve all posts.

  3. leemon
    Member
    Posted 1 year ago #

    Thanks for the suggestion, patv!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags