Skip to content

Replaced CPT's should remain in admin-submenu #369

@flexjoly

Description

@flexjoly

Hi,

I have several Pods custom posttypes arranged as submenu's in the admin-panel.
But when I use your plugin with it and let it generate a new menu-item, it create a main-menu-item in the admin.
I tried to put it as a sub in the menu-order feature, but that does not work.

If the menu-item is not replaced, but only added, then it is added correctly inside the same submenu. But only for the main CPT.... not for the other CPT's in the same submenu.

'Boom weergave' is the added menu-item voor 'vervoegingen'. Which also has 'woorden' and 'nl vertalingen' as submenu-items (without a tree-menu-item) although they are both page-cpt and managed by the plugin.
'hoofdstukken' is not a page-cpt, but 'boeken' and 'paragrafen' are, but no 'boom weergave' menu-item for them.

Image


Editing menu settings:

Image


The result:
The original menu-item still exists. The new menu-item is not inside the submenu anymore.
And the link for the not-removed original item is corrupted:
https://xxxxx.nl/wp-admin/edit.php?post_type=conjugation&page=edit.php?post_type=translation_nl

Image

Can you place put any new menu-item in the same place as the original one? Or make it possible to nest admin-menuitems in the third tab of this nice plugin.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions