How to display mutliple posts by ID
-
I would love to know why the results from this query only displays a single post, even though each ID is valid, and using either of the single IDs will display the appropriate post for that ID.
<?php /* Remove category 5 from Home and Archive page displays */ ?> <?php if ( is_home() || is_archive() ) { global $query_string; query_posts($query_string . '&cat=-5&p=273,225'); } ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to display mutliple posts by ID’ is closed to new replies.