Custom Post type page content (archive page)


I have website with multiple Custom post types and I need to create an Archive page for each post type that also has extra content (short description and the like). The way I would about this would be to create a normal Page, edit the template for that page to include the loop of posts and add the extra content/custom fields to that page. But that brings me to two issues:

  • What happens if I name the page the same name the Custom post type has? for example: “Services”. Will my url http://mypage.local/services point to the page or to the custom post “Services” archive?

  • Even if I name it something different I will have 2 different urls that have the list of the posts, one is the archive and the other is the page, that doesn’t look great to me, right?

What would be the best way to approach this?

, , Elaine Marley 4 years 2020-02-21T08:39:06-05:00 0 Answers 60 views 0

Leave an answer