Pergunta

I'm having a site which has option to add hotels and restaurants. Both for them has different custom fields which i have added meta boxes with a plugin. But the custom fields of hotel are not needed for restuarant and vice versa.

So what I want to achieve is create extra menu on admin panel saying Add Restaurant & Add Hotel. When clicked on Hotel its should only show the custom fields configured for Hotel. I know this can be achieved by custom post types. But i don't want another post type unless i have no options.

Foi útil?

Solução

Figured out that this is not the right place to ask. Better try codex.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top