Wenn Fehlermeldungen kommen, dann wäre es klug, sie und den Quelltext zu posten. Wie dem auch sei, hier in 30 Sekunden zusammengeschustert: Aber ich bin mir nicht sicher, ob er dann wirklich alle Beiträge abruft:
<?php
/*
Template Name: Nur Titel
*/
?>
<?php get_header(); ?>
<div id="c_content">
<div id="post_entry">
<?php query_posts('cat=0');?>
<ul>
<?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
<div class="post_meta" id="post-<?php the_ID(); ?>">
<div class="post_top"></div>
<div class="post_index">
<div class="post_title">
<div class="calendar">
</div>
<div class="post_info">
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
</div>
</div>
</div>
<div class="post_bottom"></div>
</div>
<div class="clear_content"></div>
<?php endwhile; ?>
</ul>
<?php else: ?>
<h3>The Page Had Been Deleted...</h3>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
Im Zweifelsfall also das nehmen:
<?php
/*
Template Name: Nur Titel
*/
?>
<?php get_header(); ?>
<div id="c_content">
<div id="post_entry">
<?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
<div class="post_meta" id="post-<?php the_ID(); ?>">
<div class="post_top"></div>
<div class="post_index">
<div class="post_title">
<div class="calendar">
</div>
<div class="post_info">
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
</div>
</div>
</div>
<div class="post_bottom"></div>
</div>
<div class="clear_content"></div>
<?php endwhile; ?>
<?php else: ?>
<h3>The Page Had Been Deleted...</h3>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen