OkanK adlı üyeden alıntı:
mesajı görüntüle
Anarşik Çocuk V6 Teması
23
●2.939
- 01-10-2009, 19:48:35Üyeliği durdurulduanarschi adlı üyeden alıntı: mesajı görüntüle
Ya da uğraşmak istemeyenler bu kodun tamamını alın home.php ye yerleştirin sorun çözülecektir
<?php get_header(); ?> <div id="navbar"> </div> <div id="homepage"> <div id="hpmain"> <div id="sozler"> <center>Aklınızdan Geçen Birşey</center> </div> <div id="yeniyazilar2"> <div id="bozulmaamq"> <a href="http://www.anarschi.com/beyaz-kimdir/"><img src="<?php bloginfo('template_url'); ?>/resimler/benkimim.png" alt="<?php bloginfo('name'); ?>" /></a> <a href="http://www.anarschi.com/muziklerim/"><img src="<?php bloginfo('template_url'); ?>/resimler/muzikler.png" alt="<?php bloginfo('name'); ?>" /></a> <a href="http://www.anarschi.com/izlediklerim/"><img src="<?php bloginfo('template_url'); ?>/resimler/izlediklerim.png" alt="<?php bloginfo('name'); ?>" /></a> <a href="http://www.anarschi.com/wordpress/"><img src="<?php bloginfo('template_url'); ?>/resimler/wordpress.png" alt="<?php bloginfo('name'); ?>" /></a> <a href="http://www.seniseviyoyum.com"><img src="<?php bloginfo('template_url'); ?>/resimler/sscom.png" alt="<?php bloginfo('name'); ?>" /></a> </div> </div> <div id="yeniyazilar"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <div style="padding-top:8px;border-top:1px dashed #C0C0C0; clear:both;"></div> <div style="float:left; margin:0px 10px 0px 0px;"> <?php $resim = get_post_meta($post->ID,'thumb', true); if($resim != "") { ?> <a href="<?php the_permalink() ?>"> <img class="alignleft" src="<? echo strtolower($resim); ?>"/></a> <?php }else{ ?> <a href="<?php the_permalink() ?>"><img class="alignleft" src="<?php bloginfo('template_url'); ?>/resimler/ust.png" alt="" /></a> <?php } ?> </div> <?php excerpt('300'); ?> <div class="anarschiBilgi" id="bilgi-<?php the_ID(); ?>"> <span class="anarschi_yorumlar"><?php comments_number('Yorum Yok', '1 Yorum ', '% Yorum' );?></span> <span class="anarschi_okunma">Okunma:<?php if(function_exists('the_views')) { the_views(); } ?> </span> <span class="anarschi_tarih">Tarih:<?php the_time('j F Y') ?></span> <span class="anarschi_devami"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> Devamını Okuyun» </a></span> </div> <div style="clear:both;"></div> <?php endwhile; else: ?> <?php endif; ?> <div id="ortasey"> <center><?php if (function_exists('wp_pagebar')) wp_pagebar(); ?></center> </div> </div> </div> <div id="hpmain"> <center><img src="<?php bloginfo('template_url'); ?>/resimler/ortataraf2.png" alt="" /></center> <div class="hpmainleft"> <h3>Günlük Olaylar</h3> <?php $recent = new WP_Query("cat=7&showposts=3"); while($recent->have_posts()) : $recent->the_post();?> <div style="padding-top:5px;border-top:1px dashed #C0C0C0; clear:both;"></div> <div style="float:left; margin:0px 5px 5px 0px;"> <a href="<?php the_permalink() ?>"><img class="alignleft" src="<?php bloginfo('template_url'); ?>/resimler/gundem.png" alt="" /></a> </div> <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <?php excerpt('20'); ?> <?php endwhile; ?> </div> <div class="hpmainright"> <!--This section is where the custom images are found for the homepage right column - note the custom field name for this image is "homepage". Recommended image size is 82x55, as the stylesheet is written for this size.--> <div class="hpfeaturedtop"> <!--Replace cat=1 with the Category ID you want to display in this section.--> <h3>Diğer Konular</h3> <?php $recent = new WP_Query("cat=12,15,1,6&showposts=3"); while($recent->have_posts()) : $recent->the_post();?> <div style="padding-top:5px;border-top:1px dashed #C0C0C0; clear:both;"></div> <div style="float:left; margin:0px 5px 5px 0px;"> <a href="<?php the_permalink() ?>"><img class="alignleft" src="<?php bloginfo('template_url'); ?>/resimler/diger.png" alt="" /></a> </div> <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <?php excerpt('20'); ?> <?php endwhile; ?> </div> </div> </div> <div id="hpmain"> <img src="<?php bloginfo('template_url'); ?>/resimler/ortataraf.png" alt="" /> <div class="hpmainleft"> <h3>İnternet Dünyası</h3> <?php $recent = new WP_Query("cat=8&showposts=3"); while($recent->have_posts()) : $recent->the_post();?> <div style="padding-top:5px;border-top:1px dashed #C0C0C0; clear:both;"></div> <div style="float:left; margin:0px 5px 5px 0px;"> <a href="<?php the_permalink() ?>"><img class="alignleft" src="<?php bloginfo('template_url'); ?>/resimler/internet.png" alt="" /></a> </div> <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <?php excerpt('20'); ?> <?php endwhile; ?> </div> <div class="hpmainright"> <div class="hpfeaturedtop"> <!--Replace cat=1 with the Category ID you want to display in this section.--> <h3>Aşk Dünyam</h3> <?php $recent = new WP_Query("cat=3&showposts=3"); while($recent->have_posts()) : $recent->the_post();?> <div style="padding-top:5px;border-top:1px dashed #C0C0C0; clear:both;"></div> <div style="float:left; margin:0px 5px 5px 0px;"> <a href="<?php the_permalink() ?>"><img class="alignleft" src="<?php bloginfo('template_url'); ?>/resimler/ask.png" alt="" /></a> </div> <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <?php excerpt('20'); ?> <?php endwhile; ?> </div> </div> </div> </div> <!-- The main column ends --> <?php get_footer(); ?>

alignleft kodunu unutmuşum prdn.