Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Query FP Ads 1

// WP_Query arguments
$args = array(
	'p'                      => '181479',
	'post_type'              => array( 'sqppads' ),
	'post_status'            => array( 'publish' ),
	'nopaging'               => true,
	'posts_per_page'         => '1',
);

// The Query
$query_ads = new WP_Query( $args );

// The Loop
if ( $query_ads->have_posts() ) {
	while ( $query_ads->have_posts() ) {
		$query_ads->the_post();
		// do something
	}
} else {
	// no posts found
}

// Restore original Post Data
wp_reset_postdata();