Problem with php query posts URGENT!!!
-
i am just about to launch my new website, and would like to hide all of my blog posts from the homepage, i am currently using
<?php query_posts(‘cat=-1’); ?>but when i do, the page navigation (previous, next) wont work, every time i click on it, it shows the exact same page, (same posts show)
so to sum up i need a new code to replace
<?php query_posts(‘cat=-1’); ?>and replace it with a code that will remove the blog posts and will still let the page nav work!!!
Thanks in advanced
Adrian
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Problem with php query posts URGENT!!!’ is closed to new replies.