What I'm trying to achieve shows only certain pages in a loop. 3 pages, no more, no less.
I have tried many things, but I just cannot complete it.
<?php
$special_tabs = new WP_Query(array ('post_type'=>'page','post__in'=>array(100,102,104)))
?>
What this means, from what I understand, is that it shows an array of pages, and then includes those IDs.
<?php
$special_tabs = new WP_Query('page_id=100');
?>
And this shows only one page, it does not support showing an array of different identifiers.
I am sure that I am not the first person to have such specific needs, and I am sure that there is a relatively simple way to achieve what I am trying to achieve, but I simply cannot find a solution or find it. Can someone help me with this?
Thank you very much in advance!