CPT Archives in Navigation Menu

  1. Unsal Korkmaz


    I simply want to add my public custom post type archive to navigation menu. If i am not missing something, only way to do that is custom links?

    My suggestion:
    Lets say i registered a "product" named custom post type with "has_archive"= true.
    * System can register an undeletable page with "product" slug and label from custom post type as title. So we/clients can use this page as menu item.
    * Basically those archive pages was already acting like normal pages and there is problems happening if we/clients add a page with "product" slug as same slug with custom post type. With this solution, there will be no duplicate problems.

    Posted: 3 years ago #
  2. Diana K. Cury
    Expert e diva


    I would create a file archive-product.php also?!

    Posted: 3 years ago #
  3. Unsal Korkmaz


    and.. what will you do if client creates a page with "product" slug?

    Posted: 3 years ago #

RSS feed for this topic


You must log in to post.

  • Rating

    4 Votes
  • Status

    This idea is under consideration