I created multiple posts pages through wp-query.
I created templates from the index php and added the code below:
<?php query_posts(‘cat=-1, -2, -3, -4, -5, -6, -8, -9, -10, -11’); ?>
All my posts shows up in the default index.php and only those relevant to each category in the relevant templates – perfect!
My problem: When I submit a post to more than one category, it will show up in the index.php but in neither og the templates it is suppose to show up.
- The topic ‘Can't post in more than one category with Wp-Query…’ is closed to new replies.