Actually the question is how to add an added menu item through add_menu_page to edit the page /post.php?post=178&action=edit ?
- Judging by the past question , custom types are not correctly created. You just need to create them correctly and everything in the menu will be. And no add_menu_page is needed. - SeVlad
- Necessary) I need to group several custom types that relate to a specific page of the site. It turned out to be scrambled, but now it’s that the name of the main menu item is empty - Shevtsov Eugene
- I don’t know exactly how to “group”, but I don’t see any problems doing this when creating custom types. Moreover, if it is necessary to group, breaking the standard logic of the output (this can of course be done), then this indicates a high probability of incorrect design of the site. - SeVlad
- After reply @KAGGDesign. Hmm .. I probably didn’t understand the task and need ONE specific page in the menu to display? Or is it all the same links to edit all custom types (well, how standard is the page record)? If the first, then the answer colleagues what you need. - SeVlad
- @SeVlad The question is foggy, as usual. But if you need to display n pages, you can stuff them into an array, well, in foreach what I wrote ... - KAGG Design
|