• 30-03-2017, 11:52:51
    #1
    Merhaba dostlar, forum üzerinde satılan self temasında panelde sidebar kaldırma mevcut. Sidebar olmasını seçtiğin zaman konular artacağına genişleme oluyor sadece. Görsellerle göstermek gerekirse;

    ORJİNAL GÖRÜNTÜ BU ŞEKİLDE


    SİDEBAR KALDIRMAYI SEÇİNCE


    OLMASINI İSTEDİĞİM


    SON EKLENEN SAYFALAMA 2 KODLARI BU ŞEKİLDE

    				<!-- Son Konular Dizilim - 2 -->
    				<div class="son-konular">
    				
    					<div class="s-baslik">
    						<span class="son-konu-bas"><i class="<?php if(empty($ikon)){echo "fa fa-arrow-right";}else{echo $ikon;} ?>" aria-hidden="true"></i> SON EKLENENLER</span>
    						<!--<a href="#">tümü</a>-->
    					</div> 
    					 <?php if(have_posts()) : ?>
    					<?php while(have_posts()):The_post();?> 
    					<div class="post-dizilim2">
    					<?php 
    						/* Cat Color Option */
    						$category = get_the_category();$the_category_id = $category[0]->cat_ID;if(function_exists('rl_color'))
    						{$rl_category_color = rl_color($the_category_id);} 
    												
    						/* Cat Link Option */
    						$get_cat        = get_the_category();$first_cat      = $get_cat[0];$category_name  = $first_cat->cat_name;
    						$category_link  = get_category_link( $first_cat->cat_ID ); 
    					?>
    						<div class="post-dizilim2-image">
    							<a href="<?php the_permalink() ?>">
    							<?php if ( has_post_thumbnail() ) {        
    									// Eğer bir resim atanmışsa bu resmi göster     
    									the_post_thumbnail();         } else {}	?>	
    							<div class="post-dizilim2-image-shape"></div>			
    							</a>
    							<div class="post-dizilim2-cat"><a href="<?php echo esc_url( $category_link ); ?>" style="background:#<?php echo $rl_category_color; ?>;">							
    							<?php $categories = get_the_category();
    								if ( ! empty( $categories ) ) 
    								{ echo esc_html( $categories[0]->name ); } ?></a></div>
    						</div>
    						<div class="post-dizilim2-bottom">
    							<a href="<?php the_permalink() ?>" class="post-dizilim2-baslik"><?php the_title(); ?></a>
    							<div class="post-dizilim2-infos">
    								<span><i style="font-size:15px;color:#707070;margin-top:0px;float:left;" class="fa fa-calendar-o" aria-hidden="true"></i> <?php nezaman_yazildi(); ?></span>
    								<span><i style="font-size:13px;color:#707070;margin-top:1px;float:left;" class="fa fa-comment-o" aria-hidden="true"></i> <?php comments_number('0', '1', '%' );?></span>
    								<span><i style="font-size:13px;color:#707070;margin-top:2px;float:left;margin-left:-3px;" class="fa fa-eye" aria-hidden="true"></i> <?php if(function_exists('the_views')) { the_views(); } ?></span>
    							</div>
    							<div class="dizilim2-paragraph"><p><?php echo get_excerpt(165);?>..</p></div>
    						</div>
    					</div>
    					<?php endwhile; ?>
    					<?php endif; ?>	
    <div class="clear" style="clear:both;"></div>
    					<?php sayfalama(); ?>
    
    
    
    				
    				</div>
    Bu nasıl düzeltebilirim?
  • 30-03-2017, 13:21:18
    #2
    index.php ye get_sidebar fonksiyonunu manuel eklemeyi denediniz mi?
  • 30-03-2017, 13:37:25
    #3
    sidebarı istemiyorum hocam zaten. sidebarı kaldırınca son eklenenler yan yana 2 tane geliyor ama genişliyor son eklenenler 2. resimdeki gibi. Ben olmasını istediğim gibi yazdığım şekide son eklenenler 3 lü şekilde olsun istiyorum.
  • 30-03-2017, 13:55:43
    #4
    Anladım. Css ile düzeltilebilir. Site adresini atın yardımcı olayım.
  • 30-03-2017, 22:06:13
    #5
    sidebarı kaldırdıktan sonra style.css e aşağıdaki kodu ekleyin:
    .post-dizilim2 {
    width: 31.199%;
    }
  • 30-03-2017, 23:47:45
    #6
    bilimokur adlı üyeden alıntı: mesajı görüntüle
    sidebarı kaldırdıktan sonra style.css e aşağıdaki kodu ekleyin:
    .post-dizilim2 {
    width: 31.199%;
    }
    malesef hocam değişen birşey olmadı.
  • 31-03-2017, 17:57:53
    #7
    ctrl+f5 yaparak cache değiştirdiniz mi?
  • 31-03-2017, 23:02:23
    #8
    bilimokur adlı üyeden alıntı: mesajı görüntüle
    ctrl+f5 yaparak cache değiştirdiniz mi?
    oldu hocam çok sağol. aynısını kategori sayfalarınada uygulayabilir miyim?