Burada bir yere eklenmesi gerek ama nereye

<?php if(get_option('pyre_author') == 'On'): ?> 
				<div class="post-author">
					<?php echo get_avatar(get_the_author_meta('email'), '70'); ?>
					<h5><em><?php _e('About the author:', 'Avenue'); ?></em> <?php the_author_link(); ?> <small><?php _e('Bütün mesajlar'); ?> <?php the_author_posts_link(); ?></small></h5>
					<div class="author-descrip"><?php the_author_meta("description"); ?></div>
					<?php if(get_the_author_meta('twitter') || get_the_author_meta('facebook')): ?>
					<p>
						<br />
						<?php if(get_the_author_meta('twitter')): ?>
						<a href='http://twitter.com/<?php echo get_the_author_meta('twitter'); ?>'>Twitter</a>
						<?php endif; ?>
						
						<?php if(get_the_author_meta('twitter') || get_the_author_meta('facebook')): ?>
						-
						<?php endif; ?>
						
						<?php if(get_the_author_meta('facebook')): ?>
						<a href='http://facebook.com/<?php echo get_the_author_meta('facebook'); ?>'>Facebook</a>
						<?php endif; ?>
					</p>
					<?php endif; ?>
				</div>
				<?php endif; ?>
				
				<?php $tags = get_the_tags(); ?>
				<?php if($tags): ?>
				<?php $related = get_related_posts($post->ID, $tags); ?>
				<?php if($related->have_posts() && $related->found_posts >= 3 && get_option('pyre_related') == 'On'): ?>
				<div class='homepage-widget'>
					<div class="block full">
						
						<h3>En Çok Okunanlar<span class="arrows">&raquo;</span></h3>
							
							<?php while($related->have_posts()): $related->the_post(); ?>
								<?php if(has_post_thumbnail()): ?>
								<?php
								if(has_post_format('video') || has_post_format('audio') || has_post_format('gallery')) {
									$icon = '<span class="' . get_post_format($post->ID) . '-icon"></span>';
								} else {
									$icon = '';
								}
								?>
								<?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'related-thumb'); ?>
								<div class="related-item">
								<?php echo $icon; ?><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php echo $image[0]; ?>" alt="<?php the_title(); ?>" width='134' height='90' /></a>
								<h2><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><?php the_title(); ?></a></h2>
								</div>
								<?php else: ?>
								<div class="related-item">
								<?php echo $icon; ?><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php bloginfo('template_directory'); ?>/images/thumbnail.png&w=134&h=90" alt="<?php the_title(); ?>" width='134' height='90' /></a>
								<h2><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><?php the_title(); ?></a></h2>
								</div>
								<?php endif; ?>
							<?php endwhile; ?>
					
					</div>
				</div>
				<?php endif; ?>
				<?php endif; ?>
				<?php wp_reset_query(); ?>
				
				<div id="comments">
				
					<?php comments_template(); ?>
					
				</div>
				
				<?php endwhile; endif; ?>
			
			</div>
			<!-- END MAIN -->
			
<?php get_sidebar(); ?>
			
<?php get_footer(); ?>