spickzettel: Ich bekomme das bei nicht eingbaut, wenn Du nochmal schauen könntest? Meine Index.php sieht so aus:
<?php get_header(); ?>
<div id="content">
<div class="random">
<?php random_posts(1, 30, '<h4>Aus dem Kochwerkstatt-Archiv:</h4>',': ', '',' ...','false','true'); ?>
</div>
<br />
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post">
<h1 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<span class="date"><?php the_time('l, j. F Y') ?></span>
<div class="entry">
<!--<?php the_excerpt(); ?>-->
<?php the_content(__('| Read the rest of this entry ...','relaxation')); ?>
</div>
Tags:
<?php the_post_keytags(false, 'tag', 'Alle Beiträge lesen zu '); ?><br /><br />
<p class="postmetadata"><?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link(__('Edit','relaxation'),'','<strong> | </strong>'); ?><?php comments_popup_link(__('Comments (0)','relaxation'), __('Comments (1)','relaxation'), __('Comments (%)','relaxation')); ?><strong> | </strong><a href="<?php trackback_url(display); ?>">Trackback</a><strong> | </strong><?php if(function_exists('the_views')) { the_views(); } ?></p>
<!--
<?php trackback_rdf(); ?>
-->
</div>
<div class="postfooter"> </div>
<?php endwhile; ?>
<div class="navigation"><?php wp_pagenavi(); ?>
</div>
<?php else : ?>
<h2 class="center"><?php _e('Not found.'); ?></h2>
<p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
Mit diesen endif, endwhiles, whiles, else,etc..... das schnall ich einfach nicht! Da brech ich mir jedesmal die Arme.