Retrieve Multiple Custom Post Type Posts by Using a List of ID's
-
Getting really stuck on this one:
$myNewQuery = new WP_Query (‘post_type=testimonial&post_status=publish&showposts=3&p=124,139’);
This query only returns the first post with ID=124.
Is there a way to retrieve multiple posts for a custom post type when using a list of ID’s???
Thanks for your help!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Retrieve Multiple Custom Post Type Posts by Using a List of ID's’ is closed to new replies.