Home › Forums › Pro Support › Show posts in current category and specific tag › Reply To: Show posts in current category and specific tag
March 13, 2020 at 7:40 am #13943
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.