', '' ); ?>
'publish', 'posts_per_page' => intval ( $default_ppp ), 'post_type' => array( 'page' ), 'orderby' => array( 'menu_order' => 'ASC', 'date' => 'DESC' ), 'meta_query' => array( array( 'key' => '_wp_page_template', 'value' => 'page-templates/template-services.php' ) ), 'paged' => intval( $paged ), ) ); ?> have_posts()) : ?> have_posts()) : $get_featured_pages->the_post(); $title_attribute = the_title_attribute('echo=0'); $image_id = get_post_thumbnail_id(); $image_path = wp_get_attachment_image_src($image_id, 'thumbnail', true); $image_alt = get_post_meta($image_id, '_wp_attachment_image_alt', true); $service_icon = get_post_meta($post->ID, 'service_icon', true); if (has_post_thumbnail()) { $service_class = 'service-thumbnail'; $service_image_holder = '' . esc_attr($image_alt) . ''; } else { $service_class = 'service-icon'; $service_image_holder = '';; } ?> max_num_pages; if ( function_exists( 'courtyard_listing_pagination' ) ) { courtyard_listing_pagination( $total ); } // Reset Post Data wp_reset_postdata(); else : get_template_part( 'template-parts/content', 'none' ); endif; ?>