facetwp query pages

djrmom

{{gist file=”display.php” lang=”php”}}
<?php while ( have_posts() ): the_post(); ?>
<p><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a></p>
<?php endwhile; ?>
{{/gist}}{{gist file=”query.php” lang=”php”}}
<?php
return array(
“post_type” => “page”,
“post_status” => “publish”,
“orderby” => “post__in”,
“posts_per_page” => 6,
“post__in” => array( 2, 1733, 4, 1133, 1134, 501, 174, 156 )
);
{{/gist}}