• Hi
    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.

    url: http://www.chrisplaysgolf.com

    regards

Viewing 1 replies (of 1 total)
  • what was the reason in the first place to exclude the categories in the templates, instead of including a single category in each one?

Viewing 1 replies (of 1 total)
  • The topic ‘Can't post in more than one category with Wp-Query…’ is closed to new replies.