• Resolved michaeloc

    (@michaeloc)


    Hi,

    This statement is not working for me, the first part works on it’s own and the second part works on it’s own but when I try to use them together with “||” the code is not executing. Would appreciate any thoughts. thanks

    !is_page(array(677, 644, 674)) || !in_category(array(10,11,12))

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    depending on what you are trying to achieve, try the AND && operator;

    example:

    !is_page(array(677, 644, 674)) && !in_category(array(10,11,12))

    Thread Starter michaeloc

    (@michaeloc)

    Thanks Alyhymyth,

    That worked! much appreciated

    Mike

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘widget logic conditional statement’ is closed to new replies.