• 14-09-2009, 21:35:39
    #1
    wordpress revolution lifeStyle Temansını Kullanmaktayım Katagorilerileri
    Aşağıdaki gibi Sıralamak İstiyorum

    Denedim ama olmadı Katagorinin kodları şu şekilde
    <div id="homepageleft">
    			<div class="hpfeatured">
    			<h3>Güzellik</h3>
    				<?php $recent = new WP_Query("cat=12&showposts=2"); while($recent->have_posts()) : $recent->the_post();?>
    				<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>
    <div style="float: right; width: 170px; height: 70px; display: block; overflow: hidden;">
    				    <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, ""); ?>
    Çıktısı Böyle Oluyor

    Nasıl Düzenleyebilirim İlk resimdeki siteden kaynak koduna baktım Tek farklılığı
    <div style="float: right; width: 170px; height: 70px; display: block; overflow: hidden;">
    bu kodun olması bunuda denedim malesef başaramadım
  • 15-09-2009, 00:24:47
    #2
    YArdım edebilecek Arkadaşlar Site yamuk Yumuk kaldı
  • 15-09-2009, 00:57:27
    #3
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Bu kodun tamamı bu kadar mı? İki tane div etiketi açılmış ama kapatılmamış. Açılan query'de sonlandırılmamış.
  • 15-09-2009, 00:59:38
    #4
    HErbirinin Kodları şu şekilde

    <div id="homepageleft">
    		
    			
    				
    			<div class="hpfeatured">
    			<h3>Güzellik</h3>
    				<?php $recent = new WP_Query("cat=12&showposts=2"); 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; ?>
    				<b><a href="#" rel="bookmark">Tüm Haberler</a></b>
    				
    		
    				
    			</div>	
                      </div>
    Normalde bunlar 3taneydiler çoğalttım ama başaramadım yani yazıların hepsi aynı olunca forum düzeliyor ama farklı bir yazı daha uzun karakterli olunca katagori uzuyor bu uzamayı sabitleştirmek istiyorm fazla yazı olunca uzatamayacak gösterebildiğini göstericek.
  • 15-09-2009, 01:08:44
    #5
    Yazıları kısaltmak şunu yapabilirsin.
    <?php the_content_limit(80, ""); ?>
    Burdaki 80 değerini düşürebilirsin.

    Ayrıca şu div'ide silermisin.
    <div style="border-bottom:1px dotted #94B1DF; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;">
                </div>
  • 15-09-2009, 01:14:38
    #6
    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 include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
    			</div>
    		</div>
    	<div id="homepageleft">
    			<div class="hpfeatured">
    			<h3>Güzellik</h3>
    				<?php $recent = new WP_Query("cat=12&showposts=2"); 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;">
    				<?php endwhile; ?>
    				<b><a href="#" rel="bookmark">Tüm Haberler</a></b>
    			</div>	
                      </div>
                            <div id="homepageright">
    			<div class="hpfeatured">
    			<h3>Moda</h3>	
    			<?php $recent = new WP_Query("cat=14&showposts=2"); 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;">
    				<?php endwhile; ?>
    				<b><a href="#" rel="bookmark">Tüm Haberler</a></b>
    			</div>	
                      </div>
                            <div id="homepageleft">	
    			<div class="hpfeatured">
    			<h3>GÜZELLİK</h3>
    			<?php $recent = new WP_Query("cat=20&showposts=2"); 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;">
    				<?php endwhile; ?>	
    				<b><a href="#" rel="bookmark">Tüm Haberler</a></b>
    			</div>	
                      </div>
                           <div id="homepageright">
    			<div class="hpfeatured">
    			<h3>GÜZELLİK</h3>	
    				<?php $recent = new WP_Query("cat=12&showposts=2"); 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;">
    				<?php endwhile; ?>
    				<b><a href="#" rel="bookmark">Tüm Haberler</a></b>
    			</div>	
                      </div>
    		<div id="homepageleft">		
    			<div class="hpfeatured">
    			<h3>GÜZELLİK</h3>
    			<?php $recent = new WP_Query("cat=12&showposts=2"); 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;">
    				<?php endwhile; ?>
    	 		      <b><a href="#" rel="bookmark">Tüm Haberler</a></b>
    			</div>	
                      </div>
    	<div id="homepageright">
    			<div class="hpfeatured">
    			<h3>GÜZELLİK</h3>
    			<?php $recent = new WP_Query("cat=12&showposts=2"); 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;">
    				<?php endwhile; ?>
    				<b><a href="#" rel="bookmark">Kategorinin diğer yazıları</a></b>
    			</div>	
                      </div>
    	<div id="homepageleft">	
    			<div class="hpfeatured">
    			<h3>GÜZELLİK</h3>					
    				<?php $recent = new WP_Query("cat=12&showposts=2"); 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;">
    				<?php endwhile; ?>
    				<b><a href="#" rel="bookmark">Kategorinin diğer yazıları</a></b>
    			</div>	
                      </div>
    	<div id="homepageright">			
    			<div class="hpfeatured">
    			<h3>GÜZELLİK</h3>
    			<?php $recent = new WP_Query("cat=12&showposts=2"); 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;">
    				<?php endwhile; ?>
    				<b><a href="#" rel="bookmark">Kategorinin diğer yazıları</a></b>
    			</div>	
                      </div>
    		<div id="homepagebottom">
    		<div class="hpbottom">
    			<h3>TEST</h3>				
    				<?php $recent = new WP_Query("cat=10,20,8,22,17,100,13,16,18,12,14,19&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="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, "[Devamını oku]"); ?>
    				<div style="border-bottom:1px dotted #2255AA; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;">
    				<?php endwhile; ?>
    				<b><a href="#" 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(); ?>
    Tümkodlar bu şekilde
    SAYFA bu şekli aldı
    bu ayarlama ile olmuyor bazen tek başlık olan konular oluyor bu sefer katagori
    küçülüyor boyutlarını sabitlemek istiyorum
    <?php the_content_limit(80, ""); ?>

    Bu Site Gibi Sabitlemek İstiyorum
  • 15-09-2009, 01:20:54
    #7
    Eğer başka div sorunun yoksa bu şekilde olması lazım. Ayrıca normalde de footer div'in kapatılmamış.

    Boyutları sabitlemeyide css ile yapabilirsin. Takribi bir boyut belirmelisin.

    <?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/featured-content-gallery/gallery.php'); ?>
                
                </div>
                
            </div>
                        
        <div id="homepageleft">
            
                
                    
                <div class="hpfeatured">
                <h3>Güzellik</h3>
                    <?php $recent = new WP_Query("cat=12&showposts=2"); 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;">
                    <?php endwhile; ?>
                    <b><a href="#" rel="bookmark">Tüm Haberler</a></b>
                    
                </div>    
                      </div>
    				  </div>
    
                            <div id="homepageright">
                <div class="hpfeatured">
                <h3>Moda</h3>    
                <?php $recent = new WP_Query("cat=14&showposts=2"); 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;">
                    <?php endwhile; ?>
                    <b><a href="#" rel="bookmark">Tüm Haberler</a></b>
                                        
                </div>    
                      </div>
    				  </div>
    
                            <div id="homepageleft">    
                <div class="hpfeatured">
                <h3>GÜZELLİK</h3>
                <?php $recent = new WP_Query("cat=20&showposts=2"); 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;">
                    <?php endwhile; ?>    
                    <b><a href="#" rel="bookmark">Tüm Haberler</a></b>
                    
                </div>    
                      </div>
    				  </div>
    
                           <div id="homepageright">
                <div class="hpfeatured">
                <h3>GÜZELLİK</h3>    
                    <?php $recent = new WP_Query("cat=12&showposts=2"); 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;">
                    <?php endwhile; ?>
                    <b><a href="#" rel="bookmark">Tüm Haberler</a></b>
                            
                </div>    
                      </div>
    				  </div>
    
            <div id="homepageleft">        
                <div class="hpfeatured">
                <h3>GÜZELLİK</h3>
                <?php $recent = new WP_Query("cat=12&showposts=2"); 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;">
                    <?php endwhile; ?>
                       <b><a href="#" rel="bookmark">Tüm Haberler</a></b>
                    
            
                </div>    
                      </div>
    				  </div>
    
                
        <div id="homepageright">
                        
                <div class="hpfeatured">
                <h3>GÜZELLİK</h3>
                <?php $recent = new WP_Query("cat=12&showposts=2"); 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;">
                    <?php endwhile; ?>
                    <b><a href="#" rel="bookmark">Kategorinin diğer yazıları</a></b>
                    
                            
                </div>    
                      </div>
    				  </div>
                    
        <div id="homepageleft">    
                <div class="hpfeatured">
                <h3>GÜZELLİK</h3>                    
                    <?php $recent = new WP_Query("cat=12&showposts=2"); 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;">
                    <?php endwhile; ?>
                    <b><a href="#" rel="bookmark">Kategorinin diğer yazıları</a></b>
                    
                
                </div>    
                      </div>
    				  </div>
                    
        <div id="homepageright">            
                <div class="hpfeatured">
                <h3>GÜZELLİK</h3>
                <?php $recent = new WP_Query("cat=12&showposts=2"); 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;">
                    <?php endwhile; ?>
                    <b><a href="#" rel="bookmark">Kategorinin diğer yazıları</a></b>
                                            
                </div>    
                      </div>
    				  </div>
                         
            <div id="homepagebottom">
            <div class="hpbottom">
                <h3>TEST</h3>                
                    <?php $recent = new WP_Query("cat=10,20,8,22,17,100,13,16,18,12,14,19&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="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, "[Devamını oku]"); ?>
                        
                    <div style="border-bottom:1px dotted #2255AA; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;">
                    <?php endwhile; ?>
                    <b><a href="#" rel="bookmark">Kategorinin diğer yazıları</a></b>
                
                </div>
            
            </div>
    		</div>
    </div>
            
        
        
    <?php include(TEMPLATEPATH."/sidebar.php");?>
            
    </div>
    
    <!-- The main column ends  -->
    
    <?php get_footer(); ?>
  • 15-09-2009, 03:54:12
    #8
    div,ler orjinalinde var onları kaldırınca bozuluyor ..
    bunuda denim oLmaadı..

    YArdım edebilecek dier arkadaşlar..