ID; ?>
>
ID, 'category'); $links = cpmmagz_all_taxonomy_link($post->ID, 'category'); foreach( $cats as $cat) { cpmmagz_cat_names( $cat , $links ); ?>

]+\>/i", "", $content); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); ?>
term_id; $related_args=array( 'post_type' => 'post', 'category__in' => array($first_cat), 'post__not_in' => array($id), 'showposts' => 5, ); $related_query = new WP_Query($related_args); if($related_query->found_posts < 0 ){ echo "No Related Posts"; } if( $related_query->have_posts() ): ?>