• Hi,

    Maybe i’m writting in wrong topic (sorry for that), but i did’t know where πŸ™‚
    I have a problem with posts.
    I used

    <?php query_posts('category_name=Bez kategorii'); ?>
    
    <div id="primary">
      <div iv="content" role="main">
    
    <?php if ( have_posts() ) : ?>
    
    				<?php forever_content_nav( 'nav-above' ); ?>
    
    				<?php
    
    				while ( have_posts() ) : the_post(); ?>
    
    					<?php get_template_part( 'content', get_post_format() ); ?>
    
    				<?php endwhile; ?>
    
    				<?php forever_content_nav( 'nav-below' ); ?>
    
    <?php endif; ?>
    
    			</div><!-- #content -->
    		</div><!-- #primary -->

    And in every page i see the same 5 posts. Where is the problem?

    Thanks for help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • For starters, there shouldn’t be a space between ‘Bez” and ‘kategorii’.

    Thread Starter Darnok017

    (@darnok017)

    I know, i tried without space and it’s the same problem…
    I think that the loop takes the same loop for every page. Pagination works, so it knows that i have more than 6 posts but it shows the same posts on each page.

    What is your goal? I don’t see a description from you of what you are truly trying to achieve.

    Thread Starter Darnok017

    (@darnok017)

    I have a template Forever.
    It has a main page which has posts.
    The problem is that it has six posts called recent which are ok for me, but there is also six posts below which are called content posts. I want to put those six content post to different page.
    There is a link to the page http://lightcraft.pl/2014/wpisy/ and I want to do it like here http://lightcraft/2013

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Loop problem’ is closed to new replies.