query_posts('') issue
-
Hi,
I need some help with a very odd problem. I have been using the code below without problems until today.
<h2 class="home">ROAD BIKE OFFERS</h2> <?php $category_description_road = query_posts('cat=125&posts_per_page=4'); get_template_part( 'content','home' ); ?> <h2 class="home">MOUNTAIN BIKE OFFERS</h2> <?php $category_description_mtb = query_posts('cat=126&posts_per_page=4'); get_template_part( 'content','home' ); ?> <h2 class="home">TOWN & CITY BIKE OFFERS</h2> <?php $category_description_city = query_posts('cat=128&posts_per_page=4'); get_template_part( 'content','home' ); ?>After adding some new posts in all 3 categories I’m not getting much of an output. In fact I found that each time I entered a post one was removed from the output using the above code.
Has anyone had this issue before?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘query_posts('') issue’ is closed to new replies.