Also ich habe mir die Anleitung auf Texto durchgelesen und bekomme es einfach nicht hin. Auf einer bestimmten Seite möchte ich alle Posts ganz normal darstellen. Habe mir ein Template erstellt (aus der index.php) und der Seite das Template zugewiesen, aber die Artikel (zur Zeit nur einer) werden nicht "normal dargestellt.
Anbei der Code:
PHP
<?php
/*
Template Name: News
*/
?>
<?php include('header.php'); ?>
<div id="container" class="clearfix">
<?php include('sidebar.php'); ?>
<div id="topcontentdouble"></div>
<div id="content">
<div class="contentright">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
<div class="title" id="post-<?php the_ID(); ?>">
<a href="<?php the_permalink() ?>" rel="bookmark">
<?php the_title(); ?>
</a>
</div>
<div class="storycontent">
<?php the_content(__('(weiterlesen)')); ?>
</div>
<?php wp_link_pages(); ?>
<!--<?php trackback_rdf(); ?> -->
</div> <!-- Closes the post div-->
<?php endwhile; else: ?>
<?php _e('Sorry, keine entsprechenden Beiträge gefunden.'); ?>
<?php endif; ?>
<div class="postnavigation">
<div class="rightdouble">
<?php posts_nav_link('','','Ältere Beiträge + »') ?>
</div>
<div class="leftdouble">
<?php posts_nav_link('','« + Neuere Beiträge ','') ?>
</div>
</div>
</div> <!--Closes the contentright div-->
</div> <!-- Closes the content div-->
</div> <!-- Closes the container div-->
<?php include('footer.php'); ?>
Alles anzeigen