Custom Post Type Archives Not Showing Up In WordPress Menus

Need to add Custom Post Type Archives to a WordPress menu but they're not showing up? I tore my hair out for a good while before finding the answer. For some reason, most of my custom post types were showing up just fine, but some weren't. The answer is surprisingly simple and shouldn't have taken me as long to figure out as it did.

Make Sure The Archive Is Turned On

You can't add a CPT Archive to a menu if that archive doesn't exist. Make sure in your functions.php file that you include the following code when creating the post type:

    array('has_archive' => true, 
        [other args]

Check Under The "View All" Tab

Once you made sure that the archive is on, check under the View All tab for the custom post type. It should just be the plural name of your custom post type, but it could be different depending on the settings in your register_post_type() function.

Make Sure To Check The View All Tab

Check The Screen Options

If your custom post type isn't showing up at all on the Menu page, check the Screen Options. For some reason, new CPTs can possibly be unchecked and thus, not show up at all on the Menu page. Make sure everything is checked in the box and you should be all set!

Check The Screen Options And Make Sure Your Custom Post Type Is Checked

Conclusion. Working Custom Post Type Archives

And That's It! You should be able to add the Custom Post Type Archives to the menus in WordPress now. Let me know in the comments down below if you have any questions! Be sure to check out the rest of our WordPress Tutorials.


Let's Chat

  1. Joe Fletcher says:

    I was pulling my hair out, too – found your post, and was about to dismiss your “Check The Screen Options” step, as duh, I’ve already… wait a minute, oh, there they are. Thanks for helping me keep some of my hair today.

    1. Jack Harner says:

      Hey Joe,

      Glad I could help you figure it out, and save a few hairs in the process!

  2. Erik Kowalski says:

    Your a hero thanks so much for this, was driving me nuts

  3. Hannah says:

    Thank you so much for suggesting to check “Screen Options”… otherwise I would have spent who-knows-how-long in VSCode staring at my CPT definition.

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up With Harner Designs!

Get updates about New Projects, Products, Discounts, and Giveaways from Harner Designs!

By submitting your email, you agree to our Privacy Policy and give us consent to send you marketing and promotional emails. You can unsubscribe at any time.