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
Add a comment  | 

1 Answer 1

Reset to default 0

OK 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