Hallo,
habe wp auf 3.2 aktualisiert. Aber nun sind auf den extra dafür erstellten Templates die Artikel nicht mehr zu sehen. Wie muss ich das Template dafür verändern?
PHP
<?php get_header(); ?>
<!-- <div class="narrowcolumnwrapper2"> <div class="narrowcolumn2"> -->
<div class="content2">
<?php if(have_posts()) : ?> <?php query_posts('category_name=Newsletter'); ?> <?php while(have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="postinfo">
<!-- <?php _e('erstellt am'); ?> <span class="postdate"><?php the_time('j. F Y') ?></span> <?php _e('von'); ?> <?php the_author() ?> <?php edit_post_link('Edit', ' | ', ''); ?> | <?php _e('Kategorie:'); ?> <?php the_category(', ') ?> -->
</div>
<div class="entry">
<?php the_content('Read more »'); ?>
<p class="postinfo">
<!-- <?php _e('erstellt am'); ?> <span class="postdate"><?php the_time('j. F Y') ?></span> | <?php _e('Kategorie:'); ?> <?php the_category(', ') ?> | <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> -->
</p>
<!--
<?php trackback_rdf(); ?>
-->
</div>
</div>
<?php endwhile; ?>
<?php include (TEMPLATEPATH . '/browse.php'); ?>
<?php else : ?>
<div class="post">
<h2><?php _e('Not Found'); ?></h2>
<div class="entry">
<p><?php _e('Sorry, but you are looking for something that isn't here.'); ?></p>
</div>
</div>
<?php endif; ?>
</div><!-- End content -->
Alles anzeigen
Mfg,
Simone