Einzelnen Beitrag anzeigen
Alt 14.03.2008, 14:37   #1 (permalink)
Victor Lazarro
PostRank: 6
 
Registriert seit: 18.02.2007
Ort: Berlin
Beiträge: 543
Frage zum Loop

ich hätte da mal eine Verständnisfrage, kann ich bei diesem Code (sofern er so ok ist) eine pagebar (o. ä.) für den oberen und unteren Bereich getrennt einbauen??

PHP-Code:
<h1>&raquo; zuk&uuml;nftige Termine ...</h1>
        
        <?php  query_posts('cat=7'); if (have_posts()) : ?>
        
        <?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(); ?>"><?php the_title(); ?></a></h2>
                         
                <div class="entry">
                    <?php the_excerpt(''); ?>
                </div>
        
            </div>
            <?php endwhile; ?>
        
              
        <?php endif; ?>
        
        <br />
        
        <h1>&raquo; gewesene Highlights ...</h1>
        
        <?php  query_posts('cat=10'); if (have_posts()) : ?>
        
        <?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(); ?>"><?php the_title(); ?></a></h2>
                                
                <div class="entry">
                    <?php the_excerpt(''); ?>
                </div> 
        
            </div>
            
        <?php endwhile; ?>
        
        <?php endif; ?>
danke V.
__________________
falls du Langeweile hast » meine Website
Victor Lazarro ist offline   Mit Zitat antworten