Title: conditional formatting
Last modified: August 19, 2016

---

# conditional formatting

 *  [degmsb](https://wordpress.org/support/users/degmsb/)
 * (@degmsb)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/conditional-formatting/)
 * I have the following code to process a command if the page is not 1955. I need
   to add another page to this if statement in addition to 1955.
 * Can someone tell me how to do this?
 * `<?php if(!is_page('1955') ) : ?> do soething <?php endif; ?>`
 * Many thanks!

Viewing 1 replies (of 1 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/conditional-formatting/#post-1957247)
 * the codex knows:
 * [http://codex.wordpress.org/Function_Reference/is_page](http://codex.wordpress.org/Function_Reference/is_page)
 * `!is_page(array('1955', 'another page'));`

Viewing 1 replies (of 1 total)

The topic ‘conditional formatting’ is closed to new replies.

## Tags

 * [conditional formatting](https://wordpress.org/support/topic-tag/conditional-formatting/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/conditional-formatting/#post-1957247)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
