WP_Query older new links navigation?

try adding ‘&paged=’.$paged to your query string <?php $mainList_query = new WP_Query(‘cat=4,352,731,754,49,44,54,17&showposts=200&order=DESC&paged=’.$paged); ?>

Conditional Tag Custom Querys?

You can use the have_posts function. For more information, visit The Loop <?php $loop1 = new WP_Query( array( ‘post_type’ => ‘profile’, ‘profile-type’ => ‘featured’, ‘posts_per_page’ => ‘-1’ ) ); $loop2 = new WP_Query( array( ‘post_type’ => ‘films’, ‘film-type’ => ‘featured’, ‘posts_per_page’ => ‘-1’ ) ); if($loop1->have_posts()) { while($loop1->have_posts()) { $loop1->the_post(); // content here } } … Read more

If more than 1 image show post link?

check how many posts were returned in your $attachments variable and output your desired markup for each case: $featured = get_post_meta($post->ID,’_thumbnail_id’,true); $attachments = get_children( ‘post_type=attachment&orderby=menu_order&exclude=”.$featured.”&post_mime_type=image&post_parent=”.$post->ID ); if( count( $attachments ) > 1 ): // more than 1 attachment else: // just 1 (or 0) endif;

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)