I’m probably missing something obvious here as i’m just learning php, but just wondering why only the first parameter works when I use query_posts
e.g here it uses $paged properly, but doesnt exclude categories..
query_posts('posts_per_page=5&paged=' . $paged, "cat=-16,-15,-14" );
Here it is vice versa,
query_posts( "cat=-16,-15,-14", 'posts_per_page=5&paged=' . $paged );
Is there are proper way i’m supposed to include these that im missing?
Thanks
I think you want:
They way you have it you are calling query_posts with two arguments, when that function only takes a single one.