Oder kann mir einer vielleicht den code in meiner index.php einbauen oder sagen was ich ändern soll bekomme es leider nicht alleine hin.
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<p class="date">
<?php the_time(__('l, F dS, Y','avenue')) ?> | <?php _e('Author: ','avenue'); ?><?php the_author_posts_link('nickname'); ?>
<span class="edit">
<?php edit_post_link(' » Edit «','',''); ?></span></p>
<div class="entry">
<?php if ( is_home() ) { ?><?php the_content(__('more...','avenue')); ?><?php } ?>
<?php if ( is_search() ) { ?><?php the_excerpt() ?><?php } ?>
</div><!-- End Entry -->
<p class="info"><span class="category"><?php _e('Category: ','avenue'); ?>
<?php the_category(', ') ?></span> | <span class="bubble"><?php comments_popup_link(__('Leave a Comment','avenue'), __('One Comment','avenue'), __('% Comments','avenue'), '', __('Comments off','avenue')); ?></span></p>
</div><!-- End Post -->
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php posts_nav_link('','',__('« previous Entries','avenue')) ?></div>
<div class="alignright"><?php posts_nav_link('',__('next Entries »','avenue'),'') ?></div>
</div><!-- End Navigation -->
<?php else : ?><h1><?php _e('Not found','avenue'); ?></h1>
<p class="sorry"><?php _e("Sorry, but you are looking for something that isn't here. Try something else.",'avenue'); ?></p>
<?php endif; ?>
</div><!-- End Content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen