Hallo
Ich habe einige eigene Seiten erstellt,
und per template Änderung wird in jenen Seiten immer eine bestimmte Kategorie angezeigt.
Konkret handelt es sich hierbei jetzt um die Seite "Xbox360 Reviews", in der alle Artikel aus der Kategorie xbox360-reviews angezeigt werden.
allerdings wird ein Artikel nicht angezeigt.
(ja, Kategorie ist in der Artikelerstellung korrekt gewählt)
Ausserdem erscheint wenn ich unten auf "older entries" klicke nochmals die komplett gleiche Seite wie die erste Seite die angezeigt wird.
(die IDs der Seiten sind aber nicht identisch bzw. die page= ist anders.)
Weiters fehlt mir bei der seite der komplette Seitenhintergrund - aber bei allen anderen erstellten Seiten ist er da, obwohl diese gleich erstellt wurden...
Ich steh voll am Schlauch :confused:
vielen Dank für eure Hilfe im Voraus!
hier das Template um etwaige Fehler in meiner Templateerstellung aufzudecken:
<?php
/*
Template Name: Xbox360Reviews
*/
?>
<?php get_header(); ?>
<div class="contentLayout">
<div class="sidebar1">
<?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
</div>
<div class="content">
<?php the_content('<p>' . __ ('Weiterlesen »') . '</p>'); ?>
<?php $more = 0; ?>
<div class="Block">
<div class="Block-body">
<div class="BlockContent">
<div class="BlockContent-body">
<?php if (have_posts()) : ?>
<?php query_posts('category_name=xbox360-reviews'); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
</div>
<div class="BlockContent-tl"></div>
<div class="BlockContent-tr"><div></div></div>
<div class="BlockContent-bl"><div></div></div>
<div class="BlockContent-br"><div></div></div>
<div class="BlockContent-tc"><div></div></div>
<div class="BlockContent-bc"><div></div></div>
<div class="BlockContent-cl"><div></div></div>
<div class="BlockContent-cr"><div></div></div>
<div class="BlockContent-cc"></div>
</div>
</div>
<div class="Block-tl"></div>
<div class="Block-tr"><div></div></div>
<div class="Block-bl"><div></div></div>
<div class="Block-br"><div></div></div>
<div class="Block-tc"><div></div></div>
<div class="Block-bc"><div></div></div>
<div class="Block-cl"><div></div></div>
<div class="Block-cr"><div></div></div>
<div class="Block-cc"></div>
</div>
</div>
</div>
<?php get_footer(); ?>
Alles anzeigen
Bei Interesse sich die seite Selbst anzusehen: