Extends the WP Nav Menu with your Custom Post Type archive pages.
Provides the functionality it claims to provide, in a fairly lean implementation.
Only problem I noticed was the spinner GIF, as others have noted.
If you would like to see this functionality baked into core, I suggest you lend your voice in this trac ticket:
I get the following errors.
Notice: Undefined property: stdClass::$menu_item_parent in /Users/nbanks/Sites/wordpress/wp-includes/class-wp-walker.php on line 212
Notice: Undefined property: stdClass::$menu_item_parent in /Users/nbanks/Sites/wordpress/wp-admin/includes/nav-menu.php on line 323
Notice: Undefined property: stdClass::$url in /Users/nbanks/Sites/wordpress/wp-admin/includes/nav-menu.php on line 326
Notice: Undefined property: stdClass::$target in /Users/nbanks/Sites/wordpress/wp-admin/includes/nav-menu.php on line 327
Notice: Undefined variable: nav_menu_selected_id in /Users/nbanks/Sites/wordpress/wp-content/plugins/add-custom-post-types-archive-to-nav-menus/cpt-in-navmenu.php on line 72
Notice: Undefined property: stdClass::$attr_title in /Users/nbanks/Sites/wordpress/wp-admin/includes/nav-menu.php on line 328
Notice: Undefined property: stdClass::$xfn in /Users/nbanks/Sites/wordpress/wp-admin/includes/nav-menu.php on line 330
Notice: Undefined property: stdClass::$db_id in /Users/nbanks/Sites/wordpress/wp-includes/class-wp-walker.php on line 137
its working with 3.4.2 at least!!
quite nice, thank you very much :-D I'm still a beginner so it'll serve me as well to analyze how to do it, since i see the code is quite small :)
There's a minor bug though - the "loading" circle is always displayed next to the "Add to menu" button.
I'm using WordPress 3.5 and this plugin not work for me. I found solution in another plugin, here: https://github.com/stephenh1988/WordPress-Post-Type-Archive-Links
Perfect function!! Thx:)
Thanks for this plugin! 5 stars.
Works beautifully in WP 3.5, however in the menu backend the "waiting" gif is constantly visible.
You must log in to submit a review. You can also log in or register using the form near the top of this page.