[Plugin: Smarter Navigation] What about query_posts?
-
Hi Scribu. Another great plugin of your own. Your rocks man!.
I’m having an issue with query_posts at the index page. I have 2 categories in my site: “portfolio” and “news / blog”. At the home page, I made a query_posts from portfolio category, so I display all post into it child categories. When I’m going to a single post from category archive, the plugins works like a charm. But when I’m going to a single post from home page, the next/previous links also links to posts into “news / blog” child categories. I tried placing the code as it follows:
<?php previous_post_smart ('%link','prev', TRUE, '10 and 11'); ?> <?php next_post_smart ('%link','next', TRUE, '10 and 11'); ?>
(10 and 11 are the cat ID for news / blog child categories).
Do I doing anything wrong?.
Thanks in advance and sorry for my english.
- The topic ‘[Plugin: Smarter Navigation] What about query_posts?’ is closed to new replies.