Este plugin no ha sido probado con ninguna las 3 últimas versiones principales de WordPress. Puede que ya no se mantenga o no tenga soporte, y puede que tenga problemas de compatibilidad cuando se utiliza con versiones más recientes de WordPress.

Custom Post Type Relations

Descripción

Custom Post Type (CPT) Relations plugin can be used to create relations within
different post types in your WordPress.

CPT Relations will list all the registered post types in the wordpress and you
can create any number of relations for any post type. Once a relation is created,
you will see a metabox with autocomplete field in the Add New page of the
selected post type. The field will populate the via AJAX while you type the
post name you want to related.

Capturas de pantalla

Instalación

  • Upload cptr-relation folder to the /wp-content/plugins/ directory
  • Activa el plugin a través del menú de ‘Plugins” en WordPress

FAQ

Is there any limit for the number of relations that can be created?

No. You can create any number of relations as much as you need.

How can you get the relations data in the template files

There are two theme function provided with the plugin for access the relations
data. They are cptr_get_relations_ids and cptr_get_relations.

cptr_get_relations_ids($cptr_keys, $post_id = null)


$cptr_keys can be string or array. You will get the key of each relation in the admin 

page for CPT Relation plugin. This argument can also have the value all
which will return all the defined relations for that post.

$post_id should be int. If this is not provided current post is considered.

Where to submit any issues and get support?

CPT Relations in an open source project hosted in the GitHub. You can raise any issues at https://github.com/GingerCodes/cpt-relations/issues.

Opiniones

No hay reseñas para este plugin.

Colaboradores & Desarrolladores

“Custom Post Type Relations” es software de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

Traduce & #8220;Custom Post Type Relations” a tu idioma.

¿interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN , o suscríbete al log de desarrollo por RSS .