Skip to content

Instantly share code, notes, and snippets.

@sxidsvit
Created November 30, 2015 14:26
Show Gist options
  • Save sxidsvit/cee21e2c590fe152da74 to your computer and use it in GitHub Desktop.
Save sxidsvit/cee21e2c590fe152da74 to your computer and use it in GitHub Desktop.
<?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)); ?>
<? endwhile; endif; wp_reset_query(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment