Guys, i hve put the code which (if ( ! function_exists( ‘ucc_add_cpts_to_pre_get_posts’ ) )) into functions.php. dunno hw to use ths code <?php
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
$loop = new WP_Query(array(‘post_type’ => ‘name_of_post_type’,’paged’=>$paged)); and whr to add, plzz gimme me solution.