Youth

Never tell a young person that anything cannot be done.  God may have been waiting centuries for someone ignorant enough of the impossible to do that very thing.

John Andrew Holmes

0 ) { $primary = $theTags[0]; $firstTag = $primary->term_id; //echo $firstTag; //echo $primary->term_id; $output = $primary->name; //Get all pages with primarry(first) term. $args = array( 'post_type' => 'page', 'tag__in' => $firstTag, 'posts_per_page' => -1, ); $query = new WP_Query( $args ); $count = 0; if ( is_page() ) { if ( have_posts() ) { ?>

    have_posts() ) : $query->the_post(); $count ++; $permalink = get_the_permalink(); $title = get_the_title(); $theID = get_the_ID(); ?>