• I have been working on creating new content types and can navigate to individual posts without any trouble. But, what if I want a URL to show all posts under that post type?

    For example, my post type is ‘restaurants’. How can I get http://www.mysite.com/restaurants to show a paginated list of all posts for that type?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I created one using a type-custompost template in my theme. In the template I used a normal “the_loop” and only output the titles with permalinks. So the page just displays links to individual custompost pages.

    Thread Starter eligerson

    (@eligerson)

    But what would the URL to that listing be? For instance, I want a menu item that links to a paginate listing of all posts within the custom post type.

    Thread Starter eligerson

    (@eligerson)

    Seems like I am missing something simple. But all the searches I have dont for an archive of custom post types have come up empty.

    The only thing I can figure is to create a new page which pulls a template that lists all the posts.

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

The topic ‘Custom Post Type Archives Page’ is closed to new replies.