Skip to content

aaroncampbell/Custom-Post-Type-Archives-in-Nav-Menus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

=== Custom Post Type Archives in Nav Menus ===
Contributors: aaroncampbell
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2SPVMHXGRUPRU
Tags: custom post types, cpt, archive, nav menus
Requires at least: 3.2
Tested up to: 4.3
Stable tag: 0.1.0

This is now in WordPress core as of 4.4. Adds an archive checkbox to the nav menu meta box for Custom Post Types that support archives

== Description ==

This is now in WordPress core as of 4.4. Adds an archive checkbox to the nav menu meta box for Custom Post Types that support archives.

== Installation ==

1. Upload to your plugins folder, usually `wp-content/plugins/`
1. Activate the plugin on the plugin screen.

== Screenshots ==

1. Checking "All Sponsors" or "All Videos" and then the Add to Menu button will add the archives page to your menu.  The actual "All ____" label comes from the all_items label specified when the CPT is created, so yours may be different.

== Changelog ==

= 0.1.0 =
* Self-deactivates for WordPress 4.4+ now that functionality is in WordPress core

= 0.0.1 =
* Original Version