Post Type Archive Pages allows you to select pages from within your content page structure to be the archive pages for your custom post types. It also sets the permalink base for single posts of that post type and term archive for the type's taxonomies.. Once the plugin is installed and activated you'll be able to select the archive page for each of your registered post types under Settings > Reading.. Returns the page object for the archive page of the provided post type slug. If called from post type template, template or term and slug isn't provided, the relative post type will be used e.g. $page = post type archive pages ->get archive page get archive page post type. Returns the post type object that the provided page ID is the archive page for e.g. $postType = post type archive pages ->get archive page post type. Archive pages added to the menu will be marked as the menu item when viewing the post type archive and the item's parent ancestor when viewing post of that type. By default you will be able to set archive page for any public post type other than the in post types of page and post. By default taxonomy term archives will inherit the archive page permalink structure of post type if that post type is the only one that the taxonomy is registered on. With books being the permlaink of the archive page, publisher the taxonomy slug and penguin the term slug.
Read more