Beiträge von brillesblog

    Hallo, ich habe gesehen dass, bei manchen Templates in Klammen dargestellt ist, bzw.angezeigt wird, wie viele Post in den Kategorien schon sind.
    Nun wollte ich euch mal fragen ob es reicht dort einen Code inzufügen, oder muss man sich dazu ein Plugin runterladen ?
    Falls letzteres, könnt Ihr mir ein einfache empfehlen ?

    gruß Johannes

    <?php get_header(); ?>

    <div class="content">

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class="block">
    <div class="postinfo">
    <div class="date">
    <div class="month"><?php the_time('F'); ?></div>
    <div class="day"><?php the_time('j'); ?></div>
    </div>
    <h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
    <div class="postcc">
    <div class="postcats">
    <?php the_category(', '); ?>
    </div>
    <div class="postcomments">
    <?php comments_popup_link('0 Comments', '1 Comment', '% Comments'); ?>
    </div>
    </div>
    </div>
    <div class="post">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div><?php if(function_exists('the_ratings')) { the_ratings(); } ?>
    </div>

    <?php endwhile; ?>

    <div class="navigation">
    <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    </div>

    <?php else : ?>

    <div class="block">
    <div class="postinfo">
    <h1>Not Found</h1>
    </div>
    <div class="post">
    <p>Sorry, but you are looking for something that isn't here.</p>
    </div>
    </div>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>