• 17-10-2010, 16:20:49
    #10
    Üyeliği durduruldu
    Up lütfen..
  • 17-10-2010, 16:23:03
    #11
    Üyeliği durduruldu
    Arkadaşlar buyrun index.php rarladım daha rahat görebilmeniz için..
    http://rapidshare.com/files/425592456/index.rar
  • 17-10-2010, 18:32:13
    #12
    Edit:Yanlış anlaşılma x:
  • 17-10-2010, 18:36:07
    #13
    mre
    Kimlik doğrulama veya yönetimden onay bekliyor.
    excerpt kullaniyor isen function dosyasina bunu ekle


    Alıntı
    function new_excerpt_more($more) {
    return ' ...';
    }
    add_filter('excerpt_more', 'new_excerpt_more');
    ... olan yeri kendi istediginle degis
  • 18-10-2010, 01:40:45
    #14
    Üyeliği durduruldu
    korcerrah adlı üyeden alıntı: mesajı görüntüle
    excerpt kullaniyor isen function dosyasina bunu ekle


    ... olan yeri kendi istediginle degis
    Hocam ben excerpti tamamen kaldırmak istiyorum
  • 18-10-2010, 02:14:30
    #15
    eger mesajin bir kismini editlemek istiyorsan yani kisaltmak istiyorsan excerpt daha kullanisli oluyor diger turlu the_content gibi bise var hani orjinal kodlarinda onu kullanip birde mesajlari kisaltmak istiyorsan limit posts diye bi eklenti vardi. eklentisiz kullanmak daha mantikli geliyor bana. istersen excerptide kac kelime gostermesini istiyorsan ayarliyabilirsin. kod :

    Alıntı
    <?php



    function new_excerpt_length($length) {

    return 55;

    }

    add_filter('excerpt_length', 'new_excerpt_length');



    function new_excerpt_more($more) {

    return ' ...';

    }

    add_filter('excerpt_more', 'new_excerpt_more');

    ?>
    return 55 yazan yere istedigin rakami yazabilirsn


    yukardaki kodlari kullanirsan hem [....] kalkar hemde kisaltmak icin eklenti kullanmadan yapmis olursun istedigini
  • 18-10-2010, 12:39:31
    #16
    Üyeliği durduruldu
    hocam tamamen kaldıramazmıyım ben bu excerpti?
  • 18-10-2010, 18:13:45
    #17
    Alıntı
    <?php get_header(); ?><?php if (is_paged()) $is_paged = true; ?> <div id="centercol" class="grid_10"> <?php // Get Options $feat_posts = get_option('woo_featured_posts'); $feat_width = get_option('woo_feat_image_width'); $feat_height = get_option('woo_feat_image_height'); $content_feat = get_option('woo_content_feat'); $home_onecol = get_option('woo_home_one_col'); $thumb_width = get_option('woo_thumb_image_width'); $thumb_height = get_option('woo_thumb_image_height'); $main_content = get_option('woo_content'); ?> <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=-".$GLOBALS[video_id].",-".$GLOBALS[asides_id]."&paged=$paged"); ?> <?php if (have_posts()) : $count = 0; ?> <?php while (have_posts()) : the_post(); $postcount++;?> <!-- Featured Starts --> <?php if ( $postcount <= $feat_posts && !$is_paged ) { ?> <div class="box"> <div class="featuredpost"> <?php woo_get_image('image',$feat_width,$feat_height,'fe at-image'); ?> <div class="date-comments"> <p class="fl"><?php the_time('j. F Y'); ?></p> <p class="fr"><span class="comments"></span><?php comments_popup_link(__('Yorum Yok',woothemes), __('1 Yorum',woothemes), __('% Yorum',woothemes)); ?></p></div> <h2><a title="<?php _e('Permanent Link to',woothemes); ?> <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <div class="entry"> <?php if ( $content_feat == "true" ) { the_content('[...]'); } else { the_content(); ?><?php } ?> </div> <span class="continue"><a title="<?php _e('Permanent Link to',woothemes); ?> <?php the_title(); ?>" href="<?php the_permalink() ?>"><?php _e('Yazının devamı »',woothemes); ?></a></span> <div class="fix"></div> </div><!--/featuredpost --> </div><!--/box --> <?php continue; } ?> <!-- Featured Ends --> <?php $counter++; $counter2++; ?> <?php if ( !$is_paged && $home_onecol == "false" ) { ?><div class="grid_5 <?php if ($counter == 1) { echo 'alpha'; } else { echo 'omega'; $counter = 0; } ?>"><?php } ?> <div class="box"> <div class="date-comments"> <p class="fr"><div class="yorm"><span class="comments"></span><?php comments_popup_link(__('Yorum Yok',woothemes), __('1 Yorum',woothemes), __('% Yorum',woothemes)); ?></p></div><p class="fr">&nbsp<b><?php the_category(',') ?></b><div class="kategoricon">Kategori:</div> </div> <h2><a title="<?php _e('Permanent Link to',woothemes); ?> <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <?php woo_get_image('image',$thumb_width,$thumb_height,' post-thumbnail'); ?> <div class="entry"> <?php if ( $main_content == "true" ) { the_content('[...]'); } else { the_content(); ?><?php } ?> </div> <span class="continue"><a title="<?php _e('Permanent Link to',woothemes); ?> <?php the_title(); ?>" href="<?php the_permalink() ?>"><?php _e('Yazının devamı »',woothemes); ?></a>

    <br>





    <div class="altyazar"><b>Tarih: </b><?php the_time('j F Y'); ?>

    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;<b>Yazar: </b><?php the_author_posts_link(); ?></div>

    </span> <div class="fix"></div> </div> <!-- end .box --> <?php if ( !$is_paged && $home_onecol == "false" ) { ?></div> <!-- end .grid5 --><?php } ?> <?php if ( $counter == 0 ) { ?> <div class="fix"></div> <?php } ?> <?php endwhile; ?> <?php endif; ?> <div class="fix"></div> <div class="more_entries wrap"> <?php if (function_exists('wp_pagenavi')) wp_pagenavi(); else { ?> <div class="fl"><?php previous_posts_link(__('&laquo; Newer Entries ',woothemes)) ?></div> <div class="fr"><?php next_posts_link(__(' Older Entries &raquo;',woothemes)) ?></div> <br class="fix" /> <?php } ?> </div> </div><!--/centercol--><?php get_sidebar(); ?><?php get_footer(); ?>


    index.phpyi bu kodlarla denermisin
  • 18-10-2010, 19:52:04
    #18
    Üyeliği durduruldu
    korcerrah adlı üyeden alıntı: mesajı görüntüle
    index.phpyi bu kodlarla denermisin
    hocam tamamen kaldıracakmı verdıgıniz kod excerptı?