WordPress.org

Ready to get started?Download WordPress

Ideas

Custom Post Type Archives in Nav Menus

  1. vidhill
    Member

    12345

    There should be a way to create a Nav menu item..

    ..that links to a Custom Post Type Archive page

    i.e. what you get when you run:

    get_post_type_archive_link('post_slug');

    - - - - - - - - - - - - - - -

    There is a plugin that does this, however it creates a static link (will break moving from development environment to live site..
    http://wordpress.org/extend/plugins/cpt-archives-in-nav-menus/

    Also, this guy is working on the issue, if his code is good it really should be added to core:

    http://codeseekah.com/2012/03/01/custom-post-type-archives-in-wordpress-menus-2/

    Posted: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    7 Votes
  • Status

    This idea is under consideration