'post', 'p' => $arr[0], ); $archive_query1 = new WP_Query($archive_args1); if( $archive_query1->have_posts()): while($archive_query1->have_posts()): $archive_query1->the_post(); ?>
ID, 'category'); $links = cpmmagz_all_taxonomy_link($post->ID, 'category'); foreach( $cats as $cat) { cpmmagz_cat_names( $cat , $links ); ?>

$value ){ if( $key != 0 ){ $a[] = $value; } } ?>
'post', 'post__in' => $a, ); $archive_query2 = new WP_Query($archive_args2); if( $archive_query2->have_posts()): while( $archive_query2->have_posts()): $archive_query2->the_post(); ?>
ID)); ?>

ID, 'category'); ?>