Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Darnok017 on "Loop problem"

$
0
0

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 all articles
Browse latest Browse all 8245

Trending Articles