Been struggling with this for a few hours now, I hope I’m not overlooking an older topic about this or anything.
What I want to do is fairly simple actually
I just want to show one post of a specific category. I’m using this code.
// the Loop
while (have_posts()) : the_post();
the_content('Read the full post »');
Now, both ‘cat=3’ & ‘posts_per_page=1’ work perfectly fine, but when using them in combination the posts per page limit just won’t work. (While the cat-part still does its job)
I have also tried ‘showposts=1’, which again works separately but not in combination with the ‘cat=3’
Thanks for taking the time!
- The topic ‘Issue with posts_per_page & category combination’ is closed to new replies.