vendredi 27 mars 2015

Is possible to add post-formats to custom-post-type?


I was wondering if there is some way to put together the custom-post-types and post-formats so I can code a new post type and offer some variations as post-formats.


I'm involved in a company directory conceptualization and we have to mix different kind of company. While almost all of this types share the same data fields, there are two specific kind of companies - hotels & bistros - which has especific requirements (custom taxonomies and some data fields).


In your opinion, which is the best approach?



  • Use three custom-post-type: 'company', 'bistro' & 'hotel'.

  • Use one custom-post-type w/ post-formats.

  • Use only one custom-post-type and use conditional logic to add or not specific data-models.


Thanks in advance!!!


Xavier





Aucun commentaire:

Enregistrer un commentaire