Plugin info

Total downloads: 205,429
Active installs: 10,000
Total reviews: 25
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 2 language(s)
Contributors: 6
Last updated: 11/28/2017 (2954 days ago)
Added to WordPress: 3/31/2012 (13 years old)
Minimum WordPress version: 3.3
Tested up to WordPress version: 4.1.42
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2954 days ago • 25 reviews

26/100

Is Post Type Archive Link abandoned?

Possibly abandoned (last update 2954 days ago).

Compatibility

Requires WordPress: 3.3
Tested up to: 4.1.42
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

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.

Installation

Installation is standard and straight forward.

  1. Upload WordPress-Post-Type-Archive-Links folder (and all it’s contents!) to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. The metabox will appear at the bottom of your Appearance > Menu

Frequently Asked Questions

Installation Instructions

Installation is standard and straight forward.

  1. Upload WordPress-Post-Type-Archive-Links folder (and all it’s contents!) to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. The metabox will appear at the bottom of your Appearance > Menu

I can’t see in the ‘post type’ metabox on the Apperance > Menus screen

View the “screen options” (top right), and ensure that “Post Type Archives” is checked.

Why are some post types missing?

The metabox will only list custom post types registered with non-falsey has_archive, publicly_queryable or show_in_vav_menus.

CPTs having true has_archive' but falsepublicly_queryableand/orshow_in_vav_menuscan be shown usingshow_{$cpt_slug}_archive_in_nav_menus` filter hook.

Review feed

Diego Betto
9/3/2016

Really usefull

It works correctly, thank you
andreu
9/3/2016

A must in most of my websites

I think this option should exist in WordPress core... :)
CCDzine
9/3/2016

Perfectly Simple

Activate and it works.
Kapil Lohakare
9/3/2016

Nice Plugin

I have been looking for adding custom post type link. This plugin saves lot time of me. Thanks.
Andy Mercer
12/23/2016

Perfect!

This hasn't been updated in two years. But it still works perfectly.

Screenshots

  1. Custom post types admin menu metabox

    Custom post types admin menu metabox

  2. Custom post types added to your menu

    Custom post types added to your menu

  3. Custom post type 'Clients' in front-end menu with WordPress menu classes and current item styles

    Custom post type 'Clients' in front-end menu with WordPress menu classes and current item styles

Changelog

1.3.1 – 12th April 2015

  • Fixes incomptability with PHP 5.3 and older.

1.3

  • Make submit button available for translation. Thanks to @antwortzeit.
  • Removed hooks from constructor, allowed plugin disabling: removing all hooks and text domain
  • Introduced “post_type_archive_links” filter hook to get an instance of plugin class
  • Hide CPTs having ‘has_archive’ true, but ‘publicly_queryable’ and/or ‘show_in_vav_menus’ set to false
  • Introduced “show_{$cpt_slug}_archive_in_nav_menus” filter to force CPTs be added on metabox
  • Show “No items.” when there are no CPTs available
  • Tested up to 4.0
  • Added Italian language. Thanks to @giuseppe.mazzapica.
  • Updated readme

1.2

  • Use has_archive rather than public. See #13
  • Fixes bug where “disabled” is printed if no menu has been created.
  • Tested up to 3.7.1
  • Added German language. Thanks to @mcguffin.

1.1

  • Fixed a couple of notices that displayed with debug on
  • Better maintainability (avoid touching JS files)
  • Static init now runs during plugins_loaded hook
  • Code cleanup and safer names

1.0.1

  • Fixed enqueue bug

1.0

  • Added plug-in