Success

“To laugh often and much;  To win the respect of intelligent people and the affection of children;  To earn the appreciation of honest critics and endure the betrayal of false friends;  To appreciate beauty, to find the best in others;  To leave the world a bit better, whether by a healthy child, a garden patch, or a redeemed social condition;  To know even one life has breathed easier because you have lived.  This is to have succeeded“.

Ralph Waldo Emerson

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(); ?>