term_id; } $args = array( 'tag__in' => $tagIDs, 'post__not_in' => array ($post->ID), 'posts_per_page' => 5, 'ignore_sticky_post' => 1 ); $relacionadas = new WP_Query ($args); if ($relacionadas->have_posts()) : $related_posts_title = get_theme_mod( 'nucleus_related_posts_title', __( 'Related posts...', 'nucleus' ) ); ?> have_posts()) } //if ($tags)