• 02-03-2009, 18:30:04
    #1
    Merhaba arkadaslar,

    Suanda Revolution temasi kullaniyorum ve kategorilerden herhangibir tanesine tiklarsaniz gordugunuz gibi yazilardan bir kismi cikiyor bunu ben boyle ayarladim.

    Yanliz kategorilerime bastigimda sol tarafinda resim sag tarafinda yazinin bir kismi olmasini istiyorum. su temadaki gibi burdan. yani her yazi esit sekilde olucak ve yaninda bir adet resim thumbnail olarak(ozel alandan). Bunu nasil yapabilirim?

    Yardim ederseniz sevinirim arkadaslar...
  • 02-03-2009, 19:30:51
    #2
    Olursa böyle birşey harika olur valla bende aynı temayı kullanıyorum
  • 02-03-2009, 21:21:04
    #3
    archive.php öncelikle burasını home.php deki kodları bakarak düzenliyebilirsin.
  • 02-03-2009, 21:33:32
    #4
    denedim malesef basaramadim. ayrdim edebilcek arkadas varmi acaba
  • 02-03-2009, 21:43:11
    #5
    yazını eklerken resim ekledikten sonra resmi soLa yasLa ve yazının uzunluğuna göre resmin boyutunu düzenLersen oLabilir
  • 02-03-2009, 21:44:51
    #6
    archive.php veya category.php yle birlikte home.php yide atarmısın?
  • 02-03-2009, 21:57:13
    #7
    Benimde aynı tema ben atayım


    Arşivler (archive.php)
    <?php get_header(); ?>
    
    <div id="content">
    
        <div id="contentleft">
        
            <div class="postarea">
        
            <?php include(TEMPLATEPATH."/breadcrumb.php");?>
              
                <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
                <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
                
                <div class="date">
                
                    <div class="dateleft">
                        <p><span class="time"><?php the_time('d F Y'); ?></span> Yazan <?php the_author_posts_link(); ?> &nbsp;<?php edit_post_link('(Düzenle)', '', ''); ?> <br /> Kategori <?php the_category(', ') ?></p> 
                    </div>
                    
                    <div class="dateright">
                        <p><span class="comment"><?php comments_popup_link('Yorum yok', '1 Yorum', '% Yorum'); ?></span></p> 
                    </div>
                    
                </div>
            
                <?php the_content(__('Devamini oku'));?><div style="clear:both;"></div>
                
                <div class="postmeta2">
                    <p><span class="tags">Etiketler: <?php the_tags('') ?></span></p>
                </div>
                
                <?php endwhile; else: ?>
                
                <p><?php _e('Uzgunum aradiginiz sey burada degil.'); ?></p><?php endif; ?>
                <p><?php posts_nav_link(' — ', __('&laquo; Onceki Yazilar'), __('Sonraki yazilar &raquo;')); ?></p>
                
            </div>
                    
        </div>
        
    <?php include(TEMPLATEPATH."/sidebar.php");?>
            
    </div>
    
    <!-- The main column ends  -->
    
    <?php get_footer(); ?>
    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 d13slideshow(); ?>
                
                </div>
                
            </div>
                        
            <div id="homepageleft">
            
        
                    
                <div class="hpfeatured">
                <h3>ORTAYA KARISIK</h3>
                
                
                
                    <?php $recent = new WP_Query("cat=1,30,31,457,38,40,54,41,13,53,458,12,39&showposts=7"); 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; ?>
    
                    
                    
                    
                    
                </div>            
                    
            </div>
            
            <div id="homepageright">
            
            
            
                <div class="hpfeatured">
                <h3>Mobil-Teknoloji-Bilim </h3>
                
                    
                
                    <?php $recent = new WP_Query("cat=45,65,8&showposts=7"); 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-->
                    
                    
    
                </div>        
                
            </div>
            
            <div id="homepagebottom">
            
                <div class="hpbottom">
                
                    <h3>Driver</h3>
        
                    
                    
                    <?php $recent = new WP_Query("cat=109&showposts=11"); 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, "[Devamini 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.xxx.com/katagori/guncel-yazilimlar/driver rel="bookmark">Kategorinin diger yazilari</a></b>
                
                </div>
            
            </div>
            
        </div>
        
    <?php include(TEMPLATEPATH."/sidebar.php");?>
            
    </div>
    
    <!-- The main column ends  -->
    
    <?php get_footer(); ?>
  • 02-03-2009, 22:03:41
    #8
    anarschi adlı üyeden alıntı: mesajı görüntüle
    archive.php veya category.php yle birlikte home.php yide atarmısın?
    buyrun home.php burda

    archive.php burda

    Simdiden tesekkur ediyorum..

    arkadas atmis :d
  • 02-03-2009, 22:11:27
    #9
    Alıntı
    <?php get_header(); ?>
    <div id="content">
    <div id="homepage">
    <div id="homepagebottom">
    <div class="hpbottom">
    <h3>Driver</h3>
    <?php if (have_posts()) : while (have_posts()) : 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, "[Devamini oku]"); ?>
    <div style="border-bottom:1px dotted #2255AA; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>
    <?php endwhile; ?>

    <p><?php _e('Uzgunum aradiginiz sey burada degil.'); ?></p><?php endif; ?>
    <p><?php posts_nav_link(' — ', __('&laquo; Onceki Yazilar'), __('Sonraki yazilar &raquo;')); ?></p>


    </div>
    </div>
    </div>
    </div>
    <?php include(TEMPLATEPATH."/sidebar.php");?>
    </div>
    <!-- The main column ends -->
    <?php get_footer(); ?>
    archive.php yi yedekle.bunu atsana bi..baya karışıkmış ya