Adding Archive Pages to the WordPress Menu Builder
When you create new content types with add_post_type you can specify if you want your individual post items to be accessible via the WordPress menu builder, giving you quick access to link to your single post. It’s a pretty useful feature, and all you need to do to take advantage of it is to specify that the add_to_menu property is set to true. What’s not so easy is if you wanted to link directly to your post types archive page.
Creating a simple interface for your archives.
By default, WordPress doesn’t provide an easy way to to link to your Post Type archives. This makes sense, as internally WordPress handles the post content type as your blog (controlled by your site’s reading settings) and the page content type doesn’t require an archive page. However, if we have custom post types it would be great to have them as menu items so it’s easy to link to them (without having to rely on using the custom menu elements).
Creating a Simple Plugin
The first step is creating a basic plugin to hold our code. There’s heaps of great plugin tutorials out there if you’re new to WordPress plugin development, including these previous articles on SitePoint:
Source: https://managewp.org/articles/13742/adding-archive-pages-to-the-wordpress-menu-builder
source https://williechiu40.wordpress.com/2016/11/01/adding-archive-pages-to-the-wordpress-menu-builder/