Support » Fixing WordPress » Multiple categories – by name

  • Resolved jamesjm

    (@jamesjm)


    How come category_name' => array('Ins', 'Pub'), doesn’t work, but 'cat' => '7,10', does?

    When I try the former, it just lists posts from all the categories!

    Full code: http://pastebin.com/uYgP8Tey

    It’s on the front-page in an is_frontpage bit. There are two more loops on the page. ‘Rewinding’ or clearing loops did not help.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple categories – by name’ is closed to new replies.