Php markup question: php/html within conditional bit
you code may look like this <?php global $wp_query; $thepostid = $wp_query->post->ID; $postdata = get_post($thePostid, ARRAY_A); $authorid = $postdata[‘post_author’]; if ($authorid==1) { echo ‘Show nothing’; } else { ?> <div id=”author-bio”> <h3>About The Author</h3> <?php echo get_avatar( get_the_author_id() , 80 ); ?> <h4><?php the_author_posts_link(); ?></h4> <div class=”desc”><?php the_author_meta(‘description’); ?> </div> </div> <?php } ?>