Created
August 7, 2014 14:12
-
-
Save ckoerner/05e140a85c3e6817c817 to your computer and use it in GitHub Desktop.
ACF Example 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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