Merhaba Arkadaşlar, çok güncel ve güzel olmasada bir tema buldum tema baya eski ama ahşap bir görünümü var ve çok güzel..

Söz konusu olan temada archive.php dosyası yok, başka bir temadan direk içine attım ve çalıştırdım. tam herşeyi yoluna soktum derken sidebarı bir türkü orjinal temanın görünümüne getiremedim.



tema ben düzenlediğim zaman böyle yamuluyor... archive.php nin içine yerleştirdiklerim bunlar.
<?php endif; ?>,<?php } ?>,<?php } else { ?>
bu kodlara dokun duğum zaman da tema bloke oluyor ne yapmam lazım kardaşlar.....


archive.php

<?php global $lyricsy; ?>

<?php get_header(); //author date category tag ?>

<?php if($lyricsy['sidebarlr'] == true) { ?>
<div id="listwrapper">
<?php } else { ?>
<div id="listwrapperright">
<?php } ?>

	<?php if (have_posts()) : ?>
	
	<div id="infopost" class="post">

		<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
		<br>
                <br>
                
			<?php if (is_category()) { ?>
				<center><h2><?php single_cat_title(); ?></a></h2></center>
				
			<?php } elseif( is_tag() ) { ?>
				<h2><?php _e('Posts tagged with:','lyrcsy'); ?> ‘<?php single_tag_title(); ?>’</h2>
				
			<?php } elseif (is_day()) { ?>
				<h2><?php the_time('j F Y'); ?></h2>
				
			<?php } elseif (is_month()) { ?>
				<h2><?php the_time('F, Y'); ?></h2>
				
			<?php } elseif (is_year()) { ?>
				<h2><?php the_time('Y'); ?></h2>
				
			<?php } elseif (is_author()) { ?>
				<h2><?php _e('Author archive','lyrcsy'); ?></h2>
				
			<?php } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
				<h2><?php _e('Blog archive','lyrcsy'); ?></h2>
				
		<?php } ?>
	
	</div>
	
<?php if (is_category(array(2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33))) { ?>

<div class="post">
		<div class="post_title">
			<center>‘<?php single_cat_title(); ?>’ <?php _e('letter, which the songers first letter','lyrcsy'); ?></center>
		</div>
	
		<div class="post_container">
			<div class="post_inside">

	<?php if (!empty($lyricsy['adblock4'])) : ?>
	
		</div>
	<?php endif; ?>

	<div id="container">
	<div id="content" role="main">
		
		<center><h2>Sanatcılar:</h2></center>
		<ul>
							<?php
					if (is_category()) {
				$this_category = get_category($cat);
					if (get_category_children($this_category->cat_ID) != "") {
					echo "";
					echo "<ul>";
				wp_list_categories('orderby=name&show_count=1&hide_empty=0&title_li=&use_desc_for_title=1&child_of='.$this_category->cat_ID);
					echo "</ul>";
				}
				}
				?>
		</ul>
 
	</div><!-- #content -->
</div><!-- #container -->
<?php } else { ?>
	
	<?php while (have_posts()) : the_post(); ?>

<div class="post" id="post-<?php the_ID(); ?>">
	<div id="title_back"> 
	  <div class="post-date"><span class="post-month"><?php the_time('M') ?></span> <span class="post-day"><?php the_time('d') ?></span></div>
	  <div class="post-title">
	  <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
		<span class="post_arr"> Posted by:  <?php the_author() ?> in <?php the_category(', ') ?></span> <span class="post_arr2"><?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></span>
	  </div>
	</div>

		<div class="post_container">
			<div class="post_inside">
			
				<div class="post_thumb">
				<?php $image = get_post_meta($post->ID, 'thumbnail', true); ?>
				<?php if ( get_post_meta($post->ID, 'thumbnail', true) ) { ?>
					<a href="<?php the_permalink() ?>"><img src="<?php echo $image; ?>" title="<?php the_title(); ?>" alt="<?php the_title(); ?>" class="thumbnail" /></a>
				<?php } else {?>
				
				<?php } ?>
				</div>
				
				
				
		
		<div class="post_footer"></div>
	</div>

	<?php endwhile; ?>

		<?php if(function_exists('wp_pagenavi')) { ?>
			<?php wp_pagenavi() ?>
		<?php } else { ?>
			<div class="underpostnavigation">
				<h4><?php next_posts_link(__('&laquo; Older entries', 'lyrcsy'), '<span class="olderentries">','</span>'); ?></h4>
				<h4><?php previous_posts_link(__('Newer entries &raquo;', 'lyrcsy'), '<span class="newerentries">','</span>'); ?></h4>
			</div>
<?php } ?>
<?php } ?>
<?php else : ?>
<?php if($presence['sidebarlr'] == false) { ?>	
<?php } else { ?>
<?php } ?>


	
		
<?php if (!empty($lyricsy['adblock4'])) : ?>
				

<?php endif; ?>	
<?php endif; ?>
<?php get_sidebar(); ?>

<?php get_footer(); ?>