Pregunta

Supongamos que creamos un IMDB like.

Así que (por ejemplo) podemos tener dos tipos de tipos de envíos personalizados:

  • películas
  • actores

Nos gustaría ver en cada página de la película todos de la misma de los actores. Y en cada página de todos los actores de las películas que jugó.

Puede este entrecruzamiento puede hacer usando tipos de envíos personalizados?

Si no es así, es que se espera que sea posible en el futuro?

Si no, ¿hay una alternativa (en GT) para hacer esto?

Gracias

¿Fue útil?

Solución

Checkout scribu's post2post plugin, it should fill your needs.

Otros consejos

Next to the pages for Movies and Actors just define two taxonomies: Actors and Movies. Then you can categorize each Movie with a Movie from the Movies Taxonomy and you can categorize each Actor from the Actor Category.

On the other end you categorize each Movie with any Actor from the Actors taxonomy.

If you then can query a taxonomy to list pages that are part of a specific category (which should be possible) then you have already cross-linked everything as wished with wordpress data-structures.

On the [Movie Page] get that Movies Page [Authors] from the [Authors Taxonomy]. Then query the [Authors Taxonomy] for [Author Pages] that have the specific [Author] from the [Authors Taxonomy] attached.

On the [Author Page] you can do it the other way round.

I'm not that firm with Taxonomies but it might be the case that you need to register them per custom post type. This can make some data redundant which generally makes content management more intense.

Licenciado bajo: CC-BY-SA con atribución
scroll top