buyur:
<?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 include (ABSPATH . '/wp-content/plugins/content-gallery/gallery.php'); ?>
</div>
</div>
<div id="homepageleft">
<!--Manşet kategorisi ID #1, olarak ayarlıdır cat=1 olarak ayarlanmıştır category ID numarasını değiştirin. Gösterim sayısı 3 olarak ayarlanmıştır isterseniz değiştirebilirsiniz.-->
<div class="hpfeatured">
<h3>Guncel Haberler</h3>
<!--Manşet kategorisi ID #1, olarak ayarlıdır cat=1 olarak ayarlanmıştır category ID numarasını değiştirin - custom field ismi "thumbnail". resim boyutu 70x70, olması gerekir.-->
<?php $recent = new WP_Query("cat=5&showposts=4"); 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-->
<b><a href="http://www.magturka.com/category/guncel-haber" rel="bookmark">Kategorinin diğer yazıları</a></b>
</div>
</div>
<div id="homepageright">
<!--Manşet kategorisi ID #1, olarak ayarlıdır cat=1 olarak ayarlanmıştır category ID numarasını değiştirin.Gösterim sayısı 3 olarak ayarlanmıştır isterseniz değiştirebilirsiniz.-->
<div class="hpfeatured">
<h3>KULTUR-SANAT</h3>
<!--Manşet kategorisi ID #1, olarak ayarlıdır cat=1 olarak ayarlanmıştır category ID numarasını değiştirin - custom field ismi "thumbnail". resim boyutu 70x70, olması gerekir.-->
<?php $recent = new WP_Query("cat=9&showposts=4"); 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-->
<b><a href="http://www.magturka.com/category/kultur-sanat" rel="bookmark">Kategorinin diğer yazıları</a></b>
</div>
</div>
<div id="homepagebottom">
<div class="hpbottom">
<h3>TURKA SON HABERLER</h3>
<!--Alt Manşet kategorisi ID #1, olarak ayarlıdır cat=1 olarak ayarlanmıştır category ID numarasını değiştirin - custom field ismi "hpbottom". resim boyutu 70x70, olması gerekir.-->
<?php $recent = new WP_Query("cat=30&showposts=20"); 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="110" height="110"/></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, "[Devamını 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.magturka.com/category/arsiv/" rel="bookmark">Kategorinin diğer yazıları</a></b>
</div>
</div>
</div>
<?php include(TEMPLATEPATH."/sidebar.php");?>
</div>
<!-- The main column ends -->
<?php get_footer(); ?>bu asagidakide sidebar.php
<!-- begin sidebar -->
<div id="sidebar">
<div class="newsletter">
<!--To enable the eNews & Upates feature, go to your WP dashboard and go to Design -> Revolution Church Options and enter your Feedburner ID.-->
<h2>Haber & E-Mail</h2>
<p>.<br />.</p><form id="subscribe" action="http://feedburner.google.com/fb/a/mailverify?uri=Magturka" method="post" target="popupwindow" onsubmit="window.open('http://www.feedburner.com', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"><input type="text" value="E-Posta adresinizi girin..." id="subbox" onfocus="if (this.value == 'E-Posta adresinizi girin...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'E-Posta adresinizi girin...';}" name="email"/><input type="hidden" value="http://feeds.feedburner.com/~e?ffid=<?php $feedburner_id = get_option('revchurch_feedburner_id'); echo $feedburner_id; ?>" name="url"/><input type="hidden" value="Abonelik" name="title"/><input type="submit" value="git" id="subbutton" /></form>
</div>
<div class="widgetarea">
<ul id="sidebarwidgeted">
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
<li id="recent-posts">
<h2>SON YAZILAR</h2>
<ul>
<?php wp_get_archives('type=postbypost&limit=5'); ?>
</ul>
</li>
<?php endif; ?>
</ul>
</div>
</div>
<!-- end sidebar -->