Hi Peter,
Interesting. So you want to add a cpt to the parent menu, but not make it a sub-menu item?
In the last version a number of bugs were cleaned up, so I guess your use of it got swept up in there too. I hadn’t really thought of using it to populate menus themselves.
I’ll let you know if I figure anything out.
Ken
ps: sorry for the late reply. For some reason I don’t seem to get these WP notices.
Hi Peter,
Try the latest version 1.1.7 – you’ll find the capability is there. I tested it adding cpts to the main menu, and then even adding other subsequent cpts to the one I had just added.
Ken
Thread Starter
ptrv
(@ptrv)
Hi Ken,
Thanks for your reply but I will try to explain my problem a little better:
I create a CPT “Test” and a menu “Test”, which has Page1 and Page2 (the menu has to have at least one page or I can not select it in the CPT Auto Menu as described in earlier topic). When I create a new page in the CPT I want it to become Page3.
In the newer versions (> 1.1.3) when I select menu “Test”, it auto-selects Page1 as a Parent Menu Item. I can not leave it blank (“Select Menu Item”) like I did before. Therefore a new page becomes a subpage of Page1, and not a Page3.
I downgraded to 1.1.3 to still be able to do this but that version has the “&-problem”.
I hope you now have a clearer idea of what my problem is.
Thanks, Peter
Hi Peter,
I believe I understand, and there is a work around (and perhaps I will implement this as a feature down the road).
When you first select a menu, an ajax call will pull in the items that are in that menu, and you cannot see the ‘Select Menu Item’ heading anymore. However, after you have saved an item, it will reappear, and you can then choose ‘Select Menu Item’ and save again. Now the next cpt you add will not be a sub-menu item.
Try it and let me know how that works out. (ps: I am testing this on the latest version 1.1.7).
Ken
Thread Starter
ptrv
(@ptrv)
Yes, it works. Should have tried that myself.. Thanks a lot Ken!