This doesn’t work unfortunately.
$scores = get_crp_posts_id(); $rel_posts = array_column( (array) $scores, 'ID' ); print_r( $rel_posts )
Array (  => 305512  => 334934  => 332645  => 334067 )
So this part does seem to work.
But when I add
$args = array( 'post__in' => $rel_posts, ); wpsp_display( 1234, $args );
It just displays the latest posts with no filter. So it doesn’t seem to take the ID’s into account.
- This reply was modified 1 year, 4 months ago by hezuf123.