Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ACF Example 1
$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
You can’t perform that action at this time.