zhukovec
11/11/2017 - 2:32 PM

WordPress query_posts

<?php if ( have_posts() ) : query_posts('p=1');
while (have_posts()) : the_post(); ?>

<?php the_title(); ?>
<?php the_content(); ?>
<?php the_post_thumbnail(array(100, 100)); ?>

<?php endwhile; endif; wp_reset_query(); ?>