Benimde aynı tema ben atayım
Arşivler (archive.php)
<?php get_header(); ?>
<div id="content">
<div id="contentleft">
<div class="postarea">
<?php include(TEMPLATEPATH."/breadcrumb.php");?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<div class="date">
<div class="dateleft">
<p><span class="time"><?php the_time('d F Y'); ?></span> Yazan <?php the_author_posts_link(); ?> <?php edit_post_link('(Düzenle)', '', ''); ?> <br /> Kategori <?php the_category(', ') ?></p>
</div>
<div class="dateright">
<p><span class="comment"><?php comments_popup_link('Yorum yok', '1 Yorum', '% Yorum'); ?></span></p>
</div>
</div>
<?php the_content(__('Devamini oku'));?><div style="clear:both;"></div>
<div class="postmeta2">
<p><span class="tags">Etiketler: <?php the_tags('') ?></span></p>
</div>
<?php endwhile; else: ?>
<p><?php _e('Uzgunum aradiginiz sey burada degil.'); ?></p><?php endif; ?>
<p><?php posts_nav_link(' — ', __('« Onceki Yazilar'), __('Sonraki yazilar »')); ?></p>
</div>
</div>
<?php include(TEMPLATEPATH."/sidebar.php");?>
</div>
<!-- The main column ends -->
<?php get_footer(); ?>home.php
<?php get_header(); ?>
<div id="content">
<div id="homepage">
<div id="homepagetop">
<div class="featuredtop">
<!--This section is where the Featured Content plugin is called.-->
<?php d13slideshow(); ?>
</div>
</div>
<div id="homepageleft">
<div class="hpfeatured">
<h3>ORTAYA KARISIK</h3>
<?php $recent = new WP_Query("cat=1,30,31,457,38,40,54,41,13,53,458,12,39&showposts=7"); while($recent->have_posts()) : $recent->the_post();?>
<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;" src="<?php echo get_post_meta($post->ID, "thumbnail", true); ?>" alt="<?php the_title(); ?>" width="70" height="70"/></a>
<?php else: ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;" src="<?php bloginfo('template_url'); ?>/images/thumbnail.png" alt="<?php the_title(); ?>" /></a>
<?php endif; ?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(80, ""); ?>
<div style="border-bottom:1px dotted #94B1DF; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>
<?php endwhile; ?>
</div>
</div>
<div id="homepageright">
<div class="hpfeatured">
<h3>Mobil-Teknoloji-Bilim </h3>
<?php $recent = new WP_Query("cat=45,65,8&showposts=7"); while($recent->have_posts()) : $recent->the_post();?>
<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;" src="<?php echo get_post_meta($post->ID, "thumbnail", true); ?>" alt="<?php the_title(); ?>" width="70" height="70"/></a>
<?php else: ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;" src="<?php bloginfo('template_url'); ?>/images/thumbnail.png" alt="<?php the_title(); ?>" /></a>
<?php endif; ?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(80, ""); ?>
<div style="border-bottom:1px dotted #94B1DF; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>
<?php endwhile; ?>
<!--Hangi kategoriyi koyacaksanız # olan yere kategori url sini yazın-->
</div>
</div>
<div id="homepagebottom">
<div class="hpbottom">
<h3>Driver</h3>
<?php $recent = new WP_Query("cat=109&showposts=11"); while($recent->have_posts()) : $recent->the_post();?>
<?php if( get_post_meta($post->ID, "hpbottom", true) ): ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;" src="<?php echo get_post_meta($post->ID, "thumbnail", true); ?>" alt="<?php the_title(); ?>" width="70" height="70"/></a>
<?php else: ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;" src="<?php bloginfo('template_url'); ?>/images/thumbnail.png" alt="<?php the_title(); ?>" /></a>
<?php endif; ?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(350, "[Devamini oku]"); ?>
<div style="border-bottom:1px dotted #2255AA; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>
<?php endwhile; ?>
<!--Hangi kategoriyi koyacaksanız # olan yere kategori url sini yazın-->
<b><a href=http://www.xxx.com/katagori/guncel-yazilimlar/driver rel="bookmark">Kategorinin diger yazilari</a></b>
</div>
</div>
</div>
<?php include(TEMPLATEPATH."/sidebar.php");?>
</div>
<!-- The main column ends -->
<?php get_footer(); ?>