Outputting these custom posts using PHP
I’m using the snippet given in your FAQ page. I’m trying to add categories to the query using categories the custom posts have been associated with. Unfortunately, I am not able to make it only output the posts I want, rather it outputs everything under that custom type. The query string I’m using is:
'posts_per_page' => 10, 'category' => '6', 'order'=> 'ASC', 'orderby' => 'title'
Can you tell me where I’m going wrong?
- The topic ‘Outputting these custom posts using PHP’ is closed to new replies.