Google Fan Webmaster Forum - Tekil Mesaj Gösterimi - Wordpress Yazılarınızı Sayfalara Bölün (MultiPage)
Tekil Mesaj Gösterimi
  #10 (permalink)  
Eski 02-10-2007, 23:23:09
zaqwe - ait Avatar
zaqwe zaqwe isimli üyemiz çevrimdışıdır. (Offline)
 
Yaş: 25
Mesajlar: 337
iTrader Puanı: (1)
iTrader Feedback: (100%)
Rep puanı: 1
zaqwe isimli üyemiz hakkına hiçbir bilgimiz yok.
Tanımlı

bunu tam olarak nereye yazcaz ilk defa kuruyorum wp , ve bu temayı kullanıyorum;
xsized.de/wordpress-theme-not-so-fresh/, index.php ve single.php var anlamadım,
index php kodları;

<?php get_header(); ?>

<?php if (have_posts()) : ?>

<?php $post = $posts[0]; // Thanks Kubrick for this code ?>

<?php if (is_category()) { ?>
<div class="page-title">
<h2 class="page-title-border"><?php echo single_cat_title(); ?> <?php _e('Arşivi'); ?></h2>
</div>
<?php } elseif (is_day()) { ?>
<div class="page-title">
<h2 class="page-title-border"><?php the_time('F j, Y'); ?> <?php _e('Arşivi'); ?></h2>
</div>
<?php } elseif (is_month()) { ?>
<div class="page-title">
<h2 class="page-title-border"><?php the_time('F, Y'); ?> <?php _e('Arşivi'); ?></h2>
</div>
<?php } elseif (is_year()) { ?>
<div class="page-title">
<h2 class="page-title-border"><?php the_time('Y'); ?> <?php _e('Arşivi'); ?></h2>
</div>
<?php } elseif (is_author()) { ?>
<div class="page-title">
<h2 class="page-title-border"><?php _e('Author Archive'); ?></h2>
</div>
<?php } elseif (is_search()) { ?>
<div class="page-title">
<h2 class="page-title-border"><?php _e('Search Results'); ?></h2>
</div>
<?php } ?>


<?php while (have_posts()) : the_post(); ?>

<div class="post" id="post-<?php the_ID(); ?>">

<h2 class="posttitle">
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permalink to'); ?> <?php the_title(); ?>"><?php the_title(); ?></a>
</h2>

<p class="postmeta">
Yazan, <?php the_author('nickname');?>&nbsp;
<span class="post-date"><?php the_time('j M, Y') ?></span>&nbsp;
<span class="post-comment"><?php comments_popup_link(__('Yorum yok'), __('1 Comment'), __('% Comments'), 'commentslink', __('Comments are off')); ?></span>
<?php edit_post_link(__('Edit'), ' · ', ''); ?>
</p>
<?php the_tags('Etiketler: ', ', ', '<br />'); ?>
<div class="postentry">
<?php if (is_search()) { ?>
<?php the_excerpt() ?>
<?php } else { ?>
<?php the_content(__('Read the rest of this entry &raquo;')); ?>
<?php } ?>
</div>

<!--
<?php trackback_rdf(); ?>
-->

</div>

<?php endwhile; ?>

<div class="pages">
<div class="pages-border"></div>
<span class="page-previous"><?php posts_nav_link(' ', '', __('&laquo; Bayat muhabbetler')); ?></span>
<span class="page-next"><?php posts_nav_link('', __('Taze muhabbetler &raquo;'), ''); ?></span>
</div>

<?php else : ?>

<div class="post">
<h2><?php _e('Sonu&ccedil; bulunamadı.'); ?></h2>
</div>

<?php endif; ?>


<?php get_sidebar(); ?>

<?php get_footer(); ?>
__________________
Open-Site.org editör...
Alıntı ile Cevapla