Skip to content

Instantly share code, notes, and snippets.

@ericjuden
Created August 7, 2014 12:45
Show Gist options
  • Save ericjuden/e79519f279bcddc43233 to your computer and use it in GitHub Desktop.
Save ericjuden/e79519f279bcddc43233 to your computer and use it in GitHub Desktop.
Test for Chris
<?php
$args = array(
'post_type' => 'services'
);
$the_query = new WP_query( $args );
?>
<?php if ( have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post() ;?>
<?php get_template_part( 'content', 'services'); ?>
<?php endwhile; endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment