Hallo,
mir gefällt das theme Anthurium Mix wirklich gut - nur leider unterscheidet es nicht zwischen Beiträgen und Seiten, hat keine post.php hat keine page.php, hat alles in diese index.php gepackt:
PHP
<?php
get_header();
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_date('','<h2>','</h2>'); ?>
<div class="post">
<h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?>
</div><!-- end META -->
<div class="storycontent">
<?php the_content(__('(more...)')); ?>
</div><!-- end STORYCONTENT -->
<div class="feedback">
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</div><!-- end FEEDBACK -->
<!--
<?php trackback_rdf(); ?>
-->
</div><!-- end POST -->
<div id="comments-post">
<?php comments_template(); // Get wp-comments.php template ?>
</div><!-- end COMMENTS-POST -->
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?>
<?php get_footer(); ?>
Alles anzeigen
Nun möchte ich die Zeile
aber nur in den Beiträgen und nicht auf den Seiten haben.
Hat jemand ne Idee, wie das hinzubekommen ist?