admin管理员组文章数量:1303655
I'm wondering if there is a trick to make a custom post category behave like a custom post so I can have multiples menu entries for each categories ?
Here we have two menu entries for two post types, I want to have multiple menu entries for one post type and multiple categories
Is it a good pratice ? Maybe I should make a class of that custom post and just make new instances ?
What's the best pratice ?
I'm wondering if there is a trick to make a custom post category behave like a custom post so I can have multiples menu entries for each categories ?
Here we have two menu entries for two post types, I want to have multiple menu entries for one post type and multiple categories
Is it a good pratice ? Maybe I should make a class of that custom post and just make new instances ?
What's the best pratice ?
Share Improve this question edited Feb 18, 2021 at 13:12 DrK asked Feb 18, 2021 at 11:51 DrKDrK 234 bronze badges 2- 1 What do you mean “multiple menu entries”? – Jacob Peattie Commented Feb 18, 2021 at 12:16
- I don't understand either, can you edit your question to explain using different words and in greater detail? – Tom J Nowell ♦ Commented Feb 18, 2021 at 12:56
1 Answer
Reset to default 0OK I finaly decided to create a PHP Class for that specific post type and call as many instances as needed.
I'm pretty sure that's the best approach, still listenning to all incoming advices
本文标签: Post category behave like a Post in back office menu
版权声明:本文标题:Post category behave like a Post in back office menu 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741740759a2395270.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论