Getting posts under the custom post type ui category

Worked perfectly for me!!
Code will bring the posts(under CPT UI) to any page template.

    <?php
$loop = new WP_Query( array( 
    'post_type' => 'specialoffers', 
    'cat' => '12', // Whatever the category ID is for your aerial category
    'posts_per_page' =>  10,
    'orderby' => 'date', // Purely optional - just for some ordering
    'order' => 'DESC' // Ditto
) );

while ( $loop->have_posts() ) : $loop->the_post(); ?>