Comments on: Complex loop with in_category(): Part 1 http://www.studiograsshopper.ch/code-snippets/complex-loop-with-in-category-part-one/ Sun, 22 Mar 2015 14:44:25 +0000 hourly 1 http://wordpress.org/?v=4.1.1 By: Top Englsih Songs http://www.studiograsshopper.ch/code-snippets/complex-loop-with-in-category-part-one/#comment-30673 Fri, 10 Jun 2011 12:05:44 +0000 http://studiograsshopper.ch/?p=27#comment-30673 I want to use Or operator instead of And, like this :

if (in_category(3) || in_category(6) && in_category(7)) {

But it is not working Help :S

]]>
By: Shovan Sargunam http://www.studiograsshopper.ch/code-snippets/complex-loop-with-in-category-part-one/#comment-29409 Thu, 19 May 2011 15:34:37 +0000 http://studiograsshopper.ch/?p=27#comment-29409 yaya works, use || for or

Cheers
Shovan

]]>