Trying to add multiple IDs to if($post->ID!=
-
I have an element that I’m trying to remove from pages dynamically, but I cant seem to add multiple IDs and get it to exclude.
Currently the code looks like <?php if($post->ID!=’4′){ ?>
but I need something like <?php if($post->ID!=’4′, ‘677’){ ?>
but it doesn’t seem to be correct.Any help would be much appreciated
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Trying to add multiple IDs to if($post->ID!=’ is closed to new replies.