I’ve got posts2posts 1.1.3
I’ve got two CPT that are connected. I’m constructing a new WP_Query to display one of the CPT as following:
new WP_Query(array( 'post_type' => 'fsd-slider', 'order' => 'ASC', 'orderby' => 'menu_order', 'posts_per_page' => -1, ); );
Is there a way to only select CPT posts that have been associated with another CPT?
I’ve tried adding the connection name, for example
'connected_type' => 'slider_to_case_study'but that didn’t help.
I would really appreciate any help thanks!
- The topic ‘[Plugin: Posts 2 Posts] WP_Query to display CPT post that have connections only’ is closed to new replies.