I am using the Posts to Post plugin for Wordpress (version: 1.6.3) to link my posts with a custom post type I created. This custom post type consists of 'authors' that can be linked to a post. Yesterday it was functioning as it should but as for today, the overview is generating a list of 'posts' instead of a list of 'authors'.
I am using the following function to generate a list of authors.
function my_connection_types() { p2p_register_connection_type( array( 'name' => 'posts_to_auteurs', 'from' => 'post', 'to' => 'auteur' ) ); } add_action( 'p2p_init', 'my_connection_types' );
Does anyone know what's wrong? I'm dying for help...
Aucun commentaire:
Enregistrer un commentaire