'menu_order', 'order' => 'DESC', 'posts_per_page' => 3, ); $has_related = false; $post_tag_ids = array(); if ( !empty($post_taxonomies) ) { foreach( $post_taxonomies['post_tag']['terms'] as $post_tag ) { $post_tag_ids[] = $post_tag['term_id']; } } if ( !empty($post_tag_ids) ) { $related_options = array_merge($related_options, array( 'post_type' => $post_type, 'tax_query' => array(array( 'taxonomy' => 'post_tag', 'terms' => $post_tag_ids, )), 'post__not_in' => array($post_id), )); $has_related = true; } ?>
>

'; foreach ( $condition_row as $condition_cell ) { $table_content .= ''; $table_content .= empty($condition_cell) ? ' ' : $condition_cell; $table_content .= ''; } $table_content .= ''; } } ?>

have_posts() ) { ?>