>
absint( $trending_post_number ), 'no_found_rows' => true, 'post__not_in' => get_option( 'sticky_posts' ), 'ignore_sticky_posts' => true, ); if ( absint( $trending_category ) > 0 ) { $query_args['cat'] = absint( $trending_category ); } $all_posts = new WP_Query( $query_args ); if ( $all_posts->have_posts() ) : ?>
'top-header', 'menu_id' => 'top-menu', 'depth' => 1, ) ); ?>
ProDesigns' ); ?>
term_id; } $args = array( 'category__in' => $category_ids, 'post__not_in' => array( $post_id ), 'posts_per_page' => 3, ); $related_query = new WP_Query( $args ); if( $related_query->have_posts() ) { ?>