Post Type Archive Link Post Type Archive Link

Post Type Archive Link

Created by: Stephen Harris

Rating:
Downloaded: 197k times

Post Type Archive Link creates a metabox on the Appearance > Menu admin page.
This lists your custom post types and allows you to add links to each archive page in your WordPress menus.

The plug-in uses WordPress’ default menu classes for current pages, current page parent and current page ancestor.

By default all post types with archives (and not registered by core) are available for adding to your menu.
You can forcibly revent a particlar post type from appearing using the show_{$posttype}_archive_in_nav_menus hook.

Screenshots

  • Custom post types admin menu metabox
  • Custom post types added to your menu
  • Custom post type 'Clients' in front-end menu with WordPress menu classes and current item styles

Categories

Get New Themes & Resources