losing pagination
-
Hi,
i wanted to show an specific category on the homepage and another category in another place in the site. so i came to this code before the loop in the index page :
<?php
if (is_category(‘5’))
{
query_posts(‘cat=5&showposts=’.get_option(‘posts_per_page’));
}else{
query_posts(‘cat=1&showposts=’.get_option(‘posts_per_page’));
}
?>It seems to word but when i try to select the second page it always loads the first page.
Any help?
Thanks in advance.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘losing pagination’ is closed to new replies.