• Resolved randellbrantley

    (@randellbrantley)


    Hello again.

    After the fix for the post_type => any problem something esle has broken.

    I have the code:

    // Find connected pages
    		$connected = new WP_Query( array(
    			'connected_type' => 'events_to_series',
    			'connected_items' => get_queried_object_id(),
    			'nopaging' => true,
    			'meta_key' => 'start_time_stamp',
    			'orderby' => 'meta_value_num',
    			'order' => 'ASC',
    			) );
    		//add the speaker connections to the query
    p2p_type( 'speaker_to_event' )->each_connected( $connected, array(), 'speakers' );

    The first part still works but the second part no longer updates the $connected query with speakers.

    Please help.

    http://ww.wp.xz.cn/extend/plugins/posts-to-posts/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Posts 2 Posts] Last fix broke something else’ is closed to new replies.