• Resolved yozz84

    (@yozz84)


    in my wp i have “WP Page Numbers” plugin…

    i’ve paste the code from plugin faq… and its not working… the same is when i had this:

    <p class="bb-t10 bb-fa"><?php next_posts_link('&laquo; Older Entries') ?></p>
    <p class="bb-t10 bb-fc next"><?php previous_posts_link('Newer Entries &raquo;') ?></p>

    so its not the plugin but something in my template… but i don’t know what…

    this template show me posts from “www” category… in my wp preferences i have: 4 posts per pages… in “www” are 7 posts…

    when i click on second page, the site is changed, but the posts are the same on site…

    could someone help me with this?

    <?php query_posts('category_name=www'); ?>
                <?php if (have_posts()) : ?>
                    <?php while (have_posts()) : the_post(); ?>
    
                        <div class="bb-100" id="post-<?php the_ID(); ?>">
    
                            <h4><?php the_title(); ?></h4>                
    
                            <!--  | <?php comments_popup_link('Brak komentarzy', '1 Komentarz', '% Komentarze(y)'); ?> <br /> -->
                            <?php the_content('Czytaj dalej &raquo;'); ?>
                        </div>
    
                    <?php endwhile; ?>
    
                    <div class="bb-t30 nav-entry-pages">
    
                        <div class="bb-t10 bb-fa"><?php if(function_exists('wp_page_numbers')) : wp_page_numbers(); endif; ?></div>
    
                    </div>
    
                    <?php else : ?>
    
                        <h1>error</h1>
    
                    <?php endif; ?>
    
    </div>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘next page/posts problem’ is closed to new replies.