• Hi,

    I have a query with an array containing all post_types. This sort of works fine although the final part of my query after the array doesn’t seem to work, it should only show category 13 and 5 posts

    my site: here

    <?php query_posts(array(
    	        'post_type' => array(
    	                    'post',
    	                    'page',
    	                    'our-work',
    	                    'careers',
    						'blog',
    						'news'
    	                ),'&cat=13&showposts=5')); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘query posts – post_type array’ is closed to new replies.