Allow repeated posts (based on id) with post__in and wp_wquery
-
I’m looping through an array of post ids with wp query and post__in.
I have some generic posts that I reuse (so, reusing their id) – but it appears to be stripping out the duplicates. All the questions I can find area about NOT having duplicates, but I want them! : )
$lessons = [ '2953', // lesson name etc. '2963', $sunday, // reused id of '4321 $practice, // a reused id of '1234' $practice, // $practice, // ];
This sort of thing.
Any leads on how I can keep these / or keywords to look for!?
: )
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Allow repeated posts (based on id) with post__in and wp_wquery’ is closed to new replies.