Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author scribu

    (@scribu)

    multiple post types that belong to the same taxonomy

    Since you didn’t say multiple posts that belong to a taxonomy term, I assume you mean all the post types for which a particular taxonomy is registered.

    Yes, you can do that:

    p2p_register_connection_type( array(
      'from' => 'YOUR_POST_TYPE',
      'to' => get_taxonomy( 'YOUR_TAXONOMY' )->object_type
    ) );
    Thread Starter jtwg

    (@jtwg)

    Awesome. I’ll be trying this out today.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Posts 2 Taxonomy?’ is closed to new replies.