• 20-04-2010, 18:29:46
    #1

    İstediğimin şekli aşşağıdaki gibidir.


    Home.php kodu aşşağıdaki gibidir. Yardımcı olursanız sevinirim

    <?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">
    		
    			<!--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>Lüks Araç Kiralama</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=1&showposts=3"); 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="#" 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>Minibüs Kiralama</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=1&showposts=3"); 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="#" rel="bookmark">Kategorinin diğer yazıları</a></b>
    				
    			</div>		
    			
    		</div>
    		
    		<div id="homepagebottom">
    		
    			<div class="hpbottom">
    			
    				<h3>Araç Kiralama</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=1&showposts=3"); 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, "[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="#" 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(); ?>
  • 20-04-2010, 18:34:12
    #2
    Alıntı
    </div>

    <?php include(TEMPLATEPATH."/sidebar.php");?>
    Kodunun üstüne ekleyin;

    Alıntı
    <div id="homepagebottom">

    <div class="hpbottom">

    <h3>Araç Kiralama</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=1&showposts=3"); 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, "[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="#" rel="bookmark">Kategorinin diğer yazıları</a></b>

    </div>

    </div>
  • 20-04-2010, 18:48:56
    #3
    Sidebar kaydı şimdide
  • 20-04-2010, 18:57:50
    #4
    Düzeldi Teşekkürler (:
  • 20-04-2010, 23:40:58
    #5
    Aynı temayı bende kullanıyorum. Çok illet bir tema bu. Ayarları - eklentileri derken 2-3 gün rahat uğraşmıştım..