query_posts results change when I log in
-
I am having a little trouble with query_posts. It seems that when I am not logged in it does not show all the results, but when I log in it does. Here is the exact code I am using
<?php $page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; ?>
<?php query_posts(‘cat=37&posts_per_page=100&paged=’.$page); ?>I did my best to compare the results and it looks like it is just missing the 8 latest posts for logged out users.
I have no idea how to debug this. Can anyone give me some pointers?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘query_posts results change when I log in’ is closed to new replies.