Query pages by category
It’s because the default query is only querying for post_type post, you have to explicitly add page to get it to also query for pages: $args = array( ‘cat’ => $current, ‘post_type’ => array( ‘page’, ‘post’ ) ); query_posts( $args );