Fooling is_archive()
-
Hello,
I’ve written a page template for some page on my website. This page template displays some things, among which is a listing of all posts from some category. I see that the sidebar treats this page as ‘is_archive’, although I don’t want it to. I suspect this is because I call ‘query_posts’ in the template, like this:
<?php query_posts("category_name=Articles"); ?>
while (have_posts()) : the_post(); ?>
…
…
<?php endwhile; ?>I don’t want this page to be detected as “is_archive”. How can I do this ?
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Fooling is_archive()’ is closed to new replies.